Index: applications/accounting/webapp/ap/invoices/CommissionRun.ftl
===================================================================
--- applications/accounting/webapp/ap/invoices/CommissionRun.ftl	(revision 1590602)
+++ applications/accounting/webapp/ap/invoices/CommissionRun.ftl	(working copy)
@@ -107,18 +107,18 @@
       <#assign alt_row = false>
       <#list invoices as invoice>
         <#assign invoicePaymentInfoList = dispatcher.runSync("getInvoicePaymentInfoList", Static["org.ofbiz.base.util.UtilMisc"].toMap("invoiceId", invoice.invoiceId, "userLogin", userLogin))/>
-        <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)?if_exists>
-        <#assign statusItem = delegator.findOne("StatusItem", {"statusId" : invoice.statusId}, false)?if_exists/>
+        <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)!>
+        <#assign statusItem = delegator.findOne("StatusItem", {"statusId" : invoice.statusId}, false)!/>
         <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
           <td><input type="checkbox" id="invoiceId_${invoice_index}" name="invoiceIds" value="${invoice.invoiceId}" onclick="javascript:enableSubmitButton();"/></td>
           <td><a class="buttontext" href="<@ofbizUrl>invoiceOverview?invoiceId=${invoice.invoiceId}</@ofbizUrl>">${invoice.get("invoiceId")}</a></td>
-          <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)?if_exists}</a></td>
-          <td><a href="/partymgr/control/viewprofile?partyId=${invoice.invoiceRolePartyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.invoiceRolePartyId, false)?if_exists}</a></td>
-          <td>${statusItem.get("description")?if_exists}</td>
-          <td>${invoice.get("referenceNumber")?if_exists}</td>
-          <td>${invoice.get("description")?if_exists}</td>
-          <td>${invoice.get("invoiceDate")?if_exists}</td>
-          <td>${invoice.get("dueDate")?if_exists}</td>
+          <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)!}</a></td>
+          <td><a href="/partymgr/control/viewprofile?partyId=${invoice.invoiceRolePartyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.invoiceRolePartyId, false)!}</a></td>
+          <td>${statusItem.get("description")!}</td>
+          <td>${invoice.get("referenceNumber")!}</td>
+          <td>${invoice.get("description")!}</td>
+          <td>${invoice.get("invoiceDate")!}</td>
+          <td>${invoice.get("dueDate")!}</td>
           <td><@ofbizCurrency amount=invoicePaymentInfo.amount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
           <td><@ofbizCurrency amount=invoicePaymentInfo.paidAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
           <td><@ofbizCurrency amount=invoicePaymentInfo.outstandingAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
Index: applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl
===================================================================
--- applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl	(revision 1590602)
+++ applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl	(working copy)
@@ -146,12 +146,12 @@
     </div>
     <input type="hidden" name="invoiceStatusChange" id="invoiceStatusChange" value="<@ofbizUrl>massChangeInvoiceStatus</@ofbizUrl>"/>
     <input type="hidden" name="organizationPartyId" value="${organizationPartyId}"/>
-    <input type="hidden" name="partyIdFrom" value="${parameters.partyIdFrom?if_exists}"/>
-    <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId?if_exists}"/>
-    <input type="hidden" name="fromInvoiceDate" value="${parameters.fromInvoiceDate?if_exists}"/>
-    <input type="hidden" name="thruInvoiceDate" value="${parameters.thruInvoiceDate?if_exists}"/>
-    <input type="hidden" name="fromDueDate" value="${parameters.fromDueDate?if_exists}"/>
-    <input type="hidden" name="thruDueDate" value="${parameters.thruDueDate?if_exists}"/>
+    <input type="hidden" name="partyIdFrom" value="${parameters.partyIdFrom!}"/>
+    <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId!}"/>
+    <input type="hidden" name="fromInvoiceDate" value="${parameters.fromInvoiceDate!}"/>
+    <input type="hidden" name="thruInvoiceDate" value="${parameters.thruInvoiceDate!}"/>
+    <input type="hidden" name="fromDueDate" value="${parameters.fromDueDate!}"/>
+    <input type="hidden" name="thruDueDate" value="${parameters.thruDueDate!}"/>
     <div id="issueChecks" style="display: none;" align="right">
       <span class="label">${uiLabelMap.AccountingVendorPaymentMethod}</span>
       <select name="paymentMethodId">
@@ -192,7 +192,7 @@
       <#assign alt_row = false>
       <#list invoices as invoice>
         <#assign invoicePaymentInfoList = dispatcher.runSync("getInvoicePaymentInfoList", Static["org.ofbiz.base.util.UtilMisc"].toMap("invoiceId", invoice.invoiceId, "userLogin", userLogin))/>
-        <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)?if_exists>
+        <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)!>
           <#assign statusItem = invoice.getRelatedOne("StatusItem", true)>
           <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
             <td><a class="buttontext" href="<@ofbizUrl>invoiceOverview?invoiceId=${invoice.invoiceId}</@ofbizUrl>">${invoice.get("invoiceId")}</a></td>
@@ -200,10 +200,10 @@
             <td><#if invoice.get("invoiceDate")?has_content>${invoice.get("invoiceDate")?date}</td></#if>
             <td><#if invoice.get("dueDate")?has_content>${invoice.get("dueDate")?date}</td></#if>
             <td>${statusItem.description?default(invoice.statusId)}</td>
-            <td>${invoice.get("referenceNumber")?if_exists}</td>
-            <td>${(invoice.description)?if_exists}</td>
-            <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)?if_exists} [${(invoice.partyIdFrom)?if_exists}] </a></td>
-            <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyId, false)?if_exists} [${(invoice.partyId)?if_exists}]</a></td>
+            <td>${invoice.get("referenceNumber")!}</td>
+            <td>${(invoice.description)!}</td>
+            <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)!} [${(invoice.partyIdFrom)!}] </a></td>
+            <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyId, false)!} [${(invoice.partyId)!}]</a></td>
             <td><@ofbizCurrency amount=invoicePaymentInfo.amount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
             <td><@ofbizCurrency amount=invoicePaymentInfo.paidAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
             <td><@ofbizCurrency amount=invoicePaymentInfo.outstandingAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
Index: applications/accounting/webapp/ar/invoice/ListInvoices.ftl
===================================================================
--- applications/accounting/webapp/ar/invoice/ListInvoices.ftl	(revision 1590602)
+++ applications/accounting/webapp/ar/invoice/ListInvoices.ftl	(working copy)
@@ -115,7 +115,7 @@
   <#assign invoiceList  =  invoices.getCompleteList() />
   <#assign eliClose = invoices.close() />
 </#if>
-<#if invoiceList?has_content && (parameters.noConditionFind)?if_exists == 'Y'>
+<#if invoiceList?has_content && (parameters.noConditionFind)! == 'Y'>
   <div>
     <span class="label">${uiLabelMap.AccountingRunningTotalOutstanding} :</span>
     <span class="label" id="showInvoiceRunningTotal"></span>
@@ -134,12 +134,12 @@
       </select>
       <input id="submitButton" type="button"  onclick="javascript:jQuery('#listInvoices').submit();" value="${uiLabelMap.CommonRun}" disabled="disabled" />
       <input type="hidden" name="organizationPartyId" value="${defaultOrganizationPartyId}"/>
-      <input type="hidden" name="partyIdFrom" value="${parameters.partyIdFrom?if_exists}"/>
-      <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId?if_exists}"/>
-      <input type="hidden" name="fromInvoiceDate" value="${parameters.fromInvoiceDate?if_exists}"/>
-      <input type="hidden" name="thruInvoiceDate" value="${parameters.thruInvoiceDate?if_exists}"/>
-      <input type="hidden" name="fromDueDate" value="${parameters.fromDueDate?if_exists}"/>
-      <input type="hidden" name="thruDueDate" value="${parameters.thruDueDate?if_exists}"/>
+      <input type="hidden" name="partyIdFrom" value="${parameters.partyIdFrom!}"/>
+      <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId!}"/>
+      <input type="hidden" name="fromInvoiceDate" value="${parameters.fromInvoiceDate!}"/>
+      <input type="hidden" name="thruInvoiceDate" value="${parameters.thruInvoiceDate!}"/>
+      <input type="hidden" name="fromDueDate" value="${parameters.fromDueDate!}"/>
+      <input type="hidden" name="thruDueDate" value="${parameters.thruDueDate!}"/>
       <input type="hidden" name="invoiceStatusChange" id="invoiceStatusChange" value="<@ofbizUrl>massChangeInvoiceStatus</@ofbizUrl>"/>
     </div>
 
@@ -163,21 +163,21 @@
         <#assign alt_row = false>
         <#list invoiceList as invoice>
           <#assign invoicePaymentInfoList = dispatcher.runSync("getInvoicePaymentInfoList", Static["org.ofbiz.base.util.UtilMisc"].toMap("invoiceId", invoice.invoiceId, "userLogin", userLogin))/>
-          <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)?if_exists>
+          <#assign invoicePaymentInfo = invoicePaymentInfoList.get("invoicePaymentInfoList").get(0)!>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td><a class="buttontext" href="<@ofbizUrl>invoiceOverview?invoiceId=${invoice.invoiceId}</@ofbizUrl>">${invoice.get("invoiceId")}</a></td>
               <td>
                 <#assign invoiceType = delegator.findOne("InvoiceType", {"invoiceTypeId" : invoice.invoiceTypeId}, true) />
                 ${invoiceType.description?default(invoice.invoiceTypeId)}
               </td>
-              <td>${(invoice.invoiceDate)?if_exists}</td>
+              <td>${(invoice.invoiceDate)!}</td>
               <td>
                 <#assign statusItem = delegator.findOne("StatusItem", {"statusId" : invoice.statusId}, true) />
                 ${statusItem.description?default(invoice.statusId)}
               </td>
-              <td>${(invoice.description)?if_exists}</td>
-              <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)?if_exists} [${(invoice.partyIdFrom)?if_exists}] </a></td>
-              <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyId, false)?if_exists} [${(invoice.partyId)?if_exists}]</a></td>
+              <td>${(invoice.description)!}</td>
+              <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)!} [${(invoice.partyIdFrom)!}] </a></td>
+              <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyId}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyId, false)!} [${(invoice.partyId)!}]</a></td>
               <td><@ofbizCurrency amount=invoicePaymentInfo.amount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
               <td><@ofbizCurrency amount=invoicePaymentInfo.paidAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
               <td><@ofbizCurrency amount=invoicePaymentInfo.outstandingAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
Index: applications/accounting/webapp/ar/payment/batchPayments.ftl
===================================================================
--- applications/accounting/webapp/ar/payment/batchPayments.ftl	(revision 1590602)
+++ applications/accounting/webapp/ar/payment/batchPayments.ftl	(working copy)
@@ -139,19 +139,19 @@
                         <option value="massPaymentsToVoid">${uiLabelMap.AccountingPaymentTabStatusToVoid}</option>
                     </select>
                     <input id="submitButton" type="button" onclick="javascript:jQuery('#paymentBatchForm').submit();" value="${uiLabelMap.CommonRun}" disabled="disabled" />
-                    <input type="hidden" name='organizationPartyId' value="${organizationPartyId?if_exists}" />
+                    <input type="hidden" name='organizationPartyId' value="${organizationPartyId!}" />
                     <input type="hidden" name='paymentGroupTypeId' value="BATCH_PAYMENT" />
                     <input type="hidden" name="groupInOneTransaction" value="Y" />
                     <input type="hidden" name="paymentStatusChange" id="paymentStatusChange" value="<@ofbizUrl>massChangePaymentStatus</@ofbizUrl>" />
-                    <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId?if_exists}" />
+                    <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId!}" />
                     <#if finAccountId?has_content>
-                        <input type="hidden" name='finAccountId' value="${finAccountId?if_exists}" />
+                        <input type="hidden" name='finAccountId' value="${finAccountId!}" />
                     </#if>
-                    <input type="hidden" name='paymentMethodTypeId' value="${paymentMethodTypeId?if_exists}" />
-                    <input type="hidden" name='cardType' value="${cardType?if_exists}" />
-                    <input type="hidden" name='partyIdFrom' value="${partyIdFrom?if_exists}" />
-                    <input type="hidden" name='fromDate' value="${fromDate?if_exists}" />
-                    <input type="hidden" name='thruDate' value="${thruDate?if_exists}" />
+                    <input type="hidden" name='paymentMethodTypeId' value="${paymentMethodTypeId!}" />
+                    <input type="hidden" name='cardType' value="${cardType!}" />
+                    <input type="hidden" name='partyIdFrom' value="${partyIdFrom!}" />
+                    <input type="hidden" name='fromDate' value="${fromDate!}" />
+                    <input type="hidden" name='thruDate' value="${thruDate!}" />
                 </div>
                 </div>
                 <div id="createPaymentBatch" style="display: none;" class="align-float">
@@ -198,23 +198,23 @@
                         <td>
                           ${payment.statusDesc?default(payment.statusId)}
                         </td>
-                        <td>${(payment.comments)?if_exists}</td>
+                        <td>${(payment.comments)!}</td>
                         <td>
-                          <a href="/partymgr/control/viewprofile?partyId=${payment.partyIdFrom}">${(payment.partyFromFirstName)?if_exists} ${(payment.partyFromLastName)?if_exists} ${(payment.partyFromGroupName)?if_exists}[${(payment.partyIdFrom)?if_exists}]</a>
+                          <a href="/partymgr/control/viewprofile?partyId=${payment.partyIdFrom}">${(payment.partyFromFirstName)!} ${(payment.partyFromLastName)!} ${(payment.partyFromGroupName)!}[${(payment.partyIdFrom)!}]</a>
                         </td>
                         <td>
-                          <a href="/partymgr/control/viewprofile?partyId=${payment.partyIdTo}">${(payment.partyToFirstName)?if_exists} ${(payment.partyToLastName)?if_exists} ${(payment.partyToGroupName)?if_exists}[${(payment.partyIdTo)?if_exists}]</a>
+                          <a href="/partymgr/control/viewprofile?partyId=${payment.partyIdTo}">${(payment.partyToFirstName)!} ${(payment.partyToLastName)!} ${(payment.partyToGroupName)!}[${(payment.partyIdTo)!}]</a>
                         </td>
-                        <td>${payment.effectiveDate?if_exists}</td>
+                        <td>${payment.effectiveDate!}</td>
                         <td><@ofbizCurrency amount = payment.amount isoCode = payment.currencyUomId /></td>
                         <td>
                           <#assign amountToApply = Static["org.ofbiz.accounting.payment.PaymentWorker"].getPaymentNotApplied(payment) />
                           <@ofbizCurrency amount = amountToApply isoCode = amountToApply.currencyUomId />
                         </td>
                         <td>
-                          <#assign creditCard = (delegator.findOne("CreditCard", {"paymentMethodId" : payment.paymentMethodId}, false))?if_exists />
+                          <#assign creditCard = (delegator.findOne("CreditCard", {"paymentMethodId" : payment.paymentMethodId}, false))! />
                           ${payment.paymentMethodTypeDesc?default(payment.paymentMethodTypeId)}
-                          <#if creditCard?has_content>/${(creditCard.cardType)?if_exists}</#if>
+                          <#if creditCard?has_content>/${(creditCard.cardType)!}</#if>
                         </td>
                         <td>
                           <input type="checkbox" id="paymentId_${payment_index}" name="paymentIds" value="${payment.paymentId}" onclick="javascript:getPaymentRunningTotal('paymentId_${payment_index}');" />
Index: applications/accounting/webapp/accounting/agreement/CopyAgreement.ftl
===================================================================
--- applications/accounting/webapp/accounting/agreement/CopyAgreement.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/agreement/CopyAgreement.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if agreement?exists>
+<#if agreement??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
Index: applications/accounting/webapp/accounting/common/creditcardfields.ftl
===================================================================
--- applications/accounting/webapp/accounting/common/creditcardfields.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/common/creditcardfields.ftl	(working copy)
@@ -29,7 +29,7 @@
     <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingCompanyNameCard}</b></td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-      <input type="text" size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard?if_exists}"/>
+      <input type="text" size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard!}"/>
     </td>
   </tr>
   <tr>
@@ -49,21 +49,21 @@
     <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingFirstNameCard}</b></td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-      <input type="text" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)?if_exists}"/>
+      <input type="text" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)!}"/>
     <#if showToolTip?has_content><span class="tooltip">${uiLabelMap.CommonRequired}</span><#else>*</#if></td>
   </tr>
   <tr>
     <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingMiddleNameCard}</b></td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-      <input type="text" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)?if_exists}"/>
+      <input type="text" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)!}"/>
     </td>
   </tr>
   <tr>
     <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingLastNameCard}</b></td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-      <input type="text" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)?if_exists}"/>
+      <input type="text" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)!}"/>
     <#if showToolTip?has_content><span class="tooltip">${uiLabelMap.CommonRequired}</span><#else>*</#if></td>
   </tr>
   <tr>
@@ -88,7 +88,7 @@
     <td width="5">&nbsp;</td>
     <td width="74%">
       <select name="cardType">
-        <#if creditCard.cardType?exists>
+        <#if creditCard.cardType??>
           <option>${creditCard.cardType}</option>
           <option value="${creditCard.cardType}">---</option>
         </#if>
@@ -104,7 +104,7 @@
             <#if cardNumberMinDisplay?has_content>
                 <#-- create a display version of the card where all but the last four digits are * -->
                 <#assign cardNumberDisplay = "">
-                <#assign cardNumber = creditCard.cardNumber?if_exists>
+                <#assign cardNumber = creditCard.cardNumber!>
                 <#if cardNumber?has_content>
                     <#assign size = cardNumber?length - 4>
                     <#if (size > 0)>
@@ -117,12 +117,12 @@
                         <#assign cardNumberDisplay = cardNumber>
                     </#if>
                 </#if>
-                <input type="text" class="required" size="20" maxlength="30" name="cardNumber" onfocus="javascript:this.value = '';" value="${cardNumberDisplay?if_exists}" />
+                <input type="text" class="required" size="20" maxlength="30" name="cardNumber" onfocus="javascript:this.value = '';" value="${cardNumberDisplay!}" />
             <#else>
-                <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber?if_exists}"/>
+                <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber!}"/>
             </#if>
         <#else>
-            <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber?if_exists}"/>
+            <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber!}"/>
         </#if>
     <#if showToolTip?has_content><span class="tooltip">${uiLabelMap.CommonRequired}</span><#else>*</#if></td>
   </tr>
@@ -130,7 +130,7 @@
     <td width="26%" align="right" valign="middle">${uiLabelMap.AccountingCardSecurityCode}</td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-        <input type="text" size="5" maxlength="10" name="cardSecurityCode" value="${creditCard.cardSecurityCode?if_exists}" />
+        <input type="text" size="5" maxlength="10" name="cardSecurityCode" value="${creditCard.cardSecurityCode!}" />
     </td>
   </tr>-->
   <tr>
@@ -139,9 +139,9 @@
     <td width="74%">
       <#assign expMonth = "">
       <#assign expYear = "">
-      <#if creditCard?exists && creditCard.expireDate?exists>
+      <#if creditCard?? && creditCard.expireDate??>
         <#assign expDate = creditCard.expireDate>
-        <#if (expDate?exists && expDate.indexOf("/") > 0)>
+        <#if (expDate?? && expDate.indexOf("/") > 0)>
           <#assign expMonth = expDate.substring(0,expDate.indexOf("/"))>
           <#assign expYear = expDate.substring(expDate.indexOf("/")+1)>
         </#if>
@@ -150,10 +150,10 @@
         <#if creditCard?has_content && expMonth?has_content>
           <#assign ccExprMonth = expMonth>
         <#else>
-          <#assign ccExprMonth = requestParameters.expMonth?if_exists>
+          <#assign ccExprMonth = requestParameters.expMonth!>
         </#if>
         <#if ccExprMonth?has_content>
-          <option value="${ccExprMonth?if_exists}">${ccExprMonth?if_exists}</option>
+          <option value="${ccExprMonth!}">${ccExprMonth!}</option>
         </#if>
         ${screens.render("component://common/widget/CommonScreens.xml#ccmonths")}
       </select>
@@ -161,10 +161,10 @@
         <#if creditCard?has_content && expYear?has_content>
           <#assign ccExprYear = expYear>
         <#else>
-          <#assign ccExprYear = requestParameters.expYear?if_exists>
+          <#assign ccExprYear = requestParameters.expYear!>
         </#if>
         <#if ccExprYear?has_content>
-          <option value="${ccExprYear?if_exists}">${ccExprYear?if_exists}</option>
+          <option value="${ccExprYear!}">${ccExprYear!}</option>
         </#if>
         ${screens.render("component://common/widget/CommonScreens.xml#ccyears")}
       </select>
@@ -174,7 +174,7 @@
     <td width="26%" align="right" valign="middle"><b>${uiLabelMap.CommonDescription}</b></td>
     <td width="5">&nbsp;</td>
     <td width="74%">
-      <input type="text" size="20" maxlength="30" name="description" value="${paymentMethod.description?if_exists}"/>
+      <input type="text" size="20" maxlength="30" name="description" value="${paymentMethod.description!}"/>
     </td>
   </tr>
 
Index: applications/accounting/webapp/accounting/invoice/invoiceReportHeaderInfo.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/invoice/invoiceReportHeaderInfo.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/invoice/invoiceReportHeaderInfo.fo.ftl	(working copy)
@@ -29,7 +29,7 @@
 
 <fo:table-row>
   <fo:table-cell><fo:block>${uiLabelMap.AccountingInvoiceDateAbbr}:</fo:block></fo:table-cell>
-  <fo:table-cell><fo:block>${invoiceDate?if_exists}</fo:block></fo:table-cell>
+  <fo:table-cell><fo:block>${invoiceDate!}</fo:block></fo:table-cell>
 </fo:table-row>
 
 <fo:table-row>
Index: applications/accounting/webapp/accounting/invoice/InvoiceItemsPayrol.ftl
===================================================================
--- applications/accounting/webapp/accounting/invoice/InvoiceItemsPayrol.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/invoice/InvoiceItemsPayrol.ftl	(working copy)
@@ -41,7 +41,7 @@
 </tr>
     <#if PayrolList?has_content>
         <#list PayrolList as payrolList>
-            <#if payrolList.parentTypeId?if_exists == payrolGroup.invoiceItemTypeId?if_exists>
+            <#if payrolList.parentTypeId! == payrolGroup.invoiceItemTypeId!>
 <tr>
     <td align="right">
             ${payrolList.description} :
Index: applications/accounting/webapp/accounting/invoice/invoiceReportContactMechs.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/invoice/invoiceReportContactMechs.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/invoice/invoiceReportContactMechs.fo.ftl	(working copy)
@@ -26,14 +26,14 @@
        <#if billingAddress?has_content>
         <#assign billingPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", billingParty.partyId, "compareDate", invoice.invoiceDate, "userLogin", userLogin))/>
         <fo:block>${billingPartyNameResult.fullName?default(billingAddress.toName)?default("Billing Name Not Found")}</fo:block>
-        <#if billingAddress.attnName?exists>
+        <#if billingAddress.attnName??>
             <fo:block>${billingAddress.attnName}</fo:block>
         </#if>
-            <fo:block>${billingAddress.address1?if_exists}</fo:block>
-        <#if billingAddress.address2?exists>
+            <fo:block>${billingAddress.address1!}</fo:block>
+        <#if billingAddress.address2??>
             <fo:block>${billingAddress.address2}</fo:block>
         </#if>
-        <fo:block>${billingAddress.city?if_exists} ${billingAddress.stateProvinceGeoId?if_exists} ${billingAddress.postalCode?if_exists}</fo:block>
+        <fo:block>${billingAddress.city!} ${billingAddress.stateProvinceGeoId!} ${billingAddress.postalCode!}</fo:block>
     <#else>
         <fo:block>${uiLabelMap.AccountingNoGenBilAddressFound}${billingParty.partyId}</fo:block>
     </#if>
Index: applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl	(working copy)
@@ -54,7 +54,7 @@
           <#assign termType = term.getRelatedOne("TermType", false)/>
           <fo:table-row>
             <fo:table-cell>
-              <fo:block font-size ="10pt" font-weight="bold">${termType.description?if_exists} ${term.description?if_exists} ${term.termDays?if_exists} ${term.textValue?if_exists}</fo:block>
+              <fo:block font-size ="10pt" font-weight="bold">${termType.description!} ${term.description!} ${term.termDays!} ${term.textValue!}</fo:block>
             </fo:table-cell>
           </fo:table-row>
           </#list>
@@ -98,12 +98,12 @@
             <#assign itemType = invoiceItem.getRelatedOne("InvoiceItemType", false)>
             <#assign isItemAdjustment = Static["org.ofbiz.entity.util.EntityTypeUtil"].hasParentType(delegator, "InvoiceItemType", "invoiceItemTypeId", itemType.getString("invoiceItemTypeId"), "parentTypeId", "INVOICE_ADJ")/>
 
-            <#assign taxRate = invoiceItem.getRelatedOne("TaxAuthorityRateProduct", false)?if_exists>
-            <#assign itemBillings = invoiceItem.getRelated("OrderItemBilling", null, null, false)?if_exists>
+            <#assign taxRate = invoiceItem.getRelatedOne("TaxAuthorityRateProduct", false)!>
+            <#assign itemBillings = invoiceItem.getRelated("OrderItemBilling", null, null, false)!>
             <#if itemBillings?has_content>
                 <#assign itemBilling = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(itemBillings)>
                 <#if itemBilling?has_content>
-                    <#assign itemIssuance = itemBilling.getRelatedOne("ItemIssuance", false)?if_exists>
+                    <#assign itemIssuance = itemBilling.getRelatedOne("ItemIssuance", false)!>
                     <#if itemIssuance?has_content>
                         <#assign newShipmentId = itemIssuance.shipmentId>
                         <#assign issuedDateTime = itemIssuance.issuedDateTime/>
@@ -118,7 +118,7 @@
                 <#assign description=itemType.get("description",locale)>
             </#if>
 
-            <#if newShipmentId?exists & newShipmentId != currentShipmentId>
+            <#if newShipmentId?? & newShipmentId != currentShipmentId>
                 <#-- the shipment id is printed at the beginning for each
                      group of invoice items created for the same shipment
                 -->
@@ -129,7 +129,7 @@
                 </fo:table-row>
                 <fo:table-row height="14px">
                    <fo:table-cell number-columns-spanned="5">
-                        <fo:block font-weight="bold"> ${uiLabelMap.ProductShipmentId}: ${newShipmentId}<#if issuedDateTime?exists> ${uiLabelMap.CommonDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(issuedDateTime)}</#if></fo:block>
+                        <fo:block font-weight="bold"> ${uiLabelMap.ProductShipmentId}: ${newShipmentId}<#if issuedDateTime??> ${uiLabelMap.CommonDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(issuedDateTime)}</#if></fo:block>
                    </fo:table-cell>
                 </fo:table-row>
                 <#assign currentShipmentId = newShipmentId>
@@ -137,23 +137,23 @@
             <#if !isItemAdjustment>
                 <fo:table-row height="14px" space-start=".15in">
                     <fo:table-cell>
-                        <fo:block text-align="left">${invoiceItem.productId?if_exists} </fo:block>
+                        <fo:block text-align="left">${invoiceItem.productId!} </fo:block>
                     </fo:table-cell>
                     <fo:table-cell border-top-style="solid" border-top-width="thin" border-top-color="black">
-                        <fo:block text-align="left">${description?if_exists}</fo:block>
+                        <fo:block text-align="left">${description!}</fo:block>
                     </fo:table-cell>
                       <fo:table-cell>
-                        <fo:block text-align="right"> <#if invoiceItem.quantity?exists>${invoiceItem.quantity?string.number}</#if> </fo:block>
+                        <fo:block text-align="right"> <#if invoiceItem.quantity??>${invoiceItem.quantity?string.number}</#if> </fo:block>
                     </fo:table-cell>
                     <fo:table-cell text-align="right">
-                        <fo:block> <#if invoiceItem.quantity?exists><@ofbizCurrency amount=invoiceItem.amount?if_exists isoCode=invoice.currencyUomId?if_exists/></#if> </fo:block>
+                        <fo:block> <#if invoiceItem.quantity??><@ofbizCurrency amount=invoiceItem.amount! isoCode=invoice.currencyUomId!/></#if> </fo:block>
                     </fo:table-cell>
                     <fo:table-cell text-align="right">
-                        <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId?if_exists/> </fo:block>
+                        <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId!/> </fo:block>
                     </fo:table-cell>
                 </fo:table-row>
             <#else>
-                <#if !(invoiceItem.parentInvoiceId?exists && invoiceItem.parentInvoiceItemSeqId?exists)>
+                <#if !(invoiceItem.parentInvoiceId?? && invoiceItem.parentInvoiceItemSeqId??)>
                     <fo:table-row>
                         <fo:table-cell><fo:block/></fo:table-cell>
                         <fo:table-cell border-top-style="solid" border-top-width="thin" border-top-color="black"><fo:block/></fo:table-cell>
@@ -162,10 +162,10 @@
                 </#if>
                 <fo:table-row height="14px" space-start=".15in">
                     <fo:table-cell number-columns-spanned="2">
-                        <fo:block text-align="right">${description?if_exists}</fo:block>
+                        <fo:block text-align="right">${description!}</fo:block>
                     </fo:table-cell>
                     <fo:table-cell text-align="right" number-columns-spanned="3">
-                        <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId?if_exists/> </fo:block>
+                        <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId!/> </fo:block>
                     </fo:table-cell>
                 </fo:table-row>
             </#if>
@@ -185,7 +185,7 @@
               <fo:block font-weight="bold">${uiLabelMap.AccountingTotalCapital}</fo:block>
            </fo:table-cell>
            <fo:table-cell text-align="right" border-top-style="solid" border-top-width="thin" border-top-color="black">
-              <fo:block><@ofbizCurrency amount=invoiceTotal isoCode=invoice.currencyUomId?if_exists/></fo:block>
+              <fo:block><@ofbizCurrency amount=invoiceTotal isoCode=invoice.currencyUomId!/></fo:block>
            </fo:table-cell>
         </fo:table-row>
         <fo:table-row height="7px">
@@ -202,7 +202,7 @@
            </fo:table-cell>
            <fo:table-cell text-align="right" border-top-style="solid" border-top-width="thin" border-top-color="black">
               <fo:block>
-                 <@ofbizCurrency amount=invoiceNoTaxTotal isoCode=invoice.currencyUomId?if_exists/>
+                 <@ofbizCurrency amount=invoiceNoTaxTotal isoCode=invoice.currencyUomId!/>
               </fo:block>
            </fo:table-cell>
         </fo:table-row>
@@ -241,7 +241,7 @@
             <fo:block>${taxRate.description}</fo:block>
         </fo:table-cell>
         <fo:table-cell number-columns-spanned="1" text-align="right">
-            <fo:block font-weight="bold"><@ofbizCurrency amount=vatTaxesByType[vatTaxId] isoCode=invoice.currencyUomId?if_exists/></fo:block>
+            <fo:block font-weight="bold"><@ofbizCurrency amount=vatTaxesByType[vatTaxId] isoCode=invoice.currencyUomId!/></fo:block>
         </fo:table-cell>
     </fo:table-row>
     </#list>
Index: applications/accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl	(working copy)
@@ -55,18 +55,18 @@
                           <fo:table-body>
                             <fo:table-row>
                               <fo:table-cell>
-                                <fo:block number-columns-spanned="2" font-weight="bold">${invoice.getRelatedOne("InvoiceType", false).get("description",locale)?if_exists}</fo:block>
+                                <fo:block number-columns-spanned="2" font-weight="bold">${invoice.getRelatedOne("InvoiceType", false).get("description",locale)!}</fo:block>
                               </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                               <fo:table-cell><fo:block>${uiLabelMap.AccountingInvoiceDateAbbr}:</fo:block></fo:table-cell>
-                              <fo:table-cell><fo:block>${invoiceDetail.invoiceDate?if_exists}</fo:block></fo:table-cell>
+                              <fo:table-cell><fo:block>${invoiceDetail.invoiceDate!}</fo:block></fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                               <fo:table-cell><fo:block>${uiLabelMap.AccountingCustNr}:</fo:block></fo:table-cell>
                               <fo:table-cell>
                                 <fo:block>
-                                  <#if partyName?has_content>${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}</#if>
+                                  <#if partyName?has_content>${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}</#if>
                                 </fo:block>
                               </fo:table-cell>
                             </fo:table-row>
@@ -107,19 +107,19 @@
                           <#assign billingAddress = invoiceDetail.billingAddress />
                           <#assign billingPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", billingParty.partyId, "compareDate", invoice.invoiceDate, "userLogin", userLogin))/>
                           <fo:block>${billingPartyNameResult.fullName?default(billingAddress.toName)?default("Billing Name Not Found")}</fo:block>
-                          <#if billingAddress.attnName?exists>
+                          <#if billingAddress.attnName??>
                             <fo:block>${billingAddress.attnName}</fo:block>
                           </#if>
-                          <fo:block>${billingAddress.address1?if_exists}</fo:block>
-                          <#if billingAddress.address2?exists>
+                          <fo:block>${billingAddress.address1!}</fo:block>
+                          <#if billingAddress.address2??>
                             <fo:block>${billingAddress.address2}</fo:block>
                           </#if>
                           <fo:block>
-                            <#assign stateGeo = (delegator.findOne("Geo", {"geoId", billingAddress.stateProvinceGeoId?if_exists}, false))?if_exists />
-                            ${billingAddress.city?if_exists} <#if stateGeo?has_content>${stateGeo.geoName?if_exists}</#if> ${billingAddress.postalCode?if_exists}
+                            <#assign stateGeo = (delegator.findOne("Geo", {"geoId", billingAddress.stateProvinceGeoId!}, false))! />
+                            ${billingAddress.city!} <#if stateGeo?has_content>${stateGeo.geoName!}</#if> ${billingAddress.postalCode!}
                           </fo:block>
                         <#else>
-                          <fo:block>${uiLabelMap.AccountingNoGenBilAddressFound} <#if partyName?has_content>${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}</#if></fo:block>
+                          <fo:block>${uiLabelMap.AccountingNoGenBilAddressFound} <#if partyName?has_content>${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}</#if></fo:block>
                         </#if>
                       </fo:table-cell>
                     </fo:table-row>
@@ -130,7 +130,7 @@
             
             <fo:block>
               <#if invoiceDetail.orders?has_content>
-                <#assign orders = invoiceDetail.orders?if_exists />
+                <#assign orders = invoiceDetail.orders! />
                 <fo:table width="100%" table-layout="fixed" space-after="0.3in">
                   <fo:table-column column-width="1in"/>
                   <fo:table-column column-width="5.5in"/>
@@ -148,7 +148,7 @@
               </#if>
               
               <#if invoiceDetail.invoiceItems?has_content>
-                <#assign invoiceItems = invoiceDetail.invoiceItems?if_exists />
+                <#assign invoiceItems = invoiceDetail.invoiceItems! />
                 <fo:table width="100%" table-layout="fixed">
                   <fo:table-column column-width="20mm"/>
                   <fo:table-column column-width="20mm"/>
@@ -185,12 +185,12 @@
                     <#-- if the item has a description, then use its description.  Otherwise, use the description of the invoiceItemType -->
                     <#list invoiceItems as invoiceItem>
                       <#assign itemType = invoiceItem.getRelatedOne("InvoiceItemType", false)>
-                      <#assign taxRate = invoiceItem.getRelatedOne("TaxAuthorityRateProduct", false)?if_exists>
-                      <#assign itemBillings = invoiceItem.getRelated("OrderItemBilling", null, null, false)?if_exists>
+                      <#assign taxRate = invoiceItem.getRelatedOne("TaxAuthorityRateProduct", false)!>
+                      <#assign itemBillings = invoiceItem.getRelated("OrderItemBilling", null, null, false)!>
                       <#if itemBillings?has_content>
                         <#assign itemBilling = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(itemBillings)>
                         <#if itemBilling?has_content>
-                          <#assign itemIssuance = itemBilling.getRelatedOne("ItemIssuance", false)?if_exists>
+                          <#assign itemIssuance = itemBilling.getRelatedOne("ItemIssuance", false)!>
                           <#if itemIssuance?has_content>
                             <#assign newShipmentId = itemIssuance.shipmentId>
                           </#if>
@@ -204,7 +204,7 @@
                         <#assign description=itemType.get("description",locale)>
                       </#if>
   
-                      <#if newShipmentId?exists & newShipmentId != currentShipmentId>
+                      <#if newShipmentId?? & newShipmentId != currentShipmentId>
                         <#-- the shipment id is printed at the beginning for each
                            group of invoice items created for the same shipment
                         -->
@@ -230,19 +230,19 @@
                           <fo:block> ${invoiceItem.invoiceItemSeqId} </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
-                          <fo:block text-align="left">${invoiceItem.productId?if_exists} </fo:block>
+                          <fo:block text-align="left">${invoiceItem.productId!} </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
-                          <fo:block text-align="right">${description?if_exists}</fo:block>
+                          <fo:block text-align="right">${description!}</fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
-                          <fo:block text-align="center"> <#if invoiceItem.quantity?exists>${invoiceItem.quantity?string.number}</#if> </fo:block>
+                          <fo:block text-align="center"> <#if invoiceItem.quantity??>${invoiceItem.quantity?string.number}</#if> </fo:block>
                         </fo:table-cell>
                         <fo:table-cell text-align="right">
-                          <fo:block> <#if invoiceItem.quantity?exists><@ofbizCurrency amount=invoiceItem.amount?if_exists isoCode=invoice.currencyUomId?if_exists/></#if> </fo:block>
+                          <fo:block> <#if invoiceItem.quantity??><@ofbizCurrency amount=invoiceItem.amount! isoCode=invoice.currencyUomId!/></#if> </fo:block>
                         </fo:table-cell>
                         <fo:table-cell text-align="right">
-                          <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId?if_exists/> </fo:block>
+                          <fo:block> <@ofbizCurrency amount=(Static["org.ofbiz.accounting.invoice.InvoiceWorker"].getInvoiceItemTotal(invoiceItem)) isoCode=invoice.currencyUomId!/> </fo:block>
                         </fo:table-cell>
                       </fo:table-row>
                     </#list>
@@ -258,8 +258,8 @@
                       <fo:table-cell text-align="right" number-columns-spanned="2">
                         <fo:block font-weight="bold">
                           <#if invoiceDetail.invoiceTotal?has_content>
-                            <#assign invoiceTotal = invoiceDetail.invoiceTotal?if_exists />
-                            <@ofbizCurrency amount=invoiceTotal isoCode=invoice.currencyUomId?if_exists/>
+                            <#assign invoiceTotal = invoiceDetail.invoiceTotal! />
+                            <@ofbizCurrency amount=invoiceTotal isoCode=invoice.currencyUomId!/>
                           </#if>
                         </fo:block>
                       </fo:table-cell>
@@ -279,8 +279,8 @@
                       <fo:table-cell number-columns-spanned="1" text-align="right">
                         <fo:block>
                           <#if invoiceDetail.invoiceNoTaxTotal?has_content>
-                            <#assign invoiceNoTaxTotal = invoiceDetail.invoiceNoTaxTotal?if_exists />
-                            <@ofbizCurrency amount=invoiceNoTaxTotal isoCode=invoice.currencyUomId?if_exists/>
+                            <#assign invoiceNoTaxTotal = invoiceDetail.invoiceNoTaxTotal! />
+                            <@ofbizCurrency amount=invoiceNoTaxTotal isoCode=invoice.currencyUomId!/>
                           </#if>
                         </fo:block>
                       </fo:table-cell>
Index: applications/accounting/webapp/accounting/payment/manualCCTx.ftl
===================================================================
--- applications/accounting/webapp/accounting/payment/manualCCTx.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/payment/manualCCTx.ftl	(working copy)
@@ -75,7 +75,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.PartyFirstName}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="60" name="firstName" value="${(person.firstName)?if_exists}" />
+          <input type="text" size="30" maxlength="60" name="firstName" value="${(person.firstName)!}" />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -83,7 +83,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.PartyLastName}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="60" name="lastName" value="${(person.lastName)?if_exists}" />
+          <input type="text" size="30" maxlength="60" name="lastName" value="${(person.lastName)!}" />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -104,7 +104,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.PartyFirstName}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="30" name="firstName" value="${(person.firstName)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="30" maxlength="30" name="firstName" value="${(person.firstName)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -112,7 +112,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.PartyLastName}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="30" name="lastName" value="${(person.lastName)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="30" maxlength="30" name="lastName" value="${(person.lastName)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -121,7 +121,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingBillToAddress1}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="30" name="address1" value="${(postalFields.address1)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="30" maxlength="30" name="address1" value="${(postalFields.address1)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -129,14 +129,14 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.AccountingBillToAddress2}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="30" name="address2" value="${(postalFields.address2)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="30" maxlength="30" name="address2" value="${(postalFields.address2)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
         </td>
       </tr>
       <tr>
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.CommonCity}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="30" maxlength="30" name="city" value="${(postalFields.city)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="30" maxlength="30" name="city" value="${(postalFields.city)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -144,8 +144,8 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.CommonStateProvince}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <select name="stateProvinceGeoId" <#if requestParameters.useShipAddr?exists>disabled</#if>>
-            <#if (postalFields.stateProvinceGeoId)?exists>
+          <select name="stateProvinceGeoId" <#if requestParameters.useShipAddr??>disabled</#if>>
+            <#if (postalFields.stateProvinceGeoId)??>
               <option>${postalFields.stateProvinceGeoId}</option>
               <option value="${postalFields.stateProvinceGeoId}">---</option>
             <#else>
@@ -159,7 +159,7 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.CommonZipPostalCode}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <input type="text" size="12" maxlength="10" name="postalCode" value="${(postalFields.postalCode)?if_exists}" <#if requestParameters.useShipAddr?exists>disabled</#if> />
+          <input type="text" size="12" maxlength="10" name="postalCode" value="${(postalFields.postalCode)!}" <#if requestParameters.useShipAddr??>disabled</#if> />
           <span class="tooltip">${uiLabelMap.CommonRequired}</span>
         </td>
       </tr>
@@ -167,8 +167,8 @@
         <td width="26%" align="right" valign="middle"><b>${uiLabelMap.CommonCountry}</b></td>
         <td width="5">&nbsp;</td>
         <td width="74%">
-          <select name="countryGeoId" <#if requestParameters.useShipAddr?exists>disabled</#if>>
-            <#if (postalFields.countryGeoId)?exists>
+          <select name="countryGeoId" <#if requestParameters.useShipAddr??>disabled</#if>>
+            <#if (postalFields.countryGeoId)??>
               <option>${postalFields.countryGeoId}</option>
               <option value="${postalFields.countryGeoId}">---</option>
             </#if>
Index: applications/accounting/webapp/accounting/payment/PrintChecks.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/payment/PrintChecks.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/payment/PrintChecks.fo.ftl	(working copy)
@@ -149,18 +149,18 @@
           <fo:table-body>
 
             <#list paymentApplications as paymentApplication>
-            <#assign invoice = paymentApplication.getRelatedOne("Invoice", false)?if_exists>
+            <#assign invoice = paymentApplication.getRelatedOne("Invoice", false)!>
             <fo:table-row>
               <fo:table-cell padding="3pt">
                 <fo:block>${payment.effectiveDate?date?string.short}</fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt">
-                <fo:block><#if invoice?exists>${uiLabelMap.AccountingInvoice} : ${invoice.invoiceId}</#if></fo:block>
+                <fo:block><#if invoice??>${uiLabelMap.AccountingInvoice} : ${invoice.invoiceId}</#if></fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt">
                 <fo:block>
-                  <#if invoice?exists>${invoice.referenceNumber?if_exists}</#if>
-                  ${paymentApplication.taxAuthGeoId?if_exists}
+                  <#if invoice??>${invoice.referenceNumber!}</#if>
+                  ${paymentApplication.taxAuthGeoId!}
                 </fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
@@ -170,9 +170,9 @@
                 <fo:block text-align="end">${paymentApplication.getBigDecimal("amountApplied").setScale(decimals, rounding).toString()}</fo:block>
               </fo:table-cell>
             </fo:table-row>
-            <#if invoice.invoiceTypeId?if_exists == "PAYROL_INVOICE">
-              <#assign InvoiceItems = invoice.getRelated("InvoiceItem", null, null, false)?if_exists>
-              <#assign PayrolGroups = PayrolGroup?if_exists>
+            <#if invoice.invoiceTypeId! == "PAYROL_INVOICE">
+              <#assign InvoiceItems = invoice.getRelated("InvoiceItem", null, null, false)!>
+              <#assign PayrolGroups = PayrolGroup!>
               <#list PayrolGroups as payrolGroup>
                   <#assign fontSize = "75%">
                   <#assign lineStyle = "dashed">
@@ -181,13 +181,13 @@
                   <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign quantity = 0>
                       <#assign amount = 0>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0 ><#assign quantity = 1></#if>
                           <#assign subTotal = quantity * amount>
                           <#assign sumQuantity = sumQuantity + quantity>
@@ -199,7 +199,7 @@
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
               <fo:table-cell padding="3pt" number-columns-spanned="3" border-bottom-style="${lineStyle}">
-              <fo:block font-weight="bold">${payrolGroup.description?if_exists}</fo:block>
+              <fo:block font-weight="bold">${payrolGroup.description!}</fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt" border-bottom-style="${lineStyle}" >
               <fo:block font-weight="bold" text-align="center">Quantity</fo:block>
@@ -217,11 +217,11 @@
                 <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0 ><#assign quantity = 1></#if>
                       <#assign subTotal = quantity * amount>
                       <#assign sumQuantity = sumQuantity + quantity>
@@ -229,10 +229,10 @@
                       <#assign sumSubTotal = sumSubTotal + subTotal>
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
-              <fo:table-cell padding="3pt" number-columns-spanned="3"><fo:block>${invoiceItemType.description?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${quantity?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${amount?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${subTotal?if_exists}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" number-columns-spanned="3"><fo:block>${invoiceItemType.description!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${quantity!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${amount!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${subTotal!}</fo:block></fo:table-cell>
               </fo:table-row>
                       </#if>
                   </#list>
@@ -241,11 +241,11 @@
                 <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0><#assign quantity = 1></#if>
                           <#assign subTotal = quantity * amount>
                           <#assign sumQuantity = sumQuantity + quantity>
@@ -257,9 +257,9 @@
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
               <fo:table-cell padding="3pt" number-columns-spanned="3" border-top-style="${lineStyle}"><fo:block/></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumQuantity?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumAmount?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="solid" border-bottom-style="${lineStyle}"><fo:block text-align="right">${sumSubTotal?if_exists}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumQuantity!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumAmount!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="solid" border-bottom-style="${lineStyle}"><fo:block text-align="right">${sumSubTotal!}</fo:block></fo:table-cell>
               </fo:table-row>
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
@@ -345,18 +345,18 @@
           <fo:table-body>
 
             <#list paymentApplications as paymentApplication>
-            <#assign invoice = paymentApplication.getRelatedOne("Invoice", false)?if_exists>
+            <#assign invoice = paymentApplication.getRelatedOne("Invoice", false)!>
             <fo:table-row>
               <fo:table-cell padding="3pt">
                 <fo:block>${payment.effectiveDate?date?string.short}</fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt">
-                <fo:block><#if invoice?exists>${uiLabelMap.AccountingInvoice} : ${invoice.invoiceId}</#if></fo:block>
+                <fo:block><#if invoice??>${uiLabelMap.AccountingInvoice} : ${invoice.invoiceId}</#if></fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt">
                 <fo:block>
-                  <#if invoice?exists>${invoice.referenceNumber?if_exists}</#if>
-                  ${paymentApplication.taxAuthGeoId?if_exists}
+                  <#if invoice??>${invoice.referenceNumber!}</#if>
+                  ${paymentApplication.taxAuthGeoId!}
                 </fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
@@ -366,9 +366,9 @@
                 <fo:block text-align="end">${paymentApplication.getBigDecimal("amountApplied").setScale(decimals, rounding).toString()}</fo:block>
               </fo:table-cell>
             </fo:table-row>
-            <#if invoice.invoiceTypeId?if_exists == "PAYROL_INVOICE">
-              <#assign InvoiceItems = invoice.getRelated("InvoiceItem", null, null, false)?if_exists>
-              <#assign PayrolGroups = PayrolGroup?if_exists>
+            <#if invoice.invoiceTypeId! == "PAYROL_INVOICE">
+              <#assign InvoiceItems = invoice.getRelated("InvoiceItem", null, null, false)!>
+              <#assign PayrolGroups = PayrolGroup!>
               <#list PayrolGroups as payrolGroup>
                   <#assign fontSize = "75%">
                   <#assign lineStyle = "dashed">
@@ -377,13 +377,13 @@
                   <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign quantity = 0>
                       <#assign amount = 0>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0 ><#assign quantity = 1></#if>
                           <#assign subTotal = quantity * amount>
                           <#assign sumQuantity = sumQuantity + quantity>
@@ -395,7 +395,7 @@
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
               <fo:table-cell padding="3pt" number-columns-spanned="3" border-bottom-style="${lineStyle}">
-              <fo:block font-weight="bold">${payrolGroup.description?if_exists}</fo:block>
+              <fo:block font-weight="bold">${payrolGroup.description!}</fo:block>
               </fo:table-cell>
               <fo:table-cell padding="3pt" border-bottom-style="${lineStyle}" >
               <fo:block font-weight="bold" text-align="center">Quantity</fo:block>
@@ -413,11 +413,11 @@
                 <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0 ><#assign quantity = 1></#if>
                       <#assign subTotal = quantity * amount>
                       <#assign sumQuantity = sumQuantity + quantity>
@@ -425,10 +425,10 @@
                       <#assign sumSubTotal = sumSubTotal + subTotal>
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
-              <fo:table-cell padding="3pt" number-columns-spanned="3"><fo:block>${invoiceItemType.description?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${quantity?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${amount?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt"><fo:block text-align="center">${subTotal?if_exists}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" number-columns-spanned="3"><fo:block>${invoiceItemType.description!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${quantity!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${amount!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt"><fo:block text-align="center">${subTotal!}</fo:block></fo:table-cell>
               </fo:table-row>
                       </#if>
                   </#list>
@@ -437,11 +437,11 @@
                 <#assign sumAmount = 0>
                   <#assign sumSubTotal = 0>
                   <#list InvoiceItems as invoiceItem>
-                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)?if_exists>
+                      <#assign invoiceItemType = invoiceItem.getRelatedOne("InvoiceItemType", false)!>
                       <#assign subTotal = 0>
                       <#if invoiceItemType.parentTypeId == payrolGroup.invoiceItemTypeId>
-                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity?if_exists><#else><#assign quantity = 0></#if>
-                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount?if_exists><#else><#assign amount = 0></#if>
+                      <#if invoiceItem.quantity?has_content><#assign quantity = invoiceItem.quantity!><#else><#assign quantity = 0></#if>
+                      <#if invoiceItem.amount?has_content><#assign amount = invoiceItem.amount!><#else><#assign amount = 0></#if>
                       <#if amount != 0 && quantity == 0><#assign quantity = 1></#if>
                           <#assign subTotal = quantity * amount>
                           <#assign sumQuantity = sumQuantity + quantity>
@@ -453,9 +453,9 @@
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
               <fo:table-cell padding="3pt" number-columns-spanned="3" border-top-style="${lineStyle}"><fo:block/></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumQuantity?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumAmount?if_exists}</fo:block></fo:table-cell>
-              <fo:table-cell padding="3pt" border-top-style="solid" border-bottom-style="${lineStyle}"><fo:block text-align="right">${sumSubTotal?if_exists}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumQuantity!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="${lineStyle}"><fo:block text-align="center">${sumAmount!}</fo:block></fo:table-cell>
+              <fo:table-cell padding="3pt" border-top-style="solid" border-bottom-style="${lineStyle}"><fo:block text-align="right">${sumSubTotal!}</fo:block></fo:table-cell>
               </fo:table-row>
               <fo:table-row font-size="${fontSize}">
               <fo:table-cell padding="3pt"><fo:block/></fo:table-cell>
Index: applications/accounting/webapp/accounting/payment/depositWithdrawPayments.ftl
===================================================================
--- applications/accounting/webapp/accounting/payment/depositWithdrawPayments.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/payment/depositWithdrawPayments.ftl	(working copy)
@@ -73,13 +73,13 @@
     <div class="screenlet-body">
         <form id="depositWithdrawPaymentsForm" name="depositWithdrawPaymentsForm" method="post" action="<@ofbizUrl>depositWithdrawPayments</@ofbizUrl>">
             <#if paymentList?has_content>
-                <input type="hidden" name='organizationPartyId' value="${organizationPartyId?if_exists}" />
-                <input type="hidden" name='finAccountId' value="${finAccountId?if_exists}" />
-                <input type="hidden" name='paymentMethodTypeId' value="${paymentMethodTypeId?if_exists}" />
-                <input type="hidden" name='cardType' value="${cardType?if_exists}" />
-                <input type="hidden" name='partyIdFrom' value="${partyIdFrom?if_exists}" />
-                <input type="hidden" name='fromDate' value="${fromDate?if_exists}" />
-                <input type="hidden" name='thruDate' value="${thruDate?if_exists}" />
+                <input type="hidden" name='organizationPartyId' value="${organizationPartyId!}" />
+                <input type="hidden" name='finAccountId' value="${finAccountId!}" />
+                <input type="hidden" name='paymentMethodTypeId' value="${paymentMethodTypeId!}" />
+                <input type="hidden" name='cardType' value="${cardType!}" />
+                <input type="hidden" name='partyIdFrom' value="${partyIdFrom!}" />
+                <input type="hidden" name='fromDate' value="${fromDate!}" />
+                <input type="hidden" name='thruDate' value="${thruDate!}" />
                 <input type="hidden" name='paymentGroupTypeId' value="BATCH_PAYMENT" />
                 <div>
                     <span class="label">${uiLabelMap.AccountingRunningTotal} :</span>
@@ -99,11 +99,11 @@
                     <#list paymentList as payment>
                         <tr <#if alt_row> class="alternate-row"</#if>>
                             <td><a href="<@ofbizUrl>paymentOverview?paymentId=${payment.paymentId}</@ofbizUrl>">${payment.paymentId}</a></td>
-                            <td>${payment.paymentTypeDesc?if_exists}</td>
+                            <td>${payment.paymentTypeDesc!}</td>
                             <td>${(payment.partyFromFirstName)!} ${(payment.partyFromLastName)!} ${(payment.partyFromGroupName)!}</td>
                             <td>${(payment.partyToFirstName)!} ${(payment.partyToLastName)!} ${(payment.partyToGroupName)!}</td>
                             <td><@ofbizCurrency amount=payment.amount isoCode=payment.currencyUomId/></td>
-                            <td>${payment.effectiveDate?if_exists}</td>
+                            <td>${payment.effectiveDate!}</td>
                             <td align="right">${uiLabelMap.AccountingDeposit}<input type="checkbox" id="paymentId_${payment_index}" name="paymentIds" value="${payment.paymentId}" onclick="javascript:getPaymentRunningTotal();"/></td>
                         </tr>
                         <#assign alt_row = !alt_row>
Index: applications/accounting/webapp/accounting/payment/manualTx.ftl
===================================================================
--- applications/accounting/webapp/accounting/payment/manualTx.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/payment/manualTx.ftl	(working copy)
@@ -23,7 +23,7 @@
 <#if security.hasEntityPermission("MANUAL", "_PAYMENT", session) || security.hasEntityPermission("ACCOUNTING", "_CREATE", session)>
   ${setRequestAttribute("validTx", "false")}
   <form name="manualTxForm" method="post" action="<@ofbizUrl>manualETx</@ofbizUrl>">
-    <#if requestParameters.paymentMethodId?exists>
+    <#if requestParameters.paymentMethodId??>
       <input type="hidden" name="paymentMethodId" value="${requestParameters.paymentMethodId}" />
     </#if>
 
@@ -47,12 +47,12 @@
         <td width="5">&nbsp;</td>
         <td width='74%'>
           <#if currentStore?has_content>
-            <div><#if currentStore.storeName?exists>${currentStore.storeName}<#else>${currentStore.productStoreId}</#if></div>
+            <div><#if currentStore.storeName??>${currentStore.storeName}<#else>${currentStore.productStoreId}</#if></div>
             <input type="hidden" name="productStoreId" value="${currentStore.productStoreId}" />
           <#else>
             <select name="productStoreId">
               <#list productStores as productStore>
-                <option value="${productStore.productStoreId}"><#if productStore.storeName?exists>${productStore.storeName}<#else>${productStore.productStoreId}</#if></option>
+                <option value="${productStore.productStoreId}"><#if productStore.storeName??>${productStore.storeName}<#else>${productStore.productStoreId}</#if></option>
               </#list>
             </select>
           </#if>
Index: applications/accounting/webapp/accounting/reports/CostCentersReport.ftl
===================================================================
--- applications/accounting/webapp/accounting/reports/CostCentersReport.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/reports/CostCentersReport.ftl	(working copy)
@@ -31,12 +31,12 @@
     <#assign alt_row = false>
     <#list glAcctBalancesByCostCenter as glAcctBalanceByCostCenter>
         <tr <#if alt_row> class="alternate-row"</#if>>
-          <td>${glAcctBalanceByCostCenter.glAccountId?if_exists}</td>
-          <td>${glAcctBalanceByCostCenter.accountCode?if_exists}</td>
-          <td>${glAcctBalanceByCostCenter.accountName?if_exists}</td>
-          <td>${glAcctBalanceByCostCenter.balance?if_exists}</td>
+          <td>${glAcctBalanceByCostCenter.glAccountId!}</td>
+          <td>${glAcctBalanceByCostCenter.accountCode!}</td>
+          <td>${glAcctBalanceByCostCenter.accountName!}</td>
+          <td>${glAcctBalanceByCostCenter.balance!}</td>
           <#list glAccountCategories as glAccountCategory>
-            <td>${(glAcctBalanceByCostCenter[glAccountCategory.glAccountCategoryId?if_exists]?if_exists)}</td>
+            <td>${(glAcctBalanceByCostCenter[glAccountCategory.glAccountCategoryId!]!)}</td>
           </#list>
           <#assign alt_row = !alt_row>
         </tr>
Index: applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResult.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResult.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResult.fo.ftl	(working copy)
@@ -173,7 +173,7 @@
                                             <fo:block text-align="center" font-size="5pt">${(acctgTransEntry.debitCreditFlag)!}</fo:block>        
                                         </fo:table-cell>
                                         <fo:table-cell border="1pt solid" border-width=".1mm">
-                                            <fo:block text-align="center" font-size="5pt"><#if acctgTransEntry.amount?exists><@ofbizCurrency amount=(acctgTransEntry.amount)! isoCode=(acctgTransEntry.currencyUomId)!/></#if></fo:block>        
+                                            <fo:block text-align="center" font-size="5pt"><#if acctgTransEntry.amount??><@ofbizCurrency amount=(acctgTransEntry.amount)! isoCode=(acctgTransEntry.currencyUomId)!/></#if></fo:block>        
                                         </fo:table-cell>
                                         <fo:table-cell border="1pt solid" border-width=".1mm">
                                             <fo:block text-align="center" font-size="5pt">
Index: applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl	(working copy)
@@ -30,11 +30,11 @@
                     <fo:block text-align="center">${uiLabelMap.FormFieldTitle_accountName}</fo:block>
                 </fo:table-cell>
                 <fo:table-cell border="1pt solid" border-width=".1mm">
-                    <fo:block text-align="center">${uiLabelMap.FormFieldTitle_postedBalance} - (${currencyUomId?if_exists})</fo:block>
+                    <fo:block text-align="center">${uiLabelMap.FormFieldTitle_postedBalance} - (${currencyUomId!})</fo:block>
                 </fo:table-cell>
                 <#list glAccountCategories as glAccountCategory>
                     <fo:table-cell border="1pt solid" border-width=".1mm">
-                        <fo:block text-align="center">${glAccountCategory.description?if_exists} - (${currencyUomId?if_exists})</fo:block>
+                        <fo:block text-align="center">${glAccountCategory.description!} - (${currencyUomId!})</fo:block>
                     </fo:table-cell>
                 </#list>
             </fo:table-header>
@@ -43,20 +43,20 @@
                     <#if glAcctgOrgAndCostCenter?has_content>
                         <fo:table-row>
                             <fo:table-cell border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="center">${glAcctBalanceByCostCenter.glAccountId?if_exists}</fo:block>
+                                <fo:block text-align="center">${glAcctBalanceByCostCenter.glAccountId!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="center">${glAcctBalanceByCostCenter.accountCode?if_exists}</fo:block>
+                                <fo:block text-align="center">${glAcctBalanceByCostCenter.accountCode!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="center">${glAcctBalanceByCostCenter.accountName?if_exists}</fo:block>
+                                <fo:block text-align="center">${glAcctBalanceByCostCenter.accountName!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="center">${glAcctBalanceByCostCenter.balance?if_exists!}</fo:block>
+                                <fo:block text-align="center">${glAcctBalanceByCostCenter.balance!!}</fo:block>
                             </fo:table-cell>
                             <#list glAccountCategories as glAccountCategory>
                                 <fo:table-cell border="1pt solid" border-width=".1mm">
-                                    <fo:block text-align="center">${(glAcctBalanceByCostCenter[glAccountCategory.glAccountCategoryId?if_exists]?if_exists)}</fo:block>
+                                    <fo:block text-align="center">${(glAcctBalanceByCostCenter[glAccountCategory.glAccountCategoryId!]!)}</fo:block>
                                 </fo:table-cell>
                             </#list>
                         </fo:table-row>
Index: applications/accounting/webapp/accounting/reports/SalesInvoiceByProductCategorySummary.ftl
===================================================================
--- applications/accounting/webapp/accounting/reports/SalesInvoiceByProductCategorySummary.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/reports/SalesInvoiceByProductCategorySummary.ftl	(working copy)
@@ -19,7 +19,7 @@
 
 <#macro resultSummary resultMap>
     <#if resultMap?has_content>
-        ${resultMap.quantityTotal?default(0)}:${resultMap.amountTotal?default(0)}:<#if (resultMap.quantityTotal?exists && resultMap.quantityTotal > 0)>${resultMap.amountTotal/resultMap.quantityTotal}<#else/>0</#if>
+        ${resultMap.quantityTotal?default(0)}:${resultMap.amountTotal?default(0)}:<#if (resultMap.quantityTotal?? && resultMap.quantityTotal > 0)>${resultMap.amountTotal/resultMap.quantityTotal}<#else/>0</#if>
     <#else/>
         0:0:0
     </#if>
@@ -27,9 +27,9 @@
 
 <ul>
     <li>Month: ${month}/${year}</li>
-    <li>Root Category: ${(Static["org.ofbiz.product.category.CategoryContentWrapper"].getProductCategoryContentAsText(rootProductCategory, "CATEGORY_NAME", locale, dispatcher))?if_exists} [${rootProductCategoryId}]</li>
-    <li>Organization: ${(organizationPartyName.groupName)?if_exists} [${organizationPartyId?default("No Organization Specified")}]</li>
-    <li>Currency: ${(currencyUom.description)?if_exists} [${currencyUomId?default("No Currency Specified")}]</li>
+    <li>Root Category: ${(Static["org.ofbiz.product.category.CategoryContentWrapper"].getProductCategoryContentAsText(rootProductCategory, "CATEGORY_NAME", locale, dispatcher))!} [${rootProductCategoryId}]</li>
+    <li>Organization: ${(organizationPartyName.groupName)!} [${organizationPartyId?default("No Organization Specified")}]</li>
+    <li>Currency: ${(currencyUom.description)!} [${currencyUomId?default("No Currency Specified")}]</li>
 </ul>
 <div>NOTE: each set of numbers is: &lt;quantity&gt;:&lt;total amount&gt;:&lt;average amount&gt;</div>
 <table class="basic-table" cellspacing="0">
@@ -38,10 +38,10 @@
         <td>Day</td>
         <td>[No Product]</td>
     <#list productList as product>
-        <td>${product.internalName?default((Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "PRODUCT_NAME", locale, dispatcher))?if_exists)}<br />P:[${product.productId}]</td>
+        <td>${product.internalName?default((Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "PRODUCT_NAME", locale, dispatcher))!)}<br />P:[${product.productId}]</td>
     </#list>
     <#list productCategoryList as productCategory>
-        <td>${(Static["org.ofbiz.product.category.CategoryContentWrapper"].getProductCategoryContentAsText(productCategory, "CATEGORY_NAME", locale, dispatcher))?if_exists}<br />C:[${productCategory.productCategoryId}]</td>
+        <td>${(Static["org.ofbiz.product.category.CategoryContentWrapper"].getProductCategoryContentAsText(productCategory, "CATEGORY_NAME", locale, dispatcher))!}<br />C:[${productCategory.productCategoryId}]</td>
     </#list>
     </tr>
     <#-- Days of the month -->
@@ -54,11 +54,11 @@
             <td class="label">${(productNullResult_index + 1)}</td>
             <td><@resultSummary resultMap=productNullResult/></td>
         <#list productList as product>
-            <#assign productResult = productResultMap[product.productId]?if_exists/>
+            <#assign productResult = productResultMap[product.productId]!/>
             <td><@resultSummary resultMap=productResult/></td>
         </#list>
         <#list productCategoryList as productCategory>
-            <#assign categoryResult = categoryResultMap[productCategory.productCategoryId]?if_exists/>
+            <#assign categoryResult = categoryResultMap[productCategory.productCategoryId]!/>
             <td><@resultSummary resultMap=categoryResult/></td>
         </#list>
         </tr>
@@ -69,11 +69,11 @@
         <td class="label">Month Total</td>
         <td><@resultSummary resultMap=monthProductNullResult/></td>
     <#list productList as product>
-        <#assign productResult = monthProductResultMap[product.productId]?if_exists/>
+        <#assign productResult = monthProductResultMap[product.productId]!/>
         <td><@resultSummary resultMap=productResult/></td>
     </#list>
     <#list productCategoryList as productCategory>
-        <#assign categoryResult = monthCategoryResultMap[productCategory.productCategoryId]?if_exists/>
+        <#assign categoryResult = monthCategoryResultMap[productCategory.productCategoryId]!/>
         <td><@resultSummary resultMap=categoryResult/></td>
     </#list>
     </tr>
Index: applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl
===================================================================
--- applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl	(working copy)
@@ -21,14 +21,14 @@
     <fo:block font-size="14pt" font-weight="bold" text-align="center">${uiLabelMap.AccountingDepositSlip}</fo:block>
     <fo:block font-size="12pt" text-align="left"  font-weight="bold">
          <#if paymentGroup?has_content>
-            ${uiLabelMap.AccountingPaymentGroupId} : ${parameters.paymentGroupId?if_exists}
+            ${uiLabelMap.AccountingPaymentGroupId} : ${parameters.paymentGroupId!}
         <#else>
-            ${uiLabelMap.FormFieldTitle_finAccountTransId} : ${parameters.finAccountTransId?if_exists}
+            ${uiLabelMap.FormFieldTitle_finAccountTransId} : ${parameters.finAccountTransId!}
         </#if>
     </fo:block>
     <fo:block font-size="12pt" text-align="left">
         <#if paymentGroup?has_content>
-            ${uiLabelMap.AccountingPaymentGroupName} : ${paymentGroup.paymentGroupName?if_exists}
+            ${uiLabelMap.AccountingPaymentGroupName} : ${paymentGroup.paymentGroupName!}
         </#if>
     </fo:block>
     <fo:block><fo:leader/></fo:block>
@@ -70,21 +70,21 @@
                         </#if>
                         <#if payment.paymentMethodTypeId?has_content>
                             <#assign paymentMethodType = delegator.findOne("PaymentMethodType", {"paymentMethodTypeId" : payment.paymentMethodTypeId}, false)/>
-                            <#if payment.paymentMethodTypeId?if_exists == "CREDIT_CARD">
+                            <#if payment.paymentMethodTypeId! == "CREDIT_CARD">
                                 <#assign creditCard = delegator.findOne("CreditCard", {"paymentMethodId" : payment.paymentMethodId}, false)/>
                             </#if>
                         </#if>
                         <fo:table-row>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
-                                <fo:block>${payment.paymentId?if_exists}</fo:block>
+                                <fo:block>${payment.paymentId!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
                                 <fo:block text-align="center">
-                                    ${payment.paymentRefNum?if_exists}
+                                    ${payment.paymentRefNum!}
                                 </fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="right">${paymentMethodType.description?if_exists} <#if creditCard?has_content && creditCard??>(${creditCard.cardType?if_exists})</#if></fo:block>
+                                <fo:block text-align="right">${paymentMethodType.description!} <#if creditCard?has_content && creditCard??>(${creditCard.cardType!})</#if></fo:block>
                                 <#assign creditCard = null/>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
@@ -100,9 +100,9 @@
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
                                 <fo:block text-align="right">
-                                    <@ofbizCurrency amount=payment.amount?if_exists isoCode=payment.currencyUomId?if_exists/>
-                                    <#assign totalAmount = totalAmount + payment.amount?if_exists/>
-                                    <#assign currencyUomId = payment.currencyUomId?if_exists/>
+                                    <@ofbizCurrency amount=payment.amount! isoCode=payment.currencyUomId!/>
+                                    <#assign totalAmount = totalAmount + payment.amount!/>
+                                    <#assign currencyUomId = payment.currencyUomId!/>
                                 </fo:block>
                             </fo:table-cell>
                         </fo:table-row>
@@ -116,7 +116,7 @@
                         </fo:table-cell>
                         <fo:table-cell padding="4pt" background-color="#D4D0C8">
                             <fo:block text-align="right">
-                                <@ofbizCurrency amount=totalAmount?if_exists isoCode=currencyUomId?if_exists/>
+                                <@ofbizCurrency amount=totalAmount! isoCode=currencyUomId!/>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
Index: applications/accounting/webapp/accounting/finaccounttrans/GlReconciledFinAccountTrans.ftl
===================================================================
--- applications/accounting/webapp/accounting/finaccounttrans/GlReconciledFinAccountTrans.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/finaccounttrans/GlReconciledFinAccountTrans.ftl	(working copy)
@@ -38,30 +38,30 @@
         <table>
           <tr>
             <td><span class="label">${uiLabelMap.FormFieldTitle_glReconciliationName}</span></td>
-            <td>${currentGlReconciliation.glReconciliationName?if_exists}</td>
+            <td>${currentGlReconciliation.glReconciliationName!}</td>
           </tr>
-          <#if currentGlReconciliation.statusId?exists>
+          <#if currentGlReconciliation.statusId??>
             <tr>
               <td><span class="label">${uiLabelMap.CommonStatus}</span></td>
               <#assign currentStatus = currentGlReconciliation.getRelatedOne("StatusItem", true)>
-              <td>${currentStatus.description?if_exists}</td>
+              <td>${currentStatus.description!}</td>
             </tr>
           </#if>
           <tr>
             <td><span class="label">${uiLabelMap.FormFieldTitle_reconciledDate}</span></td>
-            <td>${currentGlReconciliation.reconciledDate?if_exists}</td>
+            <td>${currentGlReconciliation.reconciledDate!}</td>
           </tr>
           <tr>
             <td><span class="label">${uiLabelMap.AccountingOpeningBalance}</span></td>
             <td><@ofbizCurrency amount=currentGlReconciliation.openingBalance?default('0')/></td>
           </tr>
-          <#if currentGlReconciliation.reconciledBalance?exists>
+          <#if currentGlReconciliation.reconciledBalance??>
             <tr>
               <td><span class="label">${uiLabelMap.FormFieldTitle_reconciledBalance}</span></td>
               <td><@ofbizCurrency amount=currentGlReconciliation.reconciledBalance?default('0')/></td>
             </tr>
           </#if>
-          <#if currentClosingBalance?exists>
+          <#if currentClosingBalance??>
             <tr>
               <td><span class="label">${uiLabelMap.FormFieldTitle_closingBalance}</span></td>
               <td><@ofbizCurrency amount=currentClosingBalance/></td>
@@ -83,30 +83,30 @@
         <table>
           <tr>
             <td><span class="label">${uiLabelMap.FormFieldTitle_glReconciliationName}</span></td>
-            <td>${previousGlReconciliation.glReconciliationName?if_exists}</td>
+            <td>${previousGlReconciliation.glReconciliationName!}</td>
           </tr>
-          <#if previousGlReconciliation.statusId?exists>
+          <#if previousGlReconciliation.statusId??>
             <tr>
               <td><span class="label">${uiLabelMap.CommonStatus}</span></td>
               <#assign previousStatus = previousGlReconciliation.getRelatedOne("StatusItem", true)>
-              <td>${previousStatus.description?if_exists}</td>
+              <td>${previousStatus.description!}</td>
             </tr>
           </#if>
           <tr>
             <td><span class="label">${uiLabelMap.FormFieldTitle_reconciledDate}</span></td>
-            <td>${previousGlReconciliation.reconciledDate?if_exists}</td>
+            <td>${previousGlReconciliation.reconciledDate!}</td>
           </tr>
           <tr>
             <td><span class="label">${uiLabelMap.AccountingOpeningBalance}</span></td>
             <td><@ofbizCurrency amount=previousGlReconciliation.openingBalance?default('0')/></td>
           </tr>
-          <#if previousGlReconciliation.reconciledBalance?exists>
+          <#if previousGlReconciliation.reconciledBalance??>
             <tr>
               <td><span class="label">${uiLabelMap.FormFieldTitle_reconciledBalance}</span></td>
               <td><@ofbizCurrency amount=previousGlReconciliation.reconciledBalance?default('0')/></td>
             </tr>
           </#if>
-          <#if previousClosingBalance?exists>
+          <#if previousClosingBalance??>
             <tr>
               <td><span class="label">${uiLabelMap.FormFieldTitle_closingBalance}</span></td>
               <td><@ofbizCurrency amount=previousClosingBalance/></td>
@@ -172,21 +172,21 @@
                   <input name="finAccountTransId_o_${finAccountTrans_index}" type="hidden" value="${finAccountTrans.finAccountTransId}"/>
                   <input name="organizationPartyId_o_${finAccountTrans_index}" type="hidden" value="${defaultOrganizationPartyId}"/>
                   <input id="finAccountTransId_${finAccountTrans_index}" name="_rowSubmit_o_${finAccountTrans_index}" type="hidden" value="Y"/>
-                  ${finAccountTrans.finAccountTransId?if_exists}</td>
-              <td>${finAccountTransType.description?if_exists}</td>
+                  ${finAccountTrans.finAccountTransId!}</td>
+              <td>${finAccountTransType.description!}</td>
               <td><#if partyName?has_content>${(partyName.firstName)!} ${(partyName.lastName)!} ${(partyName.groupName)!}<a href="/partymgr/control/viewprofile?partyId=${partyName.partyId}">[${(partyName.partyId)!}]</a></#if></td>
-              <td>${finAccountTrans.transactionDate?if_exists}</td>
-              <td>${finAccountTrans.entryDateId?if_exists}</td>
+              <td>${finAccountTrans.transactionDate!}</td>
+              <td>${finAccountTrans.entryDateId!}</td>
               <td><@ofbizCurrency amount=finAccountTrans.amount isoCode=defaultOrganizationPartyCurrencyUomId/></td>
               <td>
                 <#if finAccountTrans.paymentId?has_content>
                   <a href="<@ofbizUrl>paymentOverview?paymentId=${finAccountTrans.paymentId}</@ofbizUrl>">${finAccountTrans.paymentId}</a>
                 </#if>
               </td>
-              <td><#if paymentType?has_content>${paymentType.description?if_exists}</#if></td>
-              <td><#if paymentMethodType?has_content>${paymentMethodType.description?if_exists}</#if></td>
-              <td><#if status?has_content>${status.description?if_exists}</#if></td>
-              <td>${finAccountTrans.comments?if_exists}</td>
+              <td><#if paymentType?has_content>${paymentType.description!}</#if></td>
+              <td><#if paymentMethodType?has_content>${paymentMethodType.description!}</#if></td>
+              <td><#if status?has_content>${status.description!}</#if></td>
+              <td>${finAccountTrans.comments!}</td>
               <#if finAccountTrans.statusId == "FINACT_TRNS_CREATED">
                 <td align="center"><a href="javascript:document.reomveFinAccountTransAssociation_${finAccountTrans.finAccountTransId}.submit();" class="buttontext">${uiLabelMap.CommonRemove}</a></td>
               <#else>
Index: applications/accounting/webapp/accounting/finaccounttrans/ShowGlTransactions.ftl
===================================================================
--- applications/accounting/webapp/accounting/finaccounttrans/ShowGlTransactions.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/finaccounttrans/ShowGlTransactions.ftl	(working copy)
@@ -48,66 +48,66 @@
      </tr>
      <#list acctgTransAndEntries as acctgTransEntry>
      <tr>
-       <td>${acctgTransEntry.acctgTransId?if_exists}</td>
-       <td>${acctgTransEntry.acctgTransEntrySeqId?if_exists}</td>
-       <td>${acctgTransEntry.isPosted?if_exists}</td>
+       <td>${acctgTransEntry.acctgTransId!}</td>
+       <td>${acctgTransEntry.acctgTransEntrySeqId!}</td>
+       <td>${acctgTransEntry.isPosted!}</td>
        <td>
          <#if acctgTransEntry.glFiscalTypeId?has_content>
            <#assign glFiscalType = delegator.findOne("GlFiscalType", {"glFiscalTypeId" : acctgTransEntry.glFiscalTypeId}, false)/>
-             ${glFiscalType.description?if_exists}
+             ${glFiscalType.description!}
          </#if>
        </td>
        <td>
          <#if acctgTransEntry.acctgTransTypeId?has_content>
            <#assign acctgTransType = delegator.findOne("AcctgTransType", {"acctgTransTypeId" : acctgTransEntry.acctgTransTypeId}, false)/>
-             ${acctgTransType.description?if_exists}
+             ${acctgTransType.description!}
          </#if>
        </td>
-       <td>${acctgTransEntry.transactionDate?if_exists}</td>
-       <td>${acctgTransEntry.postedDate?if_exists}</td>
-       <td>${acctgTransEntry.glJournal?if_exists}</td>
-       <td>${acctgTransEntry.transTypeDescription?if_exists}</td>
-       <td>${acctgTransEntry.invoiceId?if_exists}</td>
-       <td>${acctgTransEntry.glAccountId?if_exists}</td>
-       <td>${acctgTransEntry.productId?if_exists}</td>
-       <td>${acctgTransEntry.debitCreditFlag?if_exists}</td>
-       <td>${acctgTransEntry.amount?if_exists}</td>
-       <td>${acctgTransEntry.origAmount?if_exists}</td>
+       <td>${acctgTransEntry.transactionDate!}</td>
+       <td>${acctgTransEntry.postedDate!}</td>
+       <td>${acctgTransEntry.glJournal!}</td>
+       <td>${acctgTransEntry.transTypeDescription!}</td>
+       <td>${acctgTransEntry.invoiceId!}</td>
+       <td>${acctgTransEntry.glAccountId!}</td>
+       <td>${acctgTransEntry.productId!}</td>
+       <td>${acctgTransEntry.debitCreditFlag!}</td>
+       <td>${acctgTransEntry.amount!}</td>
+       <td>${acctgTransEntry.origAmount!}</td>
        <td>
          <#if acctgTransEntry.organizationPartyId?has_content>
            <#assign partyName = delegator.findOne("PartyNameView", {"partyId" : acctgTransEntry.organizationPartyId}, false)>
            <#if partyName.partyTypeId == "PERSON">
-             ${partyName.firstName?if_exists} ${partyName.lastName?if_exists}
+             ${partyName.firstName!} ${partyName.lastName!}
            <#elseif (partyName.partyTypeId) != "PARTY_GROUP">
-             ${partyName.groupName?if_exists}
+             ${partyName.groupName!}
            </#if>
          </#if>
        </td>
        <td>
          <#if (acctgTransEntry.glAccountTypeId)?has_content>
            <#assign glAccountType = delegator.findOne("GlAccountType", {"glAccountTypeId" : acctgTransEntry.glAccountTypeId}, false)>
-             ${glAccountType.description?if_exists}
+             ${glAccountType.description!}
          </#if>
        </td>
-       <td>${acctgTransEntry.accountCode?if_exists}</td>
-       <td>${acctgTransEntry.accountName?if_exists}</td>
+       <td>${acctgTransEntry.accountCode!}</td>
+       <td>${acctgTransEntry.accountName!}</td>
        <td>
          <#if acctgTransEntry.glAccountClassId?has_content>
            <#assign glAccountClass = delegator.findOne("GlAccountClass", {"glAccountClassId" : acctgTransEntry.glAccountClassId}, false)/>
-             ${glAccountClass.description?if_exists}
+             ${glAccountClass.description!}
          </#if>
        </td>
-       <td>${acctgTransEntry.partyId?if_exists}</td>
+       <td>${acctgTransEntry.partyId!}</td>
        <td>
          <#if acctgTransEntry.reconcileStatusId?has_content>
            <#assign status = delegator.findOne("StatusItem", {"statusId" : finAccountTrans.statusId}, true)>
-             ${status.description?if_exists}
+             ${status.description!}
          </#if>
        </td>
        <td>
          <#if acctgTransEntry.acctgTransEntryTypeId?has_content>
            <#assign acctgTransEntryType = delegator.findOne("AcctgTransEntryType", {"acctgTransEntryTypeId" : acctgTransEntry.acctgTransEntryTypeId}, true)>
-             ${acctgTransEntryType.description?if_exists}
+             ${acctgTransEntryType.description!}
          </#if>
        </td>
      </tr>
Index: applications/accounting/webapp/accounting/finaccounttrans/FinAccountTrans.ftl
===================================================================
--- applications/accounting/webapp/accounting/finaccounttrans/FinAccountTrans.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/finaccounttrans/FinAccountTrans.ftl	(working copy)
@@ -80,35 +80,35 @@
 </script>
 
 <div class="screenlet screenlet-body">
-  <#if finAccountTransList?has_content && parameters.noConditionFind?exists && parameters.noConditionFind == 'Y'>
-    <#if !grandTotal?exists>
+  <#if finAccountTransList?has_content && parameters.noConditionFind?? && parameters.noConditionFind == 'Y'>
+    <#if !grandTotal??>
       <div>
         <span class="label">${uiLabelMap.AccountingRunningTotal} :</span>
         <span class="label" id="showFinAccountTransRunningTotal"></span>
       </div>
     </#if>
-    <form id="listFinAccTra" name="selectAllForm" method="post" action="<@ofbizUrl><#if !grandTotal?exists>reconcileFinAccountTrans?clearAll=Y<#else>assignGlRecToFinAccTrans?clearAll=Y</#if></@ofbizUrl>">
+    <form id="listFinAccTra" name="selectAllForm" method="post" action="<@ofbizUrl><#if !grandTotal??>reconcileFinAccountTrans?clearAll=Y<#else>assignGlRecToFinAccTrans?clearAll=Y</#if></@ofbizUrl>">
       <input name="_useRowSubmit" type="hidden" value="Y"/>
       <input name="finAccountId" type="hidden" value="${parameters.finAccountId}"/>
-      <input name="statusId" type="hidden" value="${parameters.statusId?if_exists}"/>
-      <#if !grandTotal?exists>
-        <input name="reconciledBalance" type="hidden" value="${(glReconciliation.reconciledBalance)?if_exists}"/>
+      <input name="statusId" type="hidden" value="${parameters.statusId!}"/>
+      <#if !grandTotal??>
+        <input name="reconciledBalance" type="hidden" value="${(glReconciliation.reconciledBalance)!}"/>
         <input name="reconciledBalanceWithUom" type="hidden" id="reconciledBalanceWithUom" value="<@ofbizCurrency amount=(glReconciliation.reconciledBalance)?default('0')/>"/>
       </#if>
-      <#assign glReconciliations = delegator.findByAnd("GlReconciliation", {"glAccountId" : finAccount.postToGlAccountId?if_exists, "statusId" : "GLREC_CREATED"}, Static["org.ofbiz.base.util.UtilMisc"].toList("reconciledDate DESC"), false)>
-      <#if (glReconciliationId?has_content && (glReconciliationId == "_NA_" && finAccountTransList?has_content)) || !grandTotal?exists>
+      <#assign glReconciliations = delegator.findByAnd("GlReconciliation", {"glAccountId" : finAccount.postToGlAccountId!, "statusId" : "GLREC_CREATED"}, Static["org.ofbiz.base.util.UtilMisc"].toList("reconciledDate DESC"), false)>
+      <#if (glReconciliationId?has_content && (glReconciliationId == "_NA_" && finAccountTransList?has_content)) || !grandTotal??>
         <div align="right">
-          <#if grandTotal?exists>
+          <#if grandTotal??>
             <#if glReconciliations?has_content>
               <select name="glReconciliationId">
                 <option value="">--${uiLabelMap.CommonSelect}--</option>
                 <#list glReconciliations as glReconciliation>
-                  <option value="${glReconciliation.glReconciliationId}">${glReconciliation.glReconciliationName?if_exists}[[${glReconciliation.glReconciliationId}] [${glReconciliation.reconciledDate?if_exists}] [${glReconciliation.reconciledBalance?if_exists}]]</option>
+                  <option value="${glReconciliation.glReconciliationId}">${glReconciliation.glReconciliationName!}[[${glReconciliation.glReconciliationId}] [${glReconciliation.reconciledDate!}] [${glReconciliation.reconciledBalance!}]]</option>
                 </#list>
               </select>
               <input id="submitButton" type="submit" onclick="javascript:document.selectAllForm.submit();" value="${uiLabelMap.AccountingAssignToReconciliation}" disabled="disabled" />
             <#else>
-              <span class="tooltip">${uiLabelMap.AccountingNoGlReconciliationExists} <a href="<@ofbizUrl>EditFinAccountReconciliations?finAccountId=${parameters.finAccountId?if_exists}</@ofbizUrl>">${uiLabelMap.CommonClickHere}</a></span>
+              <span class="tooltip">${uiLabelMap.AccountingNoGlReconciliatio??} <a href="<@ofbizUrl>EditFinAccountReconciliations?finAccountId=${parameters.finAccountId!}</@ofbizUrl>">${uiLabelMap.CommonClickHere}</a></span>
             </#if>
           <#else>
             <input id="submitButton" type="submit" onclick="javascript:document.selectAllForm.submit();" value="${uiLabelMap.AccountingReconcile}" disabled="disabled" />
@@ -130,15 +130,15 @@
           <th>${uiLabelMap.FormFieldTitle_paymentMethodTypeId}</th>
           <th>${uiLabelMap.CommonStatus}</th>
           <th>${uiLabelMap.CommonComments}</th>
-          <#if grandTotal?exists>
+          <#if grandTotal??>
             <th>${uiLabelMap.AccountingCancelTransactionStatus}</th>
           </#if>
-          <#if !grandTotal?exists>
+          <#if !grandTotal??>
             <#if (parameters.glReconciliationId?has_content && parameters.glReconciliationId != "_NA_")>
               <th>${uiLabelMap.AccountingRemoveFromGlReconciliation}</th>
             </#if>
           </#if>
-          <#if ((glReconciliationId?has_content && glReconciliationId == "_NA_") && (glReconciliations?has_content && finAccountTransList?has_content)) || !grandTotal?exists>
+          <#if ((glReconciliationId?has_content && glReconciliationId == "_NA_") && (glReconciliations?has_content && finAccountTransList?has_content)) || !grandTotal??>
             <th>${uiLabelMap.CommonSelectAll} <input name="selectAll" type="checkbox" value="N" id="checkAllTransactions" onclick="javascript:togglefinAccountTransId(this);"/></th>
           </#if>
         </tr>
@@ -169,7 +169,7 @@
           </#if>
           <#if finAccountTrans.glReconciliationId?has_content>
             <#assign glReconciliation = delegator.findOne("GlReconciliation", {"glReconciliationId" : finAccountTrans.glReconciliationId}, true)>
-            <input name="openingBalance_o_${finAccountTrans_index}" type="hidden" value="${glReconciliation.openingBalance?if_exists}"/>
+            <input name="openingBalance_o_${finAccountTrans_index}" type="hidden" value="${glReconciliation.openingBalance!}"/>
           </#if>
           <#if finAccountTrans.partyId?has_content>
             <#assign partyName = (delegator.findOne("PartyNameView", {"partyId" : finAccountTrans.partyId}, true))!>
@@ -190,30 +190,30 @@
                       <th>${uiLabelMap.PartyPartyTo}</th>
                     </tr>
                     <#list payments as payment>
-                      <#if payment?exists && payment.paymentTypeId?has_content>
+                      <#if payment?? && payment.paymentTypeId?has_content>
                         <#assign paymentType = delegator.findOne("PaymentType", {"paymentTypeId" : payment.paymentTypeId}, true)>
                       </#if>
                       <#if payment?has_content && payment.paymentMethodTypeId?has_content>
                         <#assign paymentMethodType = delegator.findOne("PaymentMethodType", {"paymentMethodTypeId" : payment.paymentMethodTypeId}, true)>
                       </#if>
                       <#if payment?has_content>
-                        <#assign paymentGroupMembers = Static["org.ofbiz.entity.util.EntityUtil"].filterByDate(payment.getRelated("PaymentGroupMember", null, null, false)?if_exists) />
-                        <#assign fromParty = payment.getRelatedOne("FromParty", false)?if_exists />
+                        <#assign paymentGroupMembers = Static["org.ofbiz.entity.util.EntityUtil"].filterByDate(payment.getRelated("PaymentGroupMember", null, null, false)!) />
+                        <#assign fromParty = payment.getRelatedOne("FromParty", false)! />
                         <#assign fromPartyName = delegator.findOne("PartyNameView", {"partyId" : fromParty.partyId}, true) />
-                        <#assign toParty = payment.getRelatedOne("ToParty", false)?if_exists />
+                        <#assign toParty = payment.getRelatedOne("ToParty", false)! />
                         <#assign toPartyName = delegator.findOne("PartyNameView", {"partyId" : toParty.partyId}, true) />
                         <#if paymentGroupMembers?has_content>
                           <#assign paymentGroupMember = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(paymentGroupMembers) />
                         </#if>
                       </#if>
                       <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
-                        <td><#if paymentGroupMember?has_content><a href="<@ofbizUrl>EditDepositSlipAndMembers?paymentGroupId=${paymentGroupMember.paymentGroupId?if_exists}&amp;finAccountId=${parameters.finAccountId?if_exists}</@ofbizUrl>">${paymentGroupMember.paymentGroupId?if_exists}</a></#if></td>
-                        <td><#if payment?has_content><a href="<@ofbizUrl>paymentOverview?paymentId=${payment.paymentId?if_exists}</@ofbizUrl>">${payment.paymentId?if_exists}</a></#if></td>
-                        <td><#if paymentType?has_content>${paymentType.description?if_exists}</#if></td>
-                        <td><#if paymentMethodType?has_content>${paymentMethodType.description?if_exists}</#if></td>
-                        <td><@ofbizCurrency amount=payment.amount?if_exists/></td>
-                        <td><#if fromPartyName?has_content>${fromPartyName.groupName?if_exists}${fromPartyName.firstName?if_exists} ${fromPartyName.lastName?if_exists}<a href="/partymgr/control/viewprofile?partyId=${fromPartyName.partyId?if_exists}">[${fromPartyName.partyId?if_exists}]</a></#if></td>
-                        <td><#if toPartyName?has_content>${toPartyName.groupName?if_exists}${toPartyName.firstName?if_exists} ${toPartyName.lastName?if_exists}<a href="/partymgr/control/viewprofile?partyId=${toPartyName.partyId?if_exists}">[${toPartyName.partyId?if_exists}]</a></#if></td>
+                        <td><#if paymentGroupMember?has_content><a href="<@ofbizUrl>EditDepositSlipAndMembers?paymentGroupId=${paymentGroupMember.paymentGroupId!}&amp;finAccountId=${parameters.finAccountId!}</@ofbizUrl>">${paymentGroupMember.paymentGroupId!}</a></#if></td>
+                        <td><#if payment?has_content><a href="<@ofbizUrl>paymentOverview?paymentId=${payment.paymentId!}</@ofbizUrl>">${payment.paymentId!}</a></#if></td>
+                        <td><#if paymentType?has_content>${paymentType.description!}</#if></td>
+                        <td><#if paymentMethodType?has_content>${paymentMethodType.description!}</#if></td>
+                        <td><@ofbizCurrency amount=payment.amount!/></td>
+                        <td><#if fromPartyName?has_content>${fromPartyName.groupName!}${fromPartyName.firstName!} ${fromPartyName.lastName!}<a href="/partymgr/control/viewprofile?partyId=${fromPartyName.partyId!}">[${fromPartyName.partyId!}]</a></#if></td>
+                        <td><#if toPartyName?has_content>${toPartyName.groupName!}${toPartyName.firstName!} ${toPartyName.lastName!}<a href="/partymgr/control/viewprofile?partyId=${toPartyName.partyId!}">[${toPartyName.partyId!}]</a></#if></td>
                       </tr>
                     </#list>
                   </table>
@@ -235,22 +235,22 @@
                 ${finAccountTrans.finAccountTransId}
               </#if>
             </td>
-            <td>${finAccountTransType.description?if_exists}</td>
+            <td>${finAccountTransType.description!}</td>
             <td><#if partyName?has_content>${(partyName.firstName)!} ${(partyName.lastName)!} ${(partyName.groupName)!}<a href="/partymgr/control/viewprofile?partyId=${partyName.partyId}">[${(partyName.partyId)!}]</a></#if></td>
-            <td><#if glReconciliation?has_content>${glReconciliation.glReconciliationName?if_exists}<a href="ViewGlReconciliationWithTransaction?glReconciliationId=${glReconciliation.glReconciliationId?if_exists}&amp;finAccountId=${parameters.finAccountId?if_exists}">[${glReconciliation.glReconciliationId?if_exists}]</a></#if></td>
-            <td>${finAccountTrans.transactionDate?if_exists}</td>
-            <td>${finAccountTrans.entryDate?if_exists}</td>
-            <td>${finAccountTrans.amount?if_exists}</td>
+            <td><#if glReconciliation?has_content>${glReconciliation.glReconciliationName!}<a href="ViewGlReconciliationWithTransaction?glReconciliationId=${glReconciliation.glReconciliationId!}&amp;finAccountId=${parameters.finAccountId!}">[${glReconciliation.glReconciliationId!}]</a></#if></td>
+            <td>${finAccountTrans.transactionDate!}</td>
+            <td>${finAccountTrans.entryDate!}</td>
+            <td>${finAccountTrans.amount!}</td>
             <td>
               <#if finAccountTrans.paymentId?has_content>
                 <a href="<@ofbizUrl>paymentOverview?paymentId=${finAccountTrans.paymentId}</@ofbizUrl>">${finAccountTrans.paymentId}</a>
               </#if>
             </td>
-            <td><#if paymentType?has_content>${paymentType.description?if_exists}</#if></td>
-            <td><#if paymentMethodType?has_content>${paymentMethodType.description?if_exists}</#if></td>
-            <td><#if status?has_content>${status.description?if_exists}</#if></td>
-            <td>${finAccountTrans.comments?if_exists}</td>
-            <#if grandTotal?exists>
+            <td><#if paymentType?has_content>${paymentType.description!}</#if></td>
+            <td><#if paymentMethodType?has_content>${paymentMethodType.description!}</#if></td>
+            <td><#if status?has_content>${status.description!}</#if></td>
+            <td>${finAccountTrans.comments!}</td>
+            <#if grandTotal??>
               <td>
                 <#if finAccountTrans.statusId?has_content && finAccountTrans.statusId == 'FINACT_TRNS_CREATED'>
                   <a href="javascript:document.cancelFinAccountTrans_${finAccountTrans.finAccountTransId}.submit();" class="buttontext">${uiLabelMap.CommonCancel}</a>
@@ -262,14 +262,14 @@
             <#if glReconciliationId?has_content && glReconciliationId != "_NA_">
               <input name="glReconciliationId_o_${finAccountTrans_index}" type="hidden" value="${glReconciliationId}"/>
             </#if>
-            <#if !(grandTotal?exists)>
+            <#if !(grandTotal??)>
               <#if (parameters.glReconciliationId?has_content && parameters.glReconciliationId != "_NA_")>
                 <#if finAccountTrans.statusId == "FINACT_TRNS_CREATED">
                   <td><a href="javascript:document.removeFinAccountTransFromReconciliation_${finAccountTrans.finAccountTransId}.submit();" class="buttontext">${uiLabelMap.CommonRemove}</a></td>
                 </#if>
               </#if>
             </#if>
-            <#if ((glReconciliationId?has_content && glReconciliationId == "_NA_") && (glReconciliations?has_content && finAccountTransList?has_content)) || !grandTotal?exists>
+            <#if ((glReconciliationId?has_content && glReconciliationId == "_NA_") && (glReconciliations?has_content && finAccountTransList?has_content)) || !grandTotal??>
               <#if finAccountTrans.statusId == "FINACT_TRNS_CREATED">
                 <td><input id="finAccountTransId_${finAccountTrans_index}" name="_rowSubmit_o_${finAccountTrans_index}" type="checkbox" value="Y" onclick="javascript:getFinAccountTransRunningTotalAndBalances();"/></td>
               </#if>
@@ -286,7 +286,7 @@
         <input name="finAccountId" type="hidden" value="${finAccountTrans.finAccountId}"/>
       </form>
     </#list>
-    <#if grandTotal?exists>
+    <#if grandTotal??>
       <#list finAccountTransList as finAccountTrans>
         <#if finAccountTrans.statusId?has_content && finAccountTrans.statusId == 'FINACT_TRNS_CREATED'>
           <form name="cancelFinAccountTrans_${finAccountTrans.finAccountTransId}" method="post" action="<@ofbizUrl>setFinAccountTransStatus</@ofbizUrl>">
@@ -326,8 +326,8 @@
           </td>
           <td><@ofbizCurrency amount=glReconciliation.openingBalance?default('0')/></td>
           <td><@ofbizCurrency amount=glReconciliation.reconciledBalance?default('0')/></td>
-          <td id="endingBalance"><@ofbizCurrency amount=glReconciliationApprovedGrandTotal?if_exists/></td>
-          <input type="hidden" id="endingBalanceInput" value="<@ofbizCurrency amount=glReconciliationApprovedGrandTotal?if_exists/>"/>
+          <td id="endingBalance"><@ofbizCurrency amount=glReconciliationApprovedGrandTotal!/></td>
+          <input type="hidden" id="endingBalanceInput" value="<@ofbizCurrency amount=glReconciliationApprovedGrandTotal!/>"/>
         </tr>
       </table>
     </#if>
Index: applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl
===================================================================
--- applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl	(revision 1590602)
+++ applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl	(working copy)
@@ -28,9 +28,9 @@
          <br class="clear"/>
      </div>
      <form method="post" action="<@ofbizUrl>EditCustomTimePeriod</@ofbizUrl>" name="setOrganizationPartyIdForm">
-         <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId?if_exists}" />
+         <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId!}" />
          <span class="label">${uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</span>
-         <input type="text" size="20" name="findOrganizationPartyId" value="${findOrganizationPartyId?if_exists}" />
+         <input type="text" size="20" name="findOrganizationPartyId" value="${findOrganizationPartyId!}" />
          <input type="submit" value='${uiLabelMap.CommonUpdate}' />
      </form>
    </div>
@@ -40,7 +40,7 @@
       <#if currentCustomTimePeriod?has_content>
         <ul>
           <li class="h3">${uiLabelMap.AccountingCurrentCustomTimePeriod}</li>
-          <li><a href="<@ofbizUrl>EditCustomTimePeriod?findOrganizationPartyId=${findOrganizationPartyId?if_exists}</@ofbizUrl>">${uiLabelMap.CommonClearCurrent}</a></li>
+          <li><a href="<@ofbizUrl>EditCustomTimePeriod?findOrganizationPartyId=${findOrganizationPartyId!}</@ofbizUrl>">${uiLabelMap.CommonClearCurrent}</a></li>
         </ul>
       <#else>
         <h3>${uiLabelMap.AccountingCurrentCustomTimePeriod}</h3>
@@ -48,8 +48,8 @@
     </div>
     <#if currentCustomTimePeriod?has_content>
         <form method="post" action="<@ofbizUrl>updateCustomTimePeriod</@ofbizUrl>" name="updateCustomTimePeriodForm">
-          <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId?if_exists}" />
-          <input type="hidden" name="customTimePeriodId" value="${currentCustomTimePeriodId?if_exists}" />
+          <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId!}" />
+          <input type="hidden" name="customTimePeriodId" value="${currentCustomTimePeriodId!}" />
       <table class="basic-table" cellspacing="0">
         <tr class="header-row">
           <td>${uiLabelMap.CommonId}</td>
@@ -70,7 +70,7 @@
                 <#list allCustomTimePeriods as allCustomTimePeriod>
                   <#assign allPeriodType = allCustomTimePeriod.getRelatedOne("PeriodType", true)>
                   <#assign isDefault = false>
-                  <#if (currentCustomTimePeriod.parentPeriodId)?exists>
+                  <#if (currentCustomTimePeriod.parentPeriodId)??>
                     <#if currentCustomTimePeriod.customTimePeriodId = allCustomTimePeriod.customTimePeriodId>
                       <#assign isDefault = true>
                     </#if>
@@ -83,17 +83,17 @@
                   </option>
                 </#list>
               </select>
-              <#if (currentCustomTimePeriod.parentPeriodId)?exists>
-                <a href='<@ofbizUrl>EditCustomTimePeriod?currentCustomTimePeriodId=${currentCustomTimePeriod.parentPeriodId}&amp;findOrganizationPartyId=${findOrganizationPartyId?if_exists}</@ofbizUrl>'>
+              <#if (currentCustomTimePeriod.parentPeriodId)??>
+                <a href='<@ofbizUrl>EditCustomTimePeriod?currentCustomTimePeriodId=${currentCustomTimePeriod.parentPeriodId}&amp;findOrganizationPartyId=${findOrganizationPartyId!}</@ofbizUrl>'>
                 ${uiLabelMap.CommonSetAsCurrent}</a>
               </#if>
             </td>
-            <td><input type="text" size='12' name="currentCustomTimePeriod" value="${currentCustomTimePeriod.organizationPartyId?if_exists}" /></td>
+            <td><input type="text" size='12' name="currentCustomTimePeriod" value="${currentCustomTimePeriod.organizationPartyId!}" /></td>
             <td>
               <select name="periodTypeId">
                 <#list periodTypes as periodType>
                   <#assign isDefault = false>
-                  <#if (currentCustomTimePeriod.periodTypeId)?exists>
+                  <#if (currentCustomTimePeriod.periodTypeId)??>
                     <#if currentCustomTimePeriod.periodTypeId = periodType.periodTypeId>
                       <#assign isDefault = true>
                     </#if>
@@ -104,8 +104,8 @@
                 </#list>
               </select>
             </td>
-            <td><input type="text" size='4' name="periodNum" value="${currentCustomTimePeriod.periodNum?if_exists}" /></td>
-            <td><input type="text" size='10' name="periodName" value="${currentCustomTimePeriod.periodName?if_exists}" /></td>
+            <td><input type="text" size='4' name="periodNum" value="${currentCustomTimePeriod.periodNum!}" /></td>
+            <td><input type="text" size='10' name="periodName" value="${currentCustomTimePeriod.periodName!}" /></td>
             <td>
               <#assign hasntStarted = false>
               <#assign compareDate = currentCustomTimePeriod.getDate("fromDate")>
@@ -160,9 +160,9 @@
           <#assign periodType = customTimePeriod.getRelatedOne("PeriodType", true)>
           <tr>
             <form method="post" action='<@ofbizUrl>updateCustomTimePeriod</@ofbizUrl>' name='lineForm${line}'>
-              <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId?if_exists}" />
-              <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId?if_exists}" />
-              <input type="hidden" name="customTimePeriodId" value="${customTimePeriodId?if_exists}" />
+              <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId!}" />
+              <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId!}" />
+              <input type="hidden" name="customTimePeriodId" value="${customTimePeriodId!}" />
             <td>${customTimePeriod.customTimePeriodId}</td>
             <td>
               <select name="parentPeriodId">
@@ -170,7 +170,7 @@
                 <#list allCustomTimePeriods as allCustomTimePeriod>
                   <#assign allPeriodType = allCustomTimePeriod.getRelatedOne("PeriodType", true)>
                   <#assign isDefault = false>
-                  <#if (currentCustomTimePeriod.parentPeriodId)?exists>
+                  <#if (currentCustomTimePeriod.parentPeriodId)??>
                     <#if currentCustomTimePeriod.customTimePeriodId = allCustomTimePeriod.customTimePeriodId>
                       <#assign isDefault = true>
                     </#if>
@@ -184,12 +184,12 @@
                 </#list>
               </select>
             </td>
-            <td><input type="text" size='12' name="organizationPartyId" value="${customTimePeriod.organizationPartyId?if_exists}" /></td>
+            <td><input type="text" size='12' name="organizationPartyId" value="${customTimePeriod.organizationPartyId!}" /></td>
             <td>
               <select name="periodTypeId">
                 <#list periodTypes as periodType>
                   <#assign isDefault = false>
-                  <#if (customTimePeriod.periodTypeId)?exists>
+                  <#if (customTimePeriod.periodTypeId)??>
                     <#if customTimePeriod.periodTypeId = periodType.periodTypeId>
                      <#assign isDefault = true>
                     </#if>
@@ -198,15 +198,15 @@
                 </#list>
               </select>
             </td>
-            <td><input type="text" size='4' name="periodNum" value="${customTimePeriod.periodNum?if_exists}" /></td>
-            <td><input type="text" size='10' name="periodName" value="${customTimePeriod.periodName?if_exists}" /></td>
+            <td><input type="text" size='4' name="periodNum" value="${customTimePeriod.periodNum!}" /></td>
+            <td><input type="text" size='10' name="periodName" value="${customTimePeriod.periodName!}" /></td>
             <td>
               <#assign hasntStarted = false>
               <#assign compareDate = customTimePeriod.getDate("fromDate")>
               <#if compareDate?has_content>
                 <#if nowTimestamp.before(compareDate)><#assign hasntStarted = true></#if>
               </#if>
-              <input type="text" size='13' name="fromDate" value="${customTimePeriod.fromDate?if_exists}"<#if hasntStarted> class="alert"</#if> />
+              <input type="text" size='13' name="fromDate" value="${customTimePeriod.fromDate!}"<#if hasntStarted> class="alert"</#if> />
             </td>
             <td>
               <#assign hasExpired = false>
@@ -214,13 +214,13 @@
               <#if compareDate?has_content>
                 <#if nowTimestamp.after(compareDate)><#assign hasExpired = true></#if>
               </#if>
-              <input type="text" size='13' name="thruDate" value="${customTimePeriod.thruDate?if_exists}"<#if hasExpired> class="alert"</#if> />
+              <input type="text" size='13' name="thruDate" value="${customTimePeriod.thruDate!}"<#if hasExpired> class="alert"</#if> />
              </td>
              <td class="button-col">
               <input type="submit" value='${uiLabelMap.CommonUpdate}'/>
-              <a href='<@ofbizUrl>deleteCustomTimePeriod?customTimePeriodId=${customTimePeriod.customTimePeriodId?if_exists}&amp;currentCustomTimePeriodId=${currentCustomTimePeriodId?if_exists}&amp;findOrganizationPartyId=${findOrganizationPartyId?if_exists}</@ofbizUrl>'>
+              <a href='<@ofbizUrl>deleteCustomTimePeriod?customTimePeriodId=${customTimePeriod.customTimePeriodId!}&amp;currentCustomTimePeriodId=${currentCustomTimePeriodId!}&amp;findOrganizationPartyId=${findOrganizationPartyId!}</@ofbizUrl>'>
               ${uiLabelMap.CommonDelete}</a>
-              <a href='<@ofbizUrl>EditCustomTimePeriod?currentCustomTimePeriodId=${customTimePeriod.customTimePeriodId?if_exists}&amp;findOrganizationPartyId=${findOrganizationPartyId?if_exists}</@ofbizUrl>'>
+              <a href='<@ofbizUrl>EditCustomTimePeriod?currentCustomTimePeriodId=${customTimePeriod.customTimePeriodId!}&amp;findOrganizationPartyId=${findOrganizationPartyId!}</@ofbizUrl>'>
               ${uiLabelMap.CommonSetAsCurrent}</a>
             </td>
             </form>
@@ -240,8 +240,8 @@
     </div>
     <div class="screenlet-body">
       <form method="post" action="<@ofbizUrl>createCustomTimePeriod</@ofbizUrl>" name="createCustomTimePeriodForm">
-        <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId?if_exists}" />
-        <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId?if_exists}" />
+        <input type="hidden" name="findOrganizationPartyId" value="${findOrganizationPartyId!}" />
+        <input type="hidden" name="currentCustomTimePeriodId" value="${currentCustomTimePeriodId!}" />
         <input type="hidden" name="useValues" value="true" />
         <div>
           <span class="label">${uiLabelMap.CommonParent}</span>
@@ -250,14 +250,14 @@
             <#list allCustomTimePeriods as allCustomTimePeriod>
                 <#assign allPeriodType = allCustomTimePeriod.getRelatedOne("PeriodType", true)>
               <#assign isDefault = false>
-              <#if currentCustomTimePeriod?exists>
+              <#if currentCustomTimePeriod??>
                 <#if currentCustomTimePeriod.customTimePeriodId = allCustomTimePeriod.customTimePeriodId>
                   <#assign isDefault = true>
                 </#if>
               </#if>
               <option value="${allCustomTimePeriod.customTimePeriodId}"<#if isDefault> selected="selected"</#if>>
                 ${allCustomTimePeriod.organizationPartyId}
-                <#if (allCustomTimePeriod.parentPeriodId)?exists>Par:${allCustomTimePeriod.parentPeriodId}</#if>
+                <#if (allCustomTimePeriod.parentPeriodId)??>Par:${allCustomTimePeriod.parentPeriodId}</#if>
                 <#if allPeriodType??> ${allPeriodType.description}:</#if>
                 ${allCustomTimePeriod.periodNum}
                 [${allCustomTimePeriod.customTimePeriodId}]
@@ -272,7 +272,7 @@
           <select name="periodTypeId">
             <#list periodTypes as periodType>
               <#assign isDefault = false>
-              <#if newPeriodTypeId?exists>
+              <#if newPeriodTypeId??>
                 <#if newPeriodTypeId = periodType.periodTypeId>
                   <#assign isDefault = true>
                 </#if>
Index: applications/content/template/survey/genericsurvey.ftl
===================================================================
--- applications/content/template/survey/genericsurvey.ftl	(revision 1590602)
+++ applications/content/template/survey/genericsurvey.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 
 <#macro renderSurveyQuestionText surveyQuestionAndAppl>
-  <div>${surveyQuestionAndAppl.question?if_exists}</div>
+  <div>${surveyQuestionAndAppl.question!}</div>
   <#if surveyQuestionAndAppl.hint?has_content>
     <div>${surveyQuestionAndAppl.hint}</div>
   </#if>
@@ -43,37 +43,37 @@
       <option <#if "N" == selectedOption>selected="selected"</#if>>N</option>
     </select>
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXTAREA"/>
-    <textarea cols="40" rows="5" name="${questionFieldName}">${(answer.textResponse)?if_exists}</textarea>
+    <textarea cols="40" rows="5" name="${questionFieldName}">${(answer.textResponse)!}</textarea>
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXT_SHORT"/>
-    <input type="text" size="15" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="15" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXT_LONG"/>
-    <input type="text" size="35" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="35" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "EMAIL"/>
-    <input type="text" size="30" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="30" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "URL"/>
-    <input type="text" size="40" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="40" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "DATE"/>
-    <input type="text" size="12" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="12" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "CREDIT_CARD"/>
-    <input type="text" size="20" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="20" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "GIFT_CARD"/>
-    <input type="text" size="20" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="20" class="inputBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_CURRENCY"/>
-    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.currencyResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.currencyResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_FLOAT"/>
-    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.floatResponse)?default(defValue?if_exists)}" />
+    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.floatResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_LONG"/>
-    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.numericResponse?default(defValue)?string("#"))?if_exists}" />
+    <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.numericResponse?default(defValue)?string("#"))!}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "PASSWORD"/>
-    <input type="password" size="30" class="textBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue?if_exists)}" />
+    <input type="password" size="30" class="textBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "CONTENT"/>
      <#if (answer.contentId)?has_content>
       <#assign content = answer.getRelatedOne("Content", false)>
-      <a href="/content/control/img?imgId=${content.dataResourceId}" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName?if_exists}&nbsp;&nbsp;&nbsp;
+      <a href="/content/control/img?imgId=${content.dataResourceId}" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName!}&nbsp;&nbsp;&nbsp;
     </#if>
     <input type="file" size="15" name="${questionFieldName}" class="inputBox"/>
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "OPTION"/>
-    <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)?if_exists/>
+    <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)!/>
     <#assign selectedOption = (answer.surveyOptionSeqId)?default("_NA_")/>
     <select name="${questionFieldName}">
       <#if surveyQuestionAndAppl.requiredField?default("N") != "Y">
@@ -81,7 +81,7 @@
       </#if>
       <#if options?has_content>
         <#list options as option>
-          <option value="${option.surveyOptionSeqId}" <#if option.surveyOptionSeqId == selectedOption>selected="selected"</#if>>${option.description?if_exists}</option>
+          <option value="${option.surveyOptionSeqId}" <#if option.surveyOptionSeqId == selectedOption>selected="selected"</#if>>${option.description!}</option>
         </#list>
       <#else>
         <option value="">Nothing to choose</option>
@@ -89,7 +89,7 @@
     </select>
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "ENUMERATION"/>
     <select name="${questionFieldName}">
-    <#assign formatString = surveyQuestionAndAppl.get("formatString")?if_exists/>
+    <#assign formatString = surveyQuestionAndAppl.get("formatString")!/>
     <#assign enums = surveyQuestionAndAppl.getRelated("Enumeration", null, null, false)/>
     <#list enums as enum>
         <#if (((answer.textResponse)?has_content && answer.textResponse == enum.enumId) || (defValue == enum.enumId))>
@@ -107,8 +107,8 @@
     </select>
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "GEO"/>
     <select name="${questionFieldName}">
-    <#assign formatString = surveyQuestionAndAppl.get("formatString")?if_exists/>
-    <#assign parentGeoId = surveyQuestionAndAppl.get("geoId")?if_exists/>
+    <#assign formatString = surveyQuestionAndAppl.get("formatString")!/>
+    <#assign parentGeoId = surveyQuestionAndAppl.get("geoId")!/>
     <#assign geos = Static["org.ofbiz.common.geo.GeoWorker"].expandGeoGroup(parentGeoId, delegator)>
     <#list geos as geo>
         <#if (((answer.textResponse)?has_content && answer.textResponse == geo.geoId) || (defValue == geo.geoId))>
@@ -159,7 +159,7 @@
 <#-- survey ID -->
 <input type="hidden" name="surveyId" value="${survey.surveyId}"/>
 
-<h1>${survey.description?if_exists}</h1>
+<h1>${survey.description!}</h1>
 <br />
 
 <#if survey.comments?has_content>
@@ -176,7 +176,7 @@
     <#-- Get and setup MultiResp info for this question -->
     <#assign openMultiRespHeader = false/>
     <#assign closeMultiRespHeader = false/>
-    <#assign surveyMultiResp = surveyQuestionAndAppl.getRelatedOne("SurveyMultiResp", true)?if_exists/>
+    <#assign surveyMultiResp = surveyQuestionAndAppl.getRelatedOne("SurveyMultiResp", true)!/>
     <#if surveyMultiResp?has_content>
       <#assign surveyMultiRespColumnList = surveyMultiResp.getRelated("SurveyMultiRespColumn", null, Static["org.ofbiz.base.util.UtilMisc"].toList("sequenceNum"), true)/>
 
@@ -220,7 +220,7 @@
     </#if>
 
   <#if surveyMultiResp?has_content>
-    <#assign sqaaWithColIdList = (sqaaWithColIdListByMultiRespId[surveyMultiResp.surveyMultiRespId])?if_exists/>
+    <#assign sqaaWithColIdList = (sqaaWithColIdListByMultiRespId[surveyMultiResp.surveyMultiRespId])!/>
     <tr>
       <td>
         <@renderSurveyQuestionText surveyQuestionAndAppl=surveyQuestionAndAppl/>
@@ -251,7 +251,7 @@
   <#else/>
     <#-- special formatting for select boxes -->
     <#assign align = "left"/>
-    <#if surveyQuestionAndAppl?exists && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
+    <#if surveyQuestionAndAppl?? && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
         <#if (surveyQuestionAndAppl.surveyQuestionTypeId == "BOOLEAN" || surveyQuestionAndAppl.surveyQuestionTypeId == "CONTENT" || surveyQuestionAndAppl.surveyQuestionTypeId == "OPTION")>
               <#assign align = "right"/>
         </#if>
@@ -259,19 +259,19 @@
 
     <#-- get an answer from the answerMap -->
     <#if surveyAnswers?has_content>
-      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists/>
+      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)!/>
     </#if>
 
     <#-- get the default value from value map -->
     <#if defaultValues?has_content>
-      <#assign defValue = defaultValues.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists/>
+      <#assign defValue = defaultValues.get(surveyQuestionAndAppl.surveyQuestionId)!/>
     </#if>
 
     <tr>
-    <#if surveyQuestionAndAppl?exists && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
+    <#if surveyQuestionAndAppl?? && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
       <#-- seperator options -->
       <#if surveyQuestionAndAppl.surveyQuestionTypeId == "SEPERATOR_TEXT">
-        <td colspan="5"><div>${surveyQuestionAndAppl.question?if_exists}</div></td>
+        <td colspan="5"><div>${surveyQuestionAndAppl.question!}</div></td>
       <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "SEPERATOR_LINE"/>
         <td colspan="5"><hr /></td>
       <#else/>
Index: applications/content/template/email/servicenotification.ftl
===================================================================
--- applications/content/template/email/servicenotification.ftl	(revision 1590602)
+++ applications/content/template/email/servicenotification.ftl	(working copy)
@@ -22,11 +22,11 @@
 
 The Context :
   <#list serviceContext.keySet() as ckey>
-      ${ckey?if_exists} --> ${(serviceContext.get(ckey))?if_exists}
+      ${ckey!} --> ${(serviceContext.get(ckey))!}
   </#list>
 
 The Result :
   <#list serviceResult.keySet() as rkey>
-      ${rkey?if_exists} --> ${(serviceResult.get(rkey))?if_exists}
+      ${rkey!} --> ${(serviceResult.get(rkey))!}
   </#list>
 </pre>
\ No newline at end of file
Index: applications/content/webapp/content/lookup/ContentTreeLookupList.ftl
===================================================================
--- applications/content/webapp/content/lookup/ContentTreeLookupList.ftl	(revision 1590602)
+++ applications/content/webapp/content/lookup/ContentTreeLookupList.ftl	(working copy)
@@ -69,29 +69,29 @@
       <#if tabButtonItem=="ListContentTree">
         <#--Form ListContentTree-->
           <tr <#if alt_row> class="alternate-row"</#if>> 
-              <td><a class="plain" href="javascript:set_value('${contentData.contentId?if_exists}')">${contentData.contentId?if_exists}</a></td>
-              <td>${contentData.contentName?if_exists}</td>
-              <td>${contentData.mimeTypeId?if_exists}</td>
+              <td><a class="plain" href="javascript:set_value('${contentData.contentId!}')">${contentData.contentId!}</a></td>
+              <td>${contentData.contentName!}</td>
+              <td>${contentData.mimeTypeId!}</td>
           </tr>
       <#elseif tabButtonItem=="ListDocument">
           <#--Form ListDocument-->
           <tr <#if alt_row> class="alternate-row"</#if>>
-              <td><a class="plain" href="/content/control/editContent?contentId=${contentData.contentId?if_exists}">${contentData.contentName?if_exists}[${contentData.contentId?if_exists}]</a></td>
-              <td><a class="plain" href="/content/control/showContent?contentId=${contentData.contentId?if_exists}" target="_blank">${uiLabelMap.CommonView}</a></td>
-              <td>${contentData.contentTypeId?if_exists}</td>
-              <td>${contentData.mimeTypeId?if_exists}</td>
-              <td>${contentData.statusId?if_exists}</td>
+              <td><a class="plain" href="/content/control/editContent?contentId=${contentData.contentId!}">${contentData.contentName!}[${contentData.contentId!}]</a></td>
+              <td><a class="plain" href="/content/control/showContent?contentId=${contentData.contentId!}" target="_blank">${uiLabelMap.CommonView}</a></td>
+              <td>${contentData.contentTypeId!}</td>
+              <td>${contentData.mimeTypeId!}</td>
+              <td>${contentData.statusId!}</td>
               <#if contentData.caFromDate?has_content>
              <#assign caFromDate = Static["org.ofbiz.base.util.UtilDateTime"].toDateString(contentData.caFromDate, "dd/MM/yyyy")/>
             </#if> 
-              <td>${caFromDate?if_exists}</td>
+              <td>${caFromDate!}</td>
               <td><a href="javascript:document.listDocumentForm_${listcount}.submit()" >${uiLabelMap.CommonDelete}</a></td>
           </tr>
           <form action="<@ofbizUrl>removeDocumentFromTree</@ofbizUrl>" name="listDocumentForm_${listcount}" method="post">
-            <input type="hidden" name="contentId" value="${contentData.contentIdStart?if_exists}"/>
-            <input type="hidden" name="contentIdTo" value="${contentData.contentId?if_exists}"/>
-            <input type="hidden" name="contentAssocTypeId" value="${contentData.caContentAssocTypeId?if_exists}"/>
-            <input type="hidden" name="fromDate" value="${contentData.fromDate?if_exists}"/>
+            <input type="hidden" name="contentId" value="${contentData.contentIdStart!}"/>
+            <input type="hidden" name="contentIdTo" value="${contentData.contentId!}"/>
+            <input type="hidden" name="contentAssocTypeId" value="${contentData.caContentAssocTypeId!}"/>
+            <input type="hidden" name="fromDate" value="${contentData.fromDate!}"/>
           </form>
      </#if>
          <#assign alt_row = !alt_row/>
Index: applications/content/webapp/content/content/ContentSearchResults.ftl
===================================================================
--- applications/content/webapp/content/content/ContentSearchResults.ftl	(revision 1590602)
+++ applications/content/webapp/content/content/ContentSearchResults.ftl	(working copy)
@@ -58,7 +58,7 @@
           <#assign content = delegator.findOne("Content", Static["org.ofbiz.base.util.UtilMisc"].toMap("contentId", contentId), false)>
           <tr>
             <td>
-              <a href="<@ofbizUrl>editContent?contentId=${contentId}</@ofbizUrl>" class="buttontext">${contentId} ${(content.contentName)?if_exists}</a>
+              <a href="<@ofbizUrl>editContent?contentId=${contentId}</@ofbizUrl>" class="buttontext">${contentId} ${(content.contentName)!}</a>
             </td>
           </tr>
         </#list>
Index: applications/content/webapp/content/content/nav.ftl
===================================================================
--- applications/content/webapp/content/content/nav.ftl	(revision 1590602)
+++ applications/content/webapp/content/content/nav.ftl	(working copy)
@@ -37,7 +37,7 @@
             <#list assocList as assoc>
                 {
                 "data": {"title" : unescapeHtmlText("${assoc.categoryName!assoc.dataCategoryId!}"), "attr": {"href": "javascript:void(0);", "onClick" : "callDocument('${assoc.dataCategoryId!}');"}}
-                <#assign assocs = assoc.getRelated("ChildDataCategory", null, null, false)?if_exists/>
+                <#assign assocs = assoc.getRelated("ChildDataCategory", null, null, false)!/>
                 <#if assocChilds?has_content>
                     ,"children": [
                         <@fillTree assocList = assocChilds/>
Index: applications/content/webapp/content/content/DisplayContentNav.ftl
===================================================================
--- applications/content/webapp/content/content/DisplayContentNav.ftl	(revision 1590602)
+++ applications/content/webapp/content/content/DisplayContentNav.ftl	(working copy)
@@ -78,7 +78,7 @@
 
 <#-------------------------------------------------------------------------------------callDocument function-->
     function callDocument(contentId) {
-        var tabitem='${tabButtonItem?if_exists}';
+        var tabitem='${tabButtonItem!}';
         if (tabitem=="navigateContent")
             listDocument = '<@ofbizUrl>/views/ListDocument</@ofbizUrl>';
         if (tabitem=="LookupContentTree")
Index: applications/content/webapp/content/content/ContentSearchOptions.ftl
===================================================================
--- applications/content/webapp/content/content/ContentSearchOptions.ftl	(revision 1590602)
+++ applications/content/webapp/content/content/ContentSearchOptions.ftl	(working copy)
@@ -28,7 +28,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.ContentKeywords}</td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}"/>&nbsp;
               ${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if>/>
               ${uiLabelMap.CommonAll}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if>/>
             </div>
@@ -38,7 +38,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.FormFieldTitle_contentId}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CONTENT_ID?if_exists}" formName="advToKeyWordSearchForm" name="SEARCH_CONTENT_ID" id="SEARCH_CONTENT_ID" fieldFormName="LookupContent"/>
+              <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CONTENT_ID!}" formName="advToKeyWordSearchForm" name="SEARCH_CONTENT_ID" id="SEARCH_CONTENT_ID" fieldFormName="LookupContent"/>
             </div>
           </td>
         </tr>
@@ -62,7 +62,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.PartyPartyId}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.partyId?if_exists}" formName="advToKeyWordSearchForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
+              <@htmlTemplate.lookupField value="${requestParameters.partyId!}" formName="advToKeyWordSearchForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
             </div>
           </td>
         </tr>
@@ -85,13 +85,13 @@
             <table class="basic-table" cellspacing="0">
                <tr>
                   <td nowrap="nowrap">
-                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.fromDate?if_exists}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.fromDate!}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <span>${uiLabelMap.CommonFrom}</span>
                   </td>
                </tr>
                <tr>
                   <td nowrap="nowrap">
-                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.thruDate?if_exists}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.thruDate!}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <span>${uiLabelMap.CommonThru}</span>
                   </td>
                </tr>
Index: applications/content/webapp/content/content/ContentNav.ftl
===================================================================
--- applications/content/webapp/content/content/ContentNav.ftl	(revision 1590602)
+++ applications/content/webapp/content/content/ContentNav.ftl	(working copy)
@@ -108,7 +108,7 @@
 
 <#-------------------------------------------------------------------------------------callDocument function-->
     function callDocument(contentId) {
-        var tabitem='${tabButtonItem?if_exists}';
+        var tabitem='${tabButtonItem!}';
         if (tabitem=="navigateContent")
             listDocument = '<@ofbizUrl>/views/ListDocument</@ofbizUrl>';
         if (tabitem=="LookupContentTree")
Index: applications/content/webapp/content/contentsetup/UserPermissions.ftl
===================================================================
--- applications/content/webapp/content/contentsetup/UserPermissions.ftl	(revision 1590602)
+++ applications/content/webapp/content/contentsetup/UserPermissions.ftl	(working copy)
@@ -32,19 +32,19 @@
         rowCountElement = document.createElement("input");
         rowCountElement.setAttribute("name", "partyId");
         rowCountElement.setAttribute("type", "hidden");
-        rowCountElement.setAttribute("value", "${partyId?if_exists}");
+        rowCountElement.setAttribute("value", "${partyId!}");
         document.forms.siteRoleForm.appendChild(rowCountElement);
 
         rowCountElement = document.createElement("input");
         rowCountElement.setAttribute("name", "userLoginId");
         rowCountElement.setAttribute("type", "hidden");
-        rowCountElement.setAttribute("value", "${userLoginId?if_exists}");
+        rowCountElement.setAttribute("value", "${userLoginId!}");
         document.forms.siteRoleForm.appendChild(rowCountElement);
 
         rowCountElement = document.createElement("input");
         rowCountElement.setAttribute("name", "webSitePublishPoint");
         rowCountElement.setAttribute("type", "hidden");
-        rowCountElement.setAttribute("value", "${webSitePublishPoint?if_exists}");
+        rowCountElement.setAttribute("value", "${webSitePublishPoint!}");
         document.forms.siteRoleForm.appendChild(rowCountElement);
 
         document.forms.siteRoleForm.submit();
@@ -65,10 +65,10 @@
           </td>
           <td valign="middle">
             <div class="boxhead">
-             <input type="text" name="webSitePublishPoint" size="20" value="${webSitePublishPoint?if_exists}" />
+             <input type="text" name="webSitePublishPoint" size="20" value="${webSitePublishPoint!}" />
              <input type="submit" value="${uiLabelMap.CommonRefresh}"/>
-             <input type="hidden" name="partyId" value="${partyId?if_exists}"/>
-             <input type="hidden" name="userLoginId" value="${userLoginId?if_exists}"/>
+             <input type="hidden" name="partyId" value="${partyId!}"/>
+             <input type="hidden" name="userLoginId" value="${userLoginId!}"/>
             </div>
           </td>
         </tr>
@@ -90,7 +90,7 @@
       <#assign rowCount=0/>
         <#list siteList as map>
           <tr>
-            <td class="">${map.partyId?if_exists}</td>
+            <td class="">${map.partyId!}</td>
             <#list blogRoleIdList as roleTypeId>
               <#assign cappedSiteRole= Static["org.ofbiz.entity.model.ModelUtil"].dbNameToVarName(roleTypeId) />
               <td align="center">
@@ -104,7 +104,7 @@
         </#list>
           <tr>
             <td>
-              <div class="smallSubmit" ><a href="javascript:submitRows('${rowCount?if_exists}')">${uiLabelMap.CommonUpdate}</a></div>
+              <div class="smallSubmit" ><a href="javascript:submitRows('${rowCount!}')">${uiLabelMap.CommonUpdate}</a></div>
             </td>
           </tr>
       </table>
Index: applications/content/webapp/content/layout/renderSubContent.ftl
===================================================================
--- applications/content/webapp/content/layout/renderSubContent.ftl	(revision 1590602)
+++ applications/content/webapp/content/layout/renderSubContent.ftl	(working copy)
@@ -18,9 +18,9 @@
 -->
 
 <hr />
-<#if parameters.contentId?exists>
+<#if parameters.contentId??>
     <#assign id=parameters.contentId/>
-    <@editRenderSubContent contentId="TEMPLATE_MASTER" mapKey="" editTemplate="true" subContentId=id?if_exists>
+    <@editRenderSubContent contentId="TEMPLATE_MASTER" mapKey="" editTemplate="true" subContentId=id!>
         <@renderSubContent throwExceptionOnError="false"/>
     </@editRenderSubContent>
 </#if>
Index: applications/content/webapp/content/survey/EditSurveyResponse.ftl
===================================================================
--- applications/content/webapp/content/survey/EditSurveyResponse.ftl	(revision 1590602)
+++ applications/content/webapp/content/survey/EditSurveyResponse.ftl	(working copy)
@@ -22,8 +22,8 @@
   <form method="post" enctype="multipart/form-data" action="<@ofbizUrl>updateSurveyResponse</@ofbizUrl>" name="EditSurveyResponseForm" style="margin: 0;">
     <div>${uiLabelMap.PartyPartyId}: <@htmlTemplate.lookupField value="${userLogin.partyId}" formName="EditSurveyResponseForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
     <#-- pass through the dataResourceId so the response can be associated with it -->
-    <input type="hidden" name="dataResourceId" value="${parameters.dataResourceId?if_exists}"/>
-    <input type="hidden" name="rootContentId" value="${parameters.rootContentId?if_exists}"/>
+    <input type="hidden" name="dataResourceId" value="${parameters.dataResourceId!}"/>
+    <input type="hidden" name="rootContentId" value="${parameters.rootContentId!}"/>
     ${StringUtil.wrapString(surveyString)}
   </form>
 <#else>
Index: applications/content/webapp/content/survey/ViewSurveyResponses.ftl
===================================================================
--- applications/content/webapp/content/survey/ViewSurveyResponses.ftl	(revision 1590602)
+++ applications/content/webapp/content/survey/ViewSurveyResponses.ftl	(working copy)
@@ -23,12 +23,12 @@
 
     <#if questions?has_content>
       <#list questions as question>
-        <#assign results = surveyResults.get(question.surveyQuestionId)?if_exists>
+        <#assign results = surveyResults.get(question.surveyQuestionId)!>
 
         <tr>
           <#-- seperator options -->
           <#if question.surveyQuestionTypeId == "SEPERATOR_TEXT">
-            <td colspan="5" class="label">${question.question?if_exists}</td>
+            <td colspan="5" class="label">${question.question!}</td>
           <#elseif question.surveyQuestionTypeId == "SEPERATOR_LINE">
             <td colspan="5"><hr/></td>
           <#else>
@@ -39,7 +39,7 @@
               <#if (results._total?default(0) == 1)>
                 <#assign answerString = "${uiLabelMap.ContentAnswer}">
               </#if>
-              <div>${question.question?if_exists} (${results._total?default(0)?string.number} ${answerString})</div>
+              <div>${question.question!} (${results._total?default(0)?string.number} ${answerString})</div>
               <#if question.hint?has_content>
                 <div>${question.hint}</div>
               </#if>
@@ -57,13 +57,13 @@
                   <span style="white-space: nowrap;">${uiLabelMap.CommonN}&nbsp;[${results._no_total?default(0)?string("#")} / ${results._no_percent?default(0)?string("#")}%]</span>
                 </div>
               <#elseif question.surveyQuestionTypeId == "OPTION">
-                <#assign options = question.getRelated("SurveyQuestionOption", null, sequenceSort, false)?if_exists>
+                <#assign options = question.getRelated("SurveyQuestionOption", null, sequenceSort, false)!>
                 <#if options?has_content>
                   <#list options as option>
-                    <#assign optionResults = results.get(option.surveyOptionSeqId)?if_exists>
+                    <#assign optionResults = results.get(option.surveyOptionSeqId)!>
                     <div>
                       <span style="white-space: nowrap;">
-                        ${option.description?if_exists}
+                        ${option.description!}
                         &nbsp;[${optionResults._total?default(0)?string("#")} / ${optionResults._percent?default(0?string("#"))}%]
                       </span>
                     </div>
@@ -74,21 +74,21 @@
                 <#if answers?has_content>
                   <#list answers as answer>
                     <#if question.surveyQuestionTypeId == "TEXTAREA">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "TEXT_SHORT">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "TEXT_LONG">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "EMAIL">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "URL">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "DATE">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "CREDIT_CARD">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "GIFT_CARD">
-                      <div>${(answer.textResponse)?if_exists}</div>
+                      <div>${(answer.textResponse)!}</div>
                     <#elseif question.surveyQuestionTypeId == "NUMBER_CURRENCY">
                       <div>${answer.currencyResponse?default(0)}</div>
                     <#elseif question.surveyQuestionTypeId == "NUMBER_FLOAT">
@@ -100,7 +100,7 @@
                     <#elseif question.surveyQuestionTypeId == "CONTENT">
                        <#if answer.contentId?has_content>
                          <#assign content = answer.getRelatedOne("Content", false)>
-                         <a href="<@ofbizUrl>img?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName?if_exists}
+                         <a href="<@ofbizUrl>img?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName!}
                        </#if>
                     </#if>
                   </#list>
Index: applications/content/webapp/content/survey/EditSurveyQuestions.ftl
===================================================================
--- applications/content/webapp/content/survey/EditSurveyQuestions.ftl	(revision 1590602)
+++ applications/content/webapp/content/survey/EditSurveyQuestions.ftl	(working copy)
@@ -45,9 +45,9 @@
         <#assign alt_row = false>
         <#list surveyQuestionAndApplList as surveyQuestionAndAppl>
           <#assign questionType = surveyQuestionAndAppl.getRelatedOne("SurveyQuestionType", true)/>
-          <#assign questionCat = surveyQuestionAndAppl.getRelatedOne("SurveyQuestionCategory", true)?if_exists/>
-          <#assign currentSurveyPage = surveyQuestionAndAppl.getRelatedOne("SurveyPage", true)?if_exists/>
-          <#assign currentSurveyMultiResp = surveyQuestionAndAppl.getRelatedOne("SurveyMultiResp", true)?if_exists/>
+          <#assign questionCat = surveyQuestionAndAppl.getRelatedOne("SurveyQuestionCategory", true)!/>
+          <#assign currentSurveyPage = surveyQuestionAndAppl.getRelatedOne("SurveyPage", true)!/>
+          <#assign currentSurveyMultiResp = surveyQuestionAndAppl.getRelatedOne("SurveyMultiResp", true)!/>
           <#if currentSurveyMultiResp?has_content>
             <#assign currentSurveyMultiRespColumns = currentSurveyMultiResp.getRelated("SurveyMultiRespColumn", null, null, false)/>
           <#else/>
@@ -61,25 +61,25 @@
               <input type="hidden" name="fromDate" value="${surveyQuestionAndAppl.fromDate}" />
               <td>${surveyQuestionAndAppl.surveyQuestionId}</td>
               <td>${questionType.get("description",locale)}</td>
-              <td>${(questionCat.description)?if_exists}</td>
-              <td>${surveyQuestionAndAppl.description?if_exists}</td>
-              <td><input type="text" name="question" size="30" value="${surveyQuestionAndAppl.question?if_exists?html}" />
+              <td>${(questionCat.description)!}</td>
+              <td>${surveyQuestionAndAppl.description!}</td>
+              <td><input type="text" name="question" size="30" value="${surveyQuestionAndAppl.question!?html}" />
               <td>
                 <select name="surveyPageId">
                   <#if surveyQuestionAndAppl.surveyPageSeqId?has_content>
-                    <option value="${surveyQuestionAndAppl.surveyPageSeqId}">${(currentSurveyPage.pageName)?if_exists} [${surveyQuestionAndAppl.surveyPageSeqId}]</option>
+                    <option value="${surveyQuestionAndAppl.surveyPageSeqId}">${(currentSurveyPage.pageName)!} [${surveyQuestionAndAppl.surveyPageSeqId}]</option>
                     <option value="${surveyQuestionAndAppl.surveyPageSeqId}">----</option>
                   </#if>
                   <option value=""></option>
                   <#list surveyPageList as surveyPage>
-                    <option value="${surveyPage.surveyPageSeqId}">${surveyPage.pageName?if_exists} [${surveyPage.surveyPageSeqId}]</option>
+                    <option value="${surveyPage.surveyPageSeqId}">${surveyPage.pageName!} [${surveyPage.surveyPageSeqId}]</option>
                   </#list>
                 </select>
               </td>
               <td>
                 <select name="surveyMultiRespId">
                   <#if surveyQuestionAndAppl.surveyMultiRespId?has_content>
-                    <option value="${surveyQuestionAndAppl.surveyMultiRespId}">${(currentSurveyMultiResp.multiRespTitle)?if_exists} [${surveyQuestionAndAppl.surveyMultiRespId}]</option>
+                    <option value="${surveyQuestionAndAppl.surveyMultiRespId}">${(currentSurveyMultiResp.multiRespTitle)!} [${surveyQuestionAndAppl.surveyMultiRespId}]</option>
                     <option value="${surveyQuestionAndAppl.surveyMultiRespId}">----</option>
                   </#if>
                   <option value=""></option>
@@ -93,7 +93,7 @@
                 <select name="surveyMultiRespColId">
                   <#if surveyQuestionAndAppl.surveyMultiRespColId?has_content>
                     <#assign currentSurveyMultiRespColumn = surveyQuestionAndAppl.getRelatedOne("SurveyMultiRespColumn", false)/>
-                    <option value="${currentSurveyMultiRespColumn.surveyMultiRespColId}">${(currentSurveyMultiRespColumn.columnTitle)?if_exists} [${currentSurveyMultiRespColumn.surveyMultiRespColId}]</option>
+                    <option value="${currentSurveyMultiRespColumn.surveyMultiRespColId}">${(currentSurveyMultiRespColumn.columnTitle)!} [${currentSurveyMultiRespColumn.surveyMultiRespColId}]</option>
                     <option value="${currentSurveyMultiRespColumn.surveyMultiRespColId}">----</option>
                   </#if>
                   <option value=""></option>
@@ -103,7 +103,7 @@
                 </select>
               </td>
               <#else/>
-                <td><input type="text" name="surveyMultiRespColId" size="4" value="${surveyQuestionAndAppl.surveyMultiRespColId?if_exists}"/></td>
+                <td><input type="text" name="surveyMultiRespColId" size="4" value="${surveyQuestionAndAppl.surveyMultiRespColId!}"/></td>
               </#if>
               <td>
                 <select name="requiredField">
@@ -112,9 +112,9 @@
                   <option>Y</option><option>N</option>
                 </select>
               </td>
-              <td><input type="text" name="sequenceNum" size="5" value="${surveyQuestionAndAppl.sequenceNum?if_exists}"/></td>
-              <td><input type="text" name="withSurveyQuestionId" size="5" value="${surveyQuestionAndAppl.withSurveyQuestionId?if_exists}"/></td>
-              <td><input type="text" name="withSurveyOptionSeqId" size="5" value="${surveyQuestionAndAppl.withSurveyOptionSeqId?if_exists}"/></td>
+              <td><input type="text" name="sequenceNum" size="5" value="${surveyQuestionAndAppl.sequenceNum!}"/></td>
+              <td><input type="text" name="withSurveyQuestionId" size="5" value="${surveyQuestionAndAppl.withSurveyQuestionId!}"/></td>
+              <td><input type="text" name="withSurveyOptionSeqId" size="5" value="${surveyQuestionAndAppl.withSurveyOptionSeqId!}"/></td>
               <td><input type="submit" value="${uiLabelMap.CommonUpdate}" class="smallSubmit"/></td>
               <td><a href="<@ofbizUrl>EditSurveyQuestions?surveyId=${requestParameters.surveyId}&amp;surveyQuestionId=${surveyQuestionAndAppl.surveyQuestionId}#edit</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}&nbsp;${uiLabelMap.ContentSurveyQuestion}</a></td>
               </form>
@@ -137,7 +137,7 @@
     <div class="screenlet">
       <div class="screenlet-title-bar">
         <ul>
-          <li class="h3">${uiLabelMap.ContentSurveyApplyQuestionFromCategory} - ${surveyQuestionCategory.description?if_exists} [${surveyQuestionCategory.surveyQuestionCategoryId}]</li>
+          <li class="h3">${uiLabelMap.ContentSurveyApplyQuestionFromCategory} - ${surveyQuestionCategory.description!} [${surveyQuestionCategory.surveyQuestionCategoryId}]</li>
         </ul>
         <br class="clear"/>
       </div>
@@ -167,9 +167,9 @@
               <input type="hidden" name="surveyQuestionCategoryId" value="${requestParameters.surveyQuestionCategoryId}" />
               <tr<#if alt_row> class="alternate-row"</#if>>
                 <td><a href="<@ofbizUrl>EditSurveyQuestions?surveyId=${requestParameters.surveyId}&amp;surveyQuestionId=${question.surveyQuestionId}&amp;surveyQuestionCategoryId=${requestParameters.surveyQuestionCategoryId}#edit</@ofbizUrl>" class="buttontext">${question.surveyQuestionId}</a></td>
-                <td>${question.description?if_exists}</td>
+                <td>${question.description!}</td>
                 <td>${questionType.get("description",locale)}</td>
-                <td>${question.question?if_exists}</td>
+                <td>${question.question!}</td>
               <td>
                 <select name="surveyPageId">
                   <option value=""></option>
@@ -267,7 +267,7 @@
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
-      <li class="h3">${uiLabelMap.ContentSurveyOptions} - ${uiLabelMap.CommonId} ${surveyQuestion.surveyQuestionId?if_exists}</li>
+      <li class="h3">${uiLabelMap.ContentSurveyOptions} - ${uiLabelMap.CommonId} ${surveyQuestion.surveyQuestionId!}</li>
     </ul>
     <br class="clear"/>
   </div>
@@ -282,8 +282,8 @@
       <#assign alt_row = false>
       <#list questionOptions as option>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${option.description?if_exists}</td>
-          <td>${option.sequenceNum?if_exists}</td>
+          <td>${option.description!}</td>
+          <td>${option.sequenceNum!}</td>
           <td><a href="<@ofbizUrl>EditSurveyQuestions?surveyId=${requestParameters.surveyId}&amp;surveyQuestionId=${option.surveyQuestionId}&amp;surveyOptionSeqId=${option.surveyOptionSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a></td>
           <td>
             <form id="deleteSurveyQuestionOption_${option_index}" action="<@ofbizUrl>deleteSurveyQuestionOption</@ofbizUrl>" method="post">
Index: applications/content/webapp/content/cms/CMSSites.ftl
===================================================================
--- applications/content/webapp/content/cms/CMSSites.ftl	(revision 1590602)
+++ applications/content/webapp/content/cms/CMSSites.ftl	(working copy)
@@ -29,10 +29,10 @@
 <#include "publishlib.ftl" />
 -->
 <#if !rootForumId?has_content>
-    <#assign rootForumId=requestParameters.rootForumId?if_exists/>
+    <#assign rootForumId=requestParameters.rootForumId!/>
 </#if>
 <#if !rootForumId?has_content>
-    <#assign rootForumId=defaultSiteId?if_exists/>
+    <#assign rootForumId=defaultSiteId!/>
 </#if>
 <@checkPermission entityOperation="_ADMIN" targetOperation="CONTENT_ADMIN" >
 <br />
@@ -47,7 +47,7 @@
           </td>
           <td valign="middle">
             <div class="boxhead">
-             <input type="text" name="rootForumId" size="20" value="${rootForumId?if_exists}"/>
+             <input type="text" name="rootForumId" size="20" value="${rootForumId!}"/>
             </div>
           </td>
           <td valign="middle" align="right">
@@ -109,7 +109,7 @@
 
 <#macro showSites forumId formAction="/enableSites"  indentIndex=0 catTrail=[]>
 
-<#local thisContentId=catTrail[indentIndex]?if_exists/>
+<#local thisContentId=catTrail[indentIndex]!/>
 
 <#local indent = "">
 <#if 0 < indentIndex >
@@ -124,7 +124,7 @@
          <td >
             ${indent}
             <#local plusMinus="-"/>
-            ${plusMinus} ${content.contentName?if_exists}
+            ${plusMinus} ${content.contentName!}
          </td >
          <td >
             <a class="buttontext" href="<@ofbizUrl>CMSSites?rootForumId=${rootForumId}&amp;moderatedSiteId=${content.contentId}</@ofbizUrl>">Moderate</a>
@@ -160,7 +160,7 @@
           <td> <b>name:</b>${content.contentName} </td>
       <@injectNodeTrailCsv subContentId=content.contentId redo="true" contentAssocTypeId="PUBLISH_LINK">
           <td>
-  <a class="tabButton" href="<@ofbizUrl>CMSContentEdit?contentId=${content.contentId}&amp;nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" >View</a>
+  <a class="tabButton" href="<@ofbizUrl>CMSContentEdit?contentId=${content.contentId}&amp;nodeTrailCsv=${nodeTrailCsv!}</@ofbizUrl>" >View</a>
           </td>
           <td>
           <b>submitted:</b>
@@ -227,9 +227,9 @@
             <#list blogRoleIdList as roleTypeId>
               <#assign cappedSiteRole= Static["org.ofbiz.entity.model.ModelUtil"].dbNameToVarName(roleTypeId) />
               <td align="center">
-              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if siteRoleMap[cappedSiteRole]?if_exists == "Y">checked="checked"</#if>/>
+              <input type="checkbox" name="${cappedSiteRole}_o_${rowCount}" value="Y" <#if siteRoleMap[cappedSiteRole]! == "Y">checked="checked"</#if>/>
               </td>
-          <input type="hidden" name="${cappedSiteRole}FromDate_o_${rowCount}" value="${siteRoleMap[cappedSiteRole + "FromDate"]?if_exists}"/>
+          <input type="hidden" name="${cappedSiteRole}FromDate_o_${rowCount}" value="${siteRoleMap[cappedSiteRole + "FromDate"]!}"/>
             </#list>
           </tr>
           <input type="hidden" name="contentId_o_${rowCount}" value="${forumId}"/>
Index: applications/content/webapp/content/cms/CMSContentEdit.ftl
===================================================================
--- applications/content/webapp/content/cms/CMSContentEdit.ftl	(revision 1590602)
+++ applications/content/webapp/content/cms/CMSContentEdit.ftl	(working copy)
@@ -32,7 +32,7 @@
 <table width='100%' cellpadding='0' cellspacing='0' border='0'>
   <tr>
     <td>
-      <h1>${contentId?if_exists}
+      <h1>${contentId!}
       </h1>
     </td>
     <td align="right">
@@ -43,7 +43,7 @@
 
 
 <#if currentValue?has_content>
-    <@renderTextData content=currentValue textData=textData?if_exists />
+    <@renderTextData content=currentValue textData=textData! />
 </#if>
 <#--
 <#if textList?has_content>
@@ -178,7 +178,7 @@
             <div class="boxhead">&nbsp;Image Information</div>
           </td>
           <td valign="middle" align="right">
-            <a href="<@ofbizUrl>EditAddImage?contentId=${imgContentId?if_exists}dataResourceId=${imgDataResourceId?if_exists}</@ofbizUrl>" class="submenutextright">Update</a>
+            <a href="<@ofbizUrl>EditAddImage?contentId=${imgContentId!}dataResourceId=${imgDataResourceId!}</@ofbizUrl>" class="submenutextright">Update</a>
           </td>
         </tr>
       </table>
@@ -191,7 +191,7 @@
           <td>
   <table width="100%" border="0" cellpadding="0" cellspacing='0'>
     <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Image</b></div></td><td>&nbsp;</td><td><div class='tabletext'>
-        <img src="<@ofbizUrl>img?imgId=${imgDataResourceId?if_exists}</@ofbizUrl>" alt="" />
+        <img src="<@ofbizUrl>img?imgId=${imgDataResourceId!}</@ofbizUrl>" alt="" />
 <div></td></tr>
   </table>
           </td>
@@ -215,7 +215,7 @@
             <@renderTextData contentId=contentId textData=currentTextData />
         </#if>
     </#if>
-    <#assign contentAssocViewList =Static["org.ofbiz.content.content.ContentWorker"].getContentAssocViewList(delegator, contentId, null, "SUB_CONTENT", null, null)?if_exists />
+    <#assign contentAssocViewList =Static["org.ofbiz.content.content.ContentWorker"].getContentAssocViewList(delegator, contentId, null, "SUB_CONTENT", null, null)! />
     <#list contentAssocViewList as contentAssocDataResourceView>
         <#assign contentId2 = contentAssocDataResourceView.contentId/>
         <#assign mapKey = contentAssocDataResourceView.mapKey/>
@@ -229,7 +229,7 @@
 -->
 
 <#macro renderTextData content textData >
-    <#assign contentId=content.contentId?if_exists/>
+    <#assign contentId=content.contentId!/>
 <table border="0" width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
   <tr>
     <td width='100%'>
@@ -239,7 +239,7 @@
             <div class="boxhead">&nbsp;</div>
           </td>
           <td valign="middle" align="right">
-            <a href="<@ofbizUrl>EditAddContent?contentId=${content.contentId?if_exists}&amp;contentIdTo=${content.caContentIdTo?if_exists}&amp;contentAssocTypeId=${content.caContentAssocTypeId?if_exists}&amp;fromDate=${content.caFromDate?if_exists}&amp;mapKey=${content.caMapKey?if_exists}</@ofbizUrl>" class="submenutextright">Update</a>
+            <a href="<@ofbizUrl>EditAddContent?contentId=${content.contentId!}&amp;contentIdTo=${content.caContentIdTo!}&amp;contentAssocTypeId=${content.caContentAssocTypeId!}&amp;fromDate=${content.caFromDate!}&amp;mapKey=${content.caMapKey!}</@ofbizUrl>" class="submenutextright">Update</a>
           </td>
         </tr>
       </table>
@@ -251,8 +251,8 @@
         <tr>
           <td>
   <table width="100%" border="0" cellpadding="0" cellspacing='0'>
-    <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Content Name</b></div></td><td>&nbsp;</td><td><div class='tabletext'>${content.contentName?if_exists}</div></td></tr>
-    <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Description</b></div></td><td>&nbsp;</td><td><div class='tabletext'>${content.description?if_exists}<div></td></tr>
+    <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Content Name</b></div></td><td>&nbsp;</td><td><div class='tabletext'>${content.contentName!}</div></td></tr>
+    <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Description</b></div></td><td>&nbsp;</td><td><div class='tabletext'>${content.description!}<div></td></tr>
   </table>
           </td>
         </tr>
@@ -266,7 +266,7 @@
           <td>
   <table width="100%" border="0" cellpadding="0" cellspacing='0'>
     <tr><td align="right" nowrap="nowrap"><div class='tabletext'><b></b></div></td><td>&nbsp;</td><td><div class='tabletext'>
-<#-- ${textData?if_exists} -->
+<#-- ${textData!} -->
 <@renderContentAsText subContentId=content.contentId  editRequestName="/EditAddContent"/>
 <div></td></tr>
   </table>
@@ -280,15 +280,15 @@
 
 <#macro publishContent forumId contentId formAction="/updatePublishLinksMulti"  indentIndex=0 catTrail=[]>
 
-<#local thisContentId=catTrail[indentIndex]?if_exists/>
+<#local thisContentId=catTrail[indentIndex]!/>
 
 <#assign viewIdx = "" />
 <#if requestParameters.viewIndex?has_content>
-<#assign viewIdx = requestParameters.viewIndex?if_exists?number />
+<#assign viewIdx = requestParameters.viewIndex!?number />
 </#if>
 <#assign viewSz = "" />
 <#if requestParameters.viewSize?has_content>
-<#assign viewSz = requestParameters.viewSize?if_exists?number />
+<#assign viewSz = requestParameters.viewSize!?number />
 </#if>
 
 <#local indent = "">
@@ -314,7 +314,7 @@
 
 <@loopSubContent contentId=forumId viewIndex=viewIdx viewSize=viewSz contentAssocTypeId="SUBSITE" returnAfterPickWhen="1==1";>
     <#local isPublished = "" />
-    <#assign contentAssocViewFrom=Static["org.ofbiz.content.content.ContentWorker"].getContentAssocViewFrom(delegator, subContentId, contentId, "PUBLISH_LINK", null, null)?if_exists />
+    <#assign contentAssocViewFrom=Static["org.ofbiz.content.content.ContentWorker"].getContentAssocViewFrom(delegator, subContentId, contentId, "PUBLISH_LINK", null, null)! />
     <#if contentAssocViewFrom?has_content>
         <#local isPublished = "checked='checked'" />
     </#if>
@@ -322,7 +322,7 @@
          <td >
             ${indent}
             <#local plusMinus="-"/>
-            ${plusMinus} ${content.contentName?if_exists}
+            ${plusMinus} ${content.contentName!}
          </td >
          <td  >
             <input type="checkbox" name="publish_o_${rowCount}" value="Y" ${isPublished}/>
Index: applications/content/webapp/content/website/WebSiteCMSNav.ftl
===================================================================
--- applications/content/webapp/content/website/WebSiteCMSNav.ftl	(revision 1590602)
+++ applications/content/webapp/content/website/WebSiteCMSNav.ftl	(working copy)
@@ -28,8 +28,8 @@
     jQuery(document).ready(loadTrees);
     jQuery(document).ready(createEditor);
 
-    var contentRoot = '${contentRoot?if_exists}';
-    var webSiteId = '${webSiteId?if_exists}';
+    var contentRoot = '${contentRoot!}';
+    var webSiteId = '${webSiteId!}';
     var editorUrl = '<@ofbizUrl>/views/WebSiteCMSContent</@ofbizUrl>';
     var aliasUrl = '<@ofbizUrl>/views/WebSiteCMSPathAlias</@ofbizUrl>';
     var metaUrl = '<@ofbizUrl>/views/WebSiteCMSMetaInfo</@ofbizUrl>';
@@ -53,7 +53,7 @@
             {
             "data": {"title" : cutNameLength("${content.contentName!assoc.contentIdTo}"), "attr": {"href": "javascript:void(0);", "onClick" : "callDocument('', '${assoc.contentIdTo}', jQuery('#${assoc.contentIdTo}'), '');"}},
            
-            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)?if_exists/>
+            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)!/>
                 "attr": {"id" : "${assoc.contentIdTo}", "contentId" : "${assoc.contentId}", "fromDate" : "${assoc.fromDate}", "contentAssocTypeId" : "${assoc.contentAssocTypeId}"}
             <#if assocChilds?has_content>
                 ,"children": [
@@ -74,7 +74,7 @@
             <#assign content = assoc.getRelatedOne("ToContent", false)/>
             {
             "data": {"title" : cutNameLength("${content.contentName!assoc.contentIdTo}"), "attr": {"href": "javascript:void(0);", "onClick" : "callDocument('${assoc.contentIdTo}');"}},
-            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)?if_exists/>
+            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)!/>
                 "attr": {"id" : "${assoc.contentIdTo}", "contentId" : "${assoc.contentId}", "fromDate" : "${assoc.fromDate}"}
             <#if assocChilds?has_content>
                 ,"children": [
@@ -96,7 +96,7 @@
             <#assign content = assoc.getRelatedOne("ToContent", false)/>
             {
             "data": {"title" : cutNameLength("${content.contentName!assoc.contentIdTo}"), "attr": {"href": "javascript:void(0);", "onClick" : "callDocument('', '${assoc.contentIdTo}', '', '');"}},
-            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)?if_exists/>
+            <#assign assocChilds  = content.getRelated("FromContentAssoc", null, null, false)!/>
                 "attr": {"id" : "${assoc.contentIdTo}", "contentId" : "${assoc.contentId}", "fromDate" : "${assoc.fromDate}"}
             <#if assocChilds?has_content>
                 ,"children": [
Index: applications/content/webapp/content/website/WebSiteCMSMeta.ftl
===================================================================
--- applications/content/webapp/content/website/WebSiteCMSMeta.ftl	(revision 1590602)
+++ applications/content/webapp/content/website/WebSiteCMSMeta.ftl	(working copy)
@@ -22,8 +22,8 @@
     <input type="hidden" name="dataResourceTypeId" value="SHORT_TEXT"/>
     <input type="hidden" name="contentAssocTypeId" value="SUB_CONTENT"/>
     <input type="hidden" name="statusId" value="CTNT_PUBLISHED"/>
-    <input type="hidden" name="ownerContentId" value="${(content.contentId)?if_exists}"/>
-    <input type="hidden" name="contentIdFrom" value="${(content.contentId)?if_exists}"/>
+    <input type="hidden" name="ownerContentId" value="${(content.contentId)!}"/>
+    <input type="hidden" name="contentIdFrom" value="${(content.contentId)!}"/>
 </#macro>
 
 <#-- cms menu bar -->
@@ -107,19 +107,19 @@
     <table>
         <tr>
             <td class="label">Page Title</td>
-            <td><input type="text" name="title" value="${(title.objectInfo)?if_exists}" size="40" /></td>
+            <td><input type="text" name="title" value="${(title.objectInfo)!}" size="40" /></td>
         </tr>
         <tr>
             <td class="label">Title Property</td>
-            <td><input type="text" name="titleProperty" value="${(titleProperty.objectInfo)?if_exists}" size="40" /></td>
+            <td><input type="text" name="titleProperty" value="${(titleProperty.objectInfo)!}" size="40" /></td>
         </tr>
         <tr>
             <td class="label">Meta-Description</td>
-            <td><input type="text" name="metaDescription" value="${(metaDescription.objectInfo)?if_exists}" size="40" /></td>
+            <td><input type="text" name="metaDescription" value="${(metaDescription.objectInfo)!}" size="40" /></td>
         </tr>
         <tr>
             <td class="label">Meta-Keywords</td>
-            <td><input type="text" name="metaKeywords" value="${(metaKeywords.objectInfo)?if_exists}" size="40" /></td>
+            <td><input type="text" name="metaKeywords" value="${(metaKeywords.objectInfo)!}" size="40" /></td>
         </tr>
         <tr><td colspan="2">&nbsp;</td></tr>
         <tr>
Index: applications/content/webapp/content/website/WebSiteCMSContent.ftl
===================================================================
--- applications/content/webapp/content/website/WebSiteCMSContent.ftl	(revision 1590602)
+++ applications/content/webapp/content/website/WebSiteCMSContent.ftl	(working copy)
@@ -163,7 +163,7 @@
 <#if (dataResourceTypeId?has_content)>
     <form name="cmsform" enctype="multipart/form-data" method="post" action="<@ofbizUrl>${formAction}</@ofbizUrl>" style="margin: 0;">
         <#if (content?has_content)>
-            <input type="hidden" name="dataResourceId" value="${(dataResource.dataResourceId)?if_exists}"/>
+            <input type="hidden" name="dataResourceId" value="${(dataResource.dataResourceId)!}"/>
             <input type="hidden" name="contentId" value="${content.contentId}"/>
 
             <#list requestParameters.keySet() as paramName>
@@ -189,7 +189,7 @@
         </#if>
         </#if>
         <input type="hidden" name="webSiteId" value="${webSiteId}"/>
-        <input type="hidden" name="dataResourceName" value="${(dataResource.dataResourceName)?if_exists}"/>
+        <input type="hidden" name="dataResourceName" value="${(dataResource.dataResourceName)!}"/>
 
         <table>
           <#if (content?has_content)>
@@ -201,19 +201,19 @@
           <tr>
             <td class="label">${uiLabelMap.CommonName}</td>
             <td>
-                <input type="text" name="contentName" value="${(content.contentName)?if_exists}" size="40"/>
+                <input type="text" name="contentName" value="${(content.contentName)!}" size="40"/>
             </td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonDescription}</td>
             <td>
-                <textarea name="description" cols="40" rows="6">${(content.description)?if_exists}</textarea>
+                <textarea name="description" cols="40" rows="6">${(content.description)!}</textarea>
             </td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.ContentMapKey}</td>
             <td>
-                <input type="text" name="mapKey" value="${(assoc.mapKey)?if_exists}" size="40"/>
+                <input type="text" name="mapKey" value="${(assoc.mapKey)!}" size="40"/>
             </td>
           </tr>
           <tr>
@@ -237,7 +237,7 @@
           <tr>
             <td class="label">${uiLabelMap.CommonSequenceNum}</td>
             <td>
-              <input type="text" name="sequenceNum" value="${(currentPurpose.sequenceNum)?if_exists}" size="5" />
+              <input type="text" name="sequenceNum" value="${(currentPurpose.sequenceNum)!}" size="5" />
             </td>
           </tr>
           <tr>
@@ -246,7 +246,7 @@
                 <select name="dataTemplateTypeId">
                     <#if (dataResource?has_content)>
                         <#if (dataResource.dataTemplateTypeId?has_content)>
-                            <#assign thisType = dataResource.getRelatedOne("DataTemplateType", false)?if_exists/>
+                            <#assign thisType = dataResource.getRelatedOne("DataTemplateType", false)!/>
                             <option value="${thisType.dataTemplateTypeId}">${thisType.description}</option>
                             <option value="${thisType.dataTemplateTypeId}">----</option>
                         </#if>
@@ -282,7 +282,7 @@
                     <#if (content?has_content)>
                         <#if (content.templateDataResourceId?has_content && content.templateDataResourceId != "NONE")>
                             <#assign template = content.getRelatedOne("TemplateDataResource", false)/>
-                            <option value="${template.dataResourceId}">${template.dataResourceName?if_exists}</option>
+                            <option value="${template.dataResourceId}">${template.dataResourceName!}</option>
                             <option value="${template.dataResourceId}">----</option>
                         </#if>
                     </#if>
@@ -359,14 +359,14 @@
             <tr>
               <td class="label">${uiLabelMap.ContentUrl}</td>
               <td>
-                <input type="text" name="objectInfo" size="40" maxsize="255" value="${(dataResource.objectInfo)?if_exists}"/>
+                <input type="text" name="objectInfo" size="40" maxsize="255" value="${(dataResource.objectInfo)!}"/>
               </td>
             </tr>
           <#elseif (dataResourceTypeId == 'SHORT_TEXT')>
             <tr>
               <td class="label">${uiLabelMap.ContentText}</td>
               <td>
-                <input type="text" name="objectInfo" size="40" maxsize="255" value="${(dataResource.objectInfo)?if_exists}"/>
+                <input type="text" name="objectInfo" size="40" maxsize="255" value="${(dataResource.objectInfo)!}"/>
               </td>
             </tr>
           <#elseif (dataResourceTypeId == 'ELECTRONIC_TEXT')>
Index: applications/order/email/default/emailprocessnotify.ftl
===================================================================
--- applications/order/email/default/emailprocessnotify.ftl	(revision 1590602)
+++ applications/order/email/default/emailprocessnotify.ftl	(working copy)
@@ -30,26 +30,26 @@
 <table width="70%">
   <tr>
     <td align="right"><b>Order #:</b></td>
-    <td>${orderId?if_exists}</td>
+    <td>${orderId!}</td>
   </tr>
   <tr>
     <td align="right"><b>Order Date:</b></td>
-    <td>${orderDate?if_exists}</td>
+    <td>${orderDate!}</td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <td align="right"><b>Estimated Start Date:</b></td>
-    <td>${estimatedStartDate?if_exists}</td>
+    <td>${estimatedStartDate!}</td>
   </tr>
   <tr>
     <td align="right"><b>Actual Start Date:</b></td>
-    <td>${actualStartDate?if_exists}</td>
+    <td>${actualStartDate!}</td>
   </tr>
   <tr>
     <td align="right"><b>Current State:<b></td>
-    <td>${omgStatusId?if_exists} <#--WfUtil.getOMGStatus(request.getParameter("currentStatusId"))--></td>
+    <td>${omgStatusId!} <#--WfUtil.getOMGStatus(request.getParameter("currentStatusId"))--></td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
@@ -58,15 +58,15 @@
   <#list assignments as assign>
   <tr>
     <td align="right"><b>Assigned Party ID:</b></td>
-    <td>${assign.partyId?if_exists}</td>
+    <td>${assign.partyId!}</td>
   </tr>
   <tr>
     <td align="right"><b>Assigned Role Type:</b></td>
-    <td>${assign.roleTypeId?if_exists}</td>
+    <td>${assign.roleTypeId!}</td>
   </tr>
   <tr>
     <td align="right"><b>Assignment Status:</b></td>
-    <td>${assign.statusId?if_exists}</td>
+    <td>${assign.statusId!}</td>
   </tr>
   </#list>
 
Index: applications/order/webapp/ordermgr/request/AddedNoteCustRequestNotification.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/AddedNoteCustRequestNotification.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/AddedNoteCustRequestNotification.ftl	(working copy)
@@ -20,17 +20,17 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <title>${title}</title>
-        <link rel="stylesheet" href="${baseSecureUrl?if_exists}/images/maincss.css" type="text/css"/>
+        <link rel="stylesheet" href="${baseSecureUrl!}/images/maincss.css" type="text/css"/>
     </head>
     <body>
         <h2>${title}</h2>
-        <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
-        <p>Your Customer Request ${custRequest.custRequestName?if_exists} [${custRequest.custRequestId}] has a note added to it:<br />
-        ${StringUtil.wrapString(noteData.noteInfo?if_exists)}
+        <p>Hello ${person.firstName!} ${person.lastName!},</p>
+        <p>Your Customer Request ${custRequest.custRequestName!} [${custRequest.custRequestId}] has a note added to it:<br />
+        ${StringUtil.wrapString(noteData.noteInfo!)}
         <br /><br />
         Please login to the url below and add another note as a reply if required.<br /><br />
         The status and used hours can always be checked <br />
-        <a href="${StringUtil.wrapString(baseSecureUrl?if_exists)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">here.....</a>
+        <a href="${StringUtil.wrapString(baseSecureUrl!)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">here.....</a>
         <br /><br />
         Regards.<br /><br />
         Thank you for your business.
Index: applications/order/webapp/ordermgr/request/requestDate.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/requestDate.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/requestDate.ftl	(working copy)
@@ -28,7 +28,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="70%">
-                    ${(custRequest.custRequestDate.toString())?if_exists}
+                    ${(custRequest.custRequestDate.toString())!}
                 </td>
             </tr>
             <tr><td colspan="7"><hr /></td></tr>
@@ -38,7 +38,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="70%">
-                    ${(custRequest.createdDate.toString())?if_exists}
+                    ${(custRequest.createdDate.toString())!}
                 </td>
             </tr>
             <tr><td colspan="7"><hr /></td></tr>
@@ -48,7 +48,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="70%">
-                    ${(custRequest.lastModifiedDate.toString())?if_exists}
+                    ${(custRequest.lastModifiedDate.toString())!}
                 </td>
             </tr>
         </table>
Index: applications/order/webapp/ordermgr/request/CompletedCustRequestNotification.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/CompletedCustRequestNotification.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/CompletedCustRequestNotification.ftl	(working copy)
@@ -20,15 +20,15 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <title>${title}</title>
-        <link rel="stylesheet" href="${StringUtil.wrapString(baseUrl?if_exists)}/images/maincss.css" type="text/css"/>
+        <link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/>
     </head>
     <body>
         <h1>${title}</h1>
-        <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
-        <p>Your Customer Request ${custRequest.custRequestName?if_exists} [${custRequest.custRequestId}] has been completed.
+        <p>Hello ${person.firstName!} ${person.lastName!},</p>
+        <p>Your Customer Request ${custRequest.custRequestName!} [${custRequest.custRequestId}] has been completed.
         <br /><br />
         The status and used hours can always be checked at the url: <br />
-        <a href="${StringUtil.wrapString(baseUrl?if_exists)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">${baseUrl?if_exists}/myportal/control/ViewRequest?custRequestId=${custRequest.custRequestId}</a>
+        <a href="${StringUtil.wrapString(baseUrl!)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">${baseUrl!}/myportal/control/ViewRequest?custRequestId=${custRequest.custRequestId}</a>
         <br /><br />
         Regards.<br /><br />
         Thank you for your business.
Index: applications/order/webapp/ordermgr/request/QuoteLinks.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/QuoteLinks.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/QuoteLinks.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if custRequestItem?exists>
+<#if custRequestItem??>
   <#if quoteId?has_content>
   <div><a href="<@ofbizUrl>EditQuoteItemForRequest?quoteId=${quoteId}&custRequestId=${custRequestItem.custRequestId}&custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.PageTitleEditQuoteItemForCustRequest}</a> [${quoteId}]</div>
   <#else>
Index: applications/order/webapp/ordermgr/request/ViewRequestItemInfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/ViewRequestItemInfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/ViewRequestItemInfo.ftl	(working copy)
@@ -33,13 +33,13 @@
             </tr>
             <#assign alt_row = false>
             <#list requestItems as requestItem>
-                <#if requestItem.productId?exists>
+                <#if requestItem.productId??>
                     <#assign product = requestItem.getRelatedOne("Product", false)>
                 </#if>
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td valign="top">
                         <div>
-                            <#if showRequestManagementLinks?exists>
+                            <#if showRequestManagementLinks??>
                                 <a href="<@ofbizUrl>EditRequestItem?custRequestId=${requestItem.custRequestId}&amp;custRequestItemSeqId=${requestItem.custRequestItemSeqId}</@ofbizUrl>" class="buttontext">${requestItem.custRequestItemSeqId}</a>
                             <#else>
                                 ${requestItem.custRequestItemSeqId}
@@ -48,16 +48,16 @@
                     </td>
                     <td valign="top">
                         <div>
-                            ${(product.internalName)?if_exists}&nbsp;
-                            <#if showRequestManagementLinks?exists>
-                                <a href="/catalog/control/EditProduct?productId=${requestItem.productId?if_exists}" class="buttontext">${requestItem.productId?if_exists}</a>
+                            ${(product.internalName)!}&nbsp;
+                            <#if showRequestManagementLinks??>
+                                <a href="/catalog/control/EditProduct?productId=${requestItem.productId!}" class="buttontext">${requestItem.productId!}</a>
                             <#else>
-                                <a href="<@ofbizUrl>product?product_id=${requestItem.productId?if_exists}</@ofbizUrl>" class="buttontext">${requestItem.productId?if_exists}</a>
+                                <a href="<@ofbizUrl>product?product_id=${requestItem.productId!}</@ofbizUrl>" class="buttontext">${requestItem.productId!}</a>
                             </#if>
                         </div>
                     </td>
-                    <td align="right" valign="top">${requestItem.quantity?if_exists}</td>
-                    <td align="right" valign="top">${requestItem.selectedAmount?if_exists}</td>
+                    <td align="right" valign="top">${requestItem.quantity!}</td>
+                    <td align="right" valign="top">${requestItem.selectedAmount!}</td>
                     <td align="right" valign="top"><@ofbizCurrency amount=requestItem.maximumAmount isoCode=request.maximumAmountUomId/></td>
                 </tr>
                 <#-- toggle the row color -->
Index: applications/order/webapp/ordermgr/request/requestContactMech.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/requestContactMech.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/requestContactMech.ftl	(working copy)
@@ -21,13 +21,13 @@
 
 <#if "POSTAL_ADDRESS" == fulfillContactMech.contactMechTypeId>
   <#assign label = uiLabelMap.PartyAddressMailingShipping>
-  <#assign postalAddress = fulfillContactMech.getRelatedOne("PostalAddress", true)?if_exists>
+  <#assign postalAddress = fulfillContactMech.getRelatedOne("PostalAddress", true)!>
 <#elseif "EMAIL_ADDRESS" == fulfillContactMech.contactMechTypeId>
   <#assign label = uiLabelMap.PartyToEmailAddress>
-  <#assign emailAddress = fulfillContactMech.infoString?if_exists>
+  <#assign emailAddress = fulfillContactMech.infoString!>
 <#elseif "TELECOM_NUMBER" == fulfillContactMech.contactMechTypeId>
   <#assign label = uiLabelMap.PartyPhoneNumber>
-  <#assign telecomNumber = fulfillContactMech.getRelatedOne("TelecomNumber", true)?if_exists>
+  <#assign telecomNumber = fulfillContactMech.getRelatedOne("TelecomNumber", true)!>
 </#if>
 
 <div class="screenlet">
@@ -48,14 +48,14 @@
                       <#if postalAddress?has_content>
                         <#if postalAddress.toName?has_content><span class="label">${uiLabelMap.PartyAddrToName}</span>&nbsp;${postalAddress.toName}<br /></#if>
                         <#if postalAddress.attnName?has_content><span class="label">${uiLabelMap.PartyAddrAttnName}</span>&nbsp;${postalAddress.attnName}<br /></#if>
-                        ${postalAddress.address1?if_exists}<br />
+                        ${postalAddress.address1!}<br />
                         <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if>
-                        ${postalAddress.city?if_exists},
+                        ${postalAddress.city!},
                         <#if postalAddress.stateProvinceGeoId?has_content>
                             <#assign stateProvince = postalAddress.getRelatedOne("StateProvinceGeo", true)>
                             ${stateProvince.abbreviation?default(stateProvince.geoId)}
                         </#if>
-                        ${postalAddress.postalCode?if_exists}
+                        ${postalAddress.postalCode!}
                         <#if postalAddress.countryGeoId?has_content><br />
                              <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
                              ${country.geoName?default(country.geoId)}
@@ -63,7 +63,7 @@
                       </#if>
 
                       <#if telecomNumber?has_content>
-                        ${telecomNumber.countryCode?if_exists}
+                        ${telecomNumber.countryCode!}
                         <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if>${telecomNumber.contactNumber?default("000-0000")}
                         <#if (telecomNumber?has_content && !telecomNumber.countryCode?has_content) || telecomNumber.countryCode = "011">
                           <a target="_blank" href="${uiLabelMap.CommonLookupAnywhoLink}" class="buttontext">${uiLabelMap.CommonLookupAnywho}</a>
Index: applications/order/webapp/ordermgr/request/CopyRequestItem.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/CopyRequestItem.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/CopyRequestItem.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if custRequestItem?exists>
+<#if custRequestItem??>
 <form action="<@ofbizUrl>copyCustRequestItem</@ofbizUrl>" method="post">
     <input type="hidden" name="custRequestId" value="${custRequestItem.custRequestId}"/>
     <input type="hidden" name="custRequestItemSeqId" value="${custRequestItem.custRequestItemSeqId}"/>
Index: applications/order/webapp/ordermgr/request/CreateCustRequestNotification.ftl
===================================================================
--- applications/order/webapp/ordermgr/request/CreateCustRequestNotification.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/request/CreateCustRequestNotification.ftl	(working copy)
@@ -20,17 +20,17 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <title>${title}</title>
-        <link rel="stylesheet" href="${StringUtil.wrapString(baseUrl?if_exists)}/images/maincss.css" type="text/css"/>
+        <link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/>
     </head>
     <body>
         <h1>${title}</h1>
-        <p>Hello ${person.firstName?if_exists} ${person.middleName?if_exists} ${person.lastName?if_exists},</p>
-        <p>Your Customer Request ${custRequest.custRequestName?if_exists} [${custRequest.custRequestId}] has been created successfully.
+        <p>Hello ${person.firstName!} ${person.middleName!} ${person.lastName!},</p>
+        <p>Your Customer Request ${custRequest.custRequestName!} [${custRequest.custRequestId}] has been created successfully.
         <br /><br />
         We will solve/implement the request as soon as possible
         <br /><br />
         The status and used hours can always be checked <br />
-        <a href="${StringUtil.wrapString(baseUrl?if_exists)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">here....</a>
+        <a href="${StringUtil.wrapString(baseUrl!)}/myportal/control/showPortletDecorator?portalPortletId=ViewCustRequest&amp;id=${custRequest.custRequestId}">here....</a>
         <br /><br />
         Regards.
         <br /><br />
Index: applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl	(working copy)
@@ -30,7 +30,7 @@
       <#assign cardNumberDisplay = cardNumber>
     </#if>
   </#if>
-  ${cardNumberDisplay?if_exists}
+  ${cardNumberDisplay!}
 </#macro>
 
 <div class="screenlet">
@@ -59,14 +59,14 @@
              <#else>
                <td>${payment.paymentId}</td>
              </#if>
-             <td>${partyName.groupName?if_exists}${partyName.lastName?if_exists} ${partyName.firstName?if_exists} ${partyName.middleName?if_exists}
+             <td>${partyName.groupName!}${partyName.lastName!} ${partyName.firstName!} ${partyName.middleName!}
              <#if security.hasPermission("PARTYMGR_VIEW", session) || security.hasPermission("PARTYMGR_ADMIN", session)>
                [<a href="/partymgr/control/viewprofile?partyId=${partyId}">${partyId}</a>]
              <#else>
                [${partyId}]
              </#if>
              </td>
-             <td><@ofbizCurrency amount=payment.amount?if_exists/></td>
+             <td><@ofbizCurrency amount=payment.amount!/></td>
              <td>${statusItem.description}</td>
            </tr>
          </#list>
@@ -96,12 +96,12 @@
          <#assign orderPaymentStatuses = orderReadHelper.getOrderPaymentStatuses()>
          <#if orderPaymentStatuses?has_content>
            <#list orderPaymentStatuses as orderPaymentStatus>
-             <#assign statusItem = orderPaymentStatus.getRelatedOne("StatusItem", false)?if_exists>
+             <#assign statusItem = orderPaymentStatus.getRelatedOne("StatusItem", false)!>
              <#if statusItem?has_content>
                 <div>
                   ${statusItem.get("description",locale)} <#if orderPaymentStatus.statusDatetime?has_content>- ${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(orderPaymentStatus.statusDatetime, "", locale, timeZone)!}</#if>
                   &nbsp;
-                  ${uiLabelMap.CommonBy} - [${orderPaymentStatus.statusUserLogin?if_exists}]
+                  ${uiLabelMap.CommonBy} - [${orderPaymentStatus.statusUserLogin!}]
                 </div>
              </#if>
            </#list>
@@ -120,13 +120,13 @@
           </#if>
           <#assign outputted = "true">
           <#-- try the paymentMethod first; if paymentMethodId is specified it overrides paymentMethodTypeId -->
-          <#assign paymentMethod = orderPaymentPreference.getRelatedOne("PaymentMethod", false)?if_exists>
+          <#assign paymentMethod = orderPaymentPreference.getRelatedOne("PaymentMethod", false)!>
           <#if !paymentMethod?has_content>
             <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType", false)>
             <#if paymentMethodType.paymentMethodTypeId == "EXT_BILLACT">
                 <#assign outputted = "false">
                 <#-- billing account -->
-                <#if billingAccount?exists>
+                <#if billingAccount??>
                   <#if outputted?default("false") == "true">
                     <tr><td colspan="4"><hr /></td></tr>
                   </#if>
@@ -144,7 +144,7 @@
                         <table class="basic-table" cellspacing='0'>
                             <tr>
                                 <td valign="top">
-                                    ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${billingAccount.billingAccountId}</a>  - ${billingAccount.description?if_exists}
+                                    ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${billingAccount.billingAccountId}</a>  - ${billingAccount.description!}
                                 </td>
                                 <td valign="top" align="right">
                                     <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED" && orderPaymentPreference.statusId != "PAYMENT_RECEIVED">
@@ -163,7 +163,7 @@
                                   <input type="hidden" name="orderId" value="${orderId}" />
                                   <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                                   <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                                  <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                                  <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                                 </form>
                               </div>
                             </#if>
@@ -172,10 +172,10 @@
                   </tr>
                 </#if>
             <#elseif paymentMethodType.paymentMethodTypeId == "FIN_ACCOUNT">
-              <#assign finAccount = orderPaymentPreference.getRelatedOne("FinAccount", false)?if_exists/>
+              <#assign finAccount = orderPaymentPreference.getRelatedOne("FinAccount", false)!/>
               <#if (finAccount?has_content)>
                 <#assign gatewayResponses = orderPaymentPreference.getRelated("PaymentGatewayResponse", null, null, false)>
-                <#assign finAccountType = finAccount.getRelatedOne("FinAccountType", false)?if_exists/>
+                <#assign finAccountType = finAccount.getRelatedOne("FinAccountType", false)!/>
                 <tr>
                   <td align="right" valign="top" width="29%">
                     <div>
@@ -193,16 +193,16 @@
                       </#if>
                       #${finAccount.finAccountCode?default(finAccount.finAccountId)} (<a href="/accounting/control/EditFinAccount?finAccountId=${finAccount.finAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${finAccount.finAccountId}</a>)
                       <br />
-                      ${finAccount.finAccountName?if_exists}
+                      ${finAccount.finAccountName!}
                       <br />
 
                       <#-- Authorize and Capture transactions -->
                       <div>
                         <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED">
-                          <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a>
+                          <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId!}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a>
                         </#if>
                         <#if orderPaymentPreference.statusId == "PAYMENT_AUTHORIZED">
-                          <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a>
+                          <a href="/accounting/control/CaptureTransaction?orderId=${orderId!}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a>
                         </#if>
                       </div>
                     </div>
@@ -214,7 +214,7 @@
                           ${(transactionCode.get("description",locale))?default("Unknown")}:
                           <#if gatewayResponse.transactionDate?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(gatewayResponse.transactionDate, "", locale, timeZone)!} </#if>
                           <@ofbizCurrency amount=gatewayResponse.amount isoCode=currencyUomId/><br />
-                          (<span class="label">${uiLabelMap.OrderReference}</span>&nbsp;${gatewayResponse.referenceNum?if_exists}
+                          (<span class="label">${uiLabelMap.OrderReference}</span>&nbsp;${gatewayResponse.referenceNum!}
                           <span class="label">${uiLabelMap.OrderAvs}</span>&nbsp;${gatewayResponse.gatewayAvsResult?default("N/A")}
                           <span class="label">${uiLabelMap.OrderScore}</span>&nbsp;${gatewayResponse.gatewayScoreResult?default("N/A")})
                           <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.CommonDetails}</a>
@@ -232,7 +232,7 @@
                             <input type="hidden" name="orderId" value="${orderId}" />
                             <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                             <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                            <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                            <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                           </form>
                         </div>
                      </#if>
@@ -258,7 +258,7 @@
             <#else>
               <tr>
                 <td align="right" valign="top" width="29%">
-                  <div>&nbsp;<span class="label">${paymentMethodType.get("description",locale)?if_exists}</span>&nbsp;
+                  <div>&nbsp;<span class="label">${paymentMethodType.get("description",locale)!}</span>&nbsp;
                   <#if orderPaymentPreference.maxAmount?has_content>
                   <br />${uiLabelMap.OrderPaymentMaximumAmount}: <@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>
                   </#if>
@@ -271,11 +271,11 @@
                       <#if orderPaymentPreference.maxAmount?has_content>
                          <br />${uiLabelMap.OrderPaymentMaximumAmount}: <@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>
                       </#if>
-                      <br />&nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
+                      <br />&nbsp;[<#if oppStatusItem??>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
                     </div>
                     <#--
-                    <div><@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>&nbsp;-&nbsp;${(orderPaymentPreference.authDate.toString())?if_exists}</div>
-                    <div>&nbsp;<#if orderPaymentPreference.authRefNum?exists>(${uiLabelMap.OrderReference}: ${orderPaymentPreference.authRefNum})</#if></div>
+                    <div><@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>&nbsp;-&nbsp;${(orderPaymentPreference.authDate.toString())!}</div>
+                    <div>&nbsp;<#if orderPaymentPreference.authRefNum??>(${uiLabelMap.OrderReference}: ${orderPaymentPreference.authRefNum})</#if></div>
                     -->
                   </td>
                 <#else>
@@ -292,7 +292,7 @@
                           <input type="hidden" name="orderId" value="${orderId}" />
                           <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                           <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                          <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                          <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                         </form>
                       </div>
                     </#if>
@@ -316,11 +316,11 @@
                 </#if>
             </#if>
           <#else>
-            <#if paymentMethod.paymentMethodTypeId?if_exists == "CREDIT_CARD">
+            <#if paymentMethod.paymentMethodTypeId! == "CREDIT_CARD">
               <#assign gatewayResponses = orderPaymentPreference.getRelated("PaymentGatewayResponse", null, null, false)>
-              <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false)?if_exists>
+              <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false)!>
               <#if creditCard?has_content>
-                <#assign pmBillingAddress = creditCard.getRelatedOne("PostalAddress", false)?if_exists>
+                <#assign pmBillingAddress = creditCard.getRelatedOne("PostalAddress", false)!>
               </#if>
               <tr>
                 <td align="right" valign="top" width="29%">
@@ -334,7 +334,7 @@
                 <td valign="top" width="60%">
                   <div>
                     <#if creditCard?has_content>
-                      <#if creditCard.companyNameOnCard?exists>${creditCard.companyNameOnCard}<br /></#if>
+                      <#if creditCard.companyNameOnCard??>${creditCard.companyNameOnCard}<br /></#if>
                       <#if creditCard.titleOnCard?has_content>${creditCard.titleOnCard}&nbsp;</#if>
                       ${creditCard.firstNameOnCard?default("N/A")}&nbsp;
                       <#if creditCard.middleNameOnCard?has_content>${creditCard.middleNameOnCard}&nbsp;</#if>
@@ -344,22 +344,22 @@
 
                       <#if security.hasEntityPermission("PAY_INFO", "_VIEW", session) || security.hasEntityPermission("ACCOUNTING", "_VIEW", session)>
                         ${creditCard.cardType}
-                        <@maskSensitiveNumber cardNumber=creditCard.cardNumber?if_exists/>
+                        <@maskSensitiveNumber cardNumber=creditCard.cardNumber!/>
                         ${creditCard.expireDate}
-                        &nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
+                        &nbsp;[<#if oppStatusItem??>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
                       <#else>
                         ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
-                        &nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
+                        &nbsp;[<#if oppStatusItem??>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
                       </#if>
                       <br />
 
                       <#-- Authorize and Capture transactions -->
                       <div>
                         <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED">
-                          <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a>
+                          <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId!}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a>
                         </#if>
                         <#if orderPaymentPreference.statusId == "PAYMENT_AUTHORIZED">
-                          <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a>
+                          <a href="/accounting/control/CaptureTransaction?orderId=${orderId!}&amp;orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a>
                         </#if>
                       </div>
                     <#else>
@@ -374,7 +374,7 @@
                         ${(transactionCode.get("description",locale))?default("Unknown")}:
                         <#if gatewayResponse.transactionDate?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(gatewayResponse.transactionDate, "", locale, timeZone)!} </#if>
                         <@ofbizCurrency amount=gatewayResponse.amount isoCode=currencyUomId/><br />
-                        (<span class="label">${uiLabelMap.OrderReference}</span>&nbsp;${gatewayResponse.referenceNum?if_exists}
+                        (<span class="label">${uiLabelMap.OrderReference}</span>&nbsp;${gatewayResponse.referenceNum!}
                         <span class="label">${uiLabelMap.OrderAvs}</span>&nbsp;${gatewayResponse.gatewayAvsResult?default("N/A")}
                         <span class="label">${uiLabelMap.OrderScore}</span>&nbsp;${gatewayResponse.gatewayScoreResult?default("N/A")})
                         <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.CommonDetails}</a>
@@ -391,16 +391,16 @@
                         <input type="hidden" name="orderId" value="${orderId}" />
                         <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                         <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                       </form>
                    </#if>
                   </#if>
                 </td>
               </tr>
-            <#elseif paymentMethod.paymentMethodTypeId?if_exists == "EFT_ACCOUNT">
+            <#elseif paymentMethod.paymentMethodTypeId! == "EFT_ACCOUNT">
               <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false)>
               <#if eftAccount?has_content>
-                <#assign pmBillingAddress = eftAccount.getRelatedOne("PostalAddress", false)?if_exists>
+                <#assign pmBillingAddress = eftAccount.getRelatedOne("PostalAddress", false)!>
               </#if>
               <tr>
                 <td align="right" valign="top" width="29%">
@@ -414,8 +414,8 @@
                 <td valign="top" width="60%">
                   <div>
                     <#if eftAccount?has_content>
-                      ${eftAccount.nameOnAccount?if_exists}<br />
-                      <#if eftAccount.companyNameOnAccount?exists>${eftAccount.companyNameOnAccount}<br /></#if>
+                      ${eftAccount.nameOnAccount!}<br />
+                      <#if eftAccount.companyNameOnAccount??>${eftAccount.companyNameOnAccount}<br /></#if>
                       ${uiLabelMap.AccountingBankName}: ${eftAccount.bankName}, ${eftAccount.routingNumber}<br />
                       ${uiLabelMap.AccountingAccount}#: ${eftAccount.accountNumber}
                     <#else>
@@ -431,7 +431,7 @@
                         <input type="hidden" name="orderId" value="${orderId}" />
                         <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                         <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                       </form>
                    </#if>
                   </#if>
@@ -452,10 +452,10 @@
                   </td>
                 </tr>
               </#if>
-            <#elseif paymentMethod.paymentMethodTypeId?if_exists == "GIFT_CARD">
+            <#elseif paymentMethod.paymentMethodTypeId! == "GIFT_CARD">
               <#assign giftCard = paymentMethod.getRelatedOne("GiftCard", false)>
-              <#if giftCard?exists>
-                <#assign pmBillingAddress = giftCard.getRelatedOne("PostalAddress", false)?if_exists>
+              <#if giftCard??>
+                <#assign pmBillingAddress = giftCard.getRelatedOne("PostalAddress", false)!>
               </#if>
               <tr>
                 <td align="right" valign="top" width="29%">
@@ -471,11 +471,11 @@
                     <#if giftCard?has_content>
                       <#if security.hasEntityPermission("PAY_INFO", "_VIEW", session) || security.hasEntityPermission("ACCOUNTING", "_VIEW", session)>
                         ${giftCard.cardNumber?default("N/A")} [${giftCard.pinNumber?default("N/A")}]
-                        &nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
+                        &nbsp;[<#if oppStatusItem??>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
                       <#else>
-                      <@maskSensitiveNumber cardNumber=giftCard.cardNumber?if_exists/>
+                      <@maskSensitiveNumber cardNumber=giftCard.cardNumber!/>
                       <#if !cardNumberDisplay?has_content>N/A</#if>
-                        &nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
+                        &nbsp;[<#if oppStatusItem??>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
                       </#if>
                     <#else>
                       ${uiLabelMap.CommonInformation} ${uiLabelMap.CommonNot} ${uiLabelMap.CommonAvailable}
@@ -490,7 +490,7 @@
                         <input type="hidden" name="orderId" value="${orderId}" />
                         <input type="hidden" name="orderPaymentPreferenceId" value="${orderPaymentPreference.orderPaymentPreferenceId}" />
                         <input type="hidden" name="statusId" value="PAYMENT_CANCELLED" />
-                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId?if_exists}" />
+                        <input type="hidden" name="checkOutPaymentId" value="${paymentMethod.paymentMethodTypeId!}" />
                       </form>
                    </#if>
                   </#if>
@@ -525,8 +525,8 @@
                   ${pmBillingAddress.address1}<br />
                   <#if pmBillingAddress.address2?has_content>${pmBillingAddress.address2}<br /></#if>
                   ${pmBillingAddress.city}<#if pmBillingAddress.stateProvinceGeoId?has_content>, ${pmBillingAddress.stateProvinceGeoId} </#if>
-                  ${pmBillingAddress.postalCode?if_exists}<br />
-                  ${pmBillingAddress.countryGeoId?if_exists}
+                  ${pmBillingAddress.postalCode!}<br />
+                  ${pmBillingAddress.countryGeoId!}
                 </div>
               </td>
               <td width="10%">&nbsp;</td>
@@ -554,7 +554,7 @@
           <tr>
             <td align="right" valign="top" width="29%"><span class="label">${uiLabelMap.OrderPONumber}</span></td>
             <td width="1%">&nbsp;</td>
-            <td valign="top" width="60%">${customerPoNumber?if_exists}</td>
+            <td valign="top" width="60%">${customerPoNumber!}</td>
             <td width="10%">&nbsp;</td>
           </tr>
         </#if>
@@ -583,7 +583,7 @@
    <tr><td colspan="4"><hr /></td></tr>
    <tr><td colspan="4">
    <form name="addPaymentMethodToOrder" method="post" action="<@ofbizUrl>addPaymentMethodToOrder</@ofbizUrl>">
-   <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+   <input type="hidden" name="orderId" value="${orderId!}"/>
    <table class="basic-table" cellspacing='0'>
    <tr>
       <td width="29%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.AccountingPaymentMethod}</span></td>
@@ -592,19 +592,19 @@
          <select name="paymentMethodId">
            <#list paymentMethodValueMaps as paymentMethodValueMap>
              <#assign paymentMethod = paymentMethodValueMap.paymentMethod/>
-             <option value="${paymentMethod.get("paymentMethodId")?if_exists}">
+             <option value="${paymentMethod.get("paymentMethodId")!}">
                <#if "CREDIT_CARD" == paymentMethod.paymentMethodTypeId>
                  <#assign creditCard = paymentMethodValueMap.creditCard/>
                  <#if (creditCard?has_content)>
                    <#if security.hasEntityPermission("PAY_INFO", "_VIEW", session) || security.hasEntityPermission("ACCOUNTING", "_VIEW", session)>
-                     ${creditCard.cardType?if_exists} <@maskSensitiveNumber cardNumber=creditCard.cardNumber?if_exists/> ${creditCard.expireDate?if_exists}
+                     ${creditCard.cardType!} <@maskSensitiveNumber cardNumber=creditCard.cardNumber!/> ${creditCard.expireDate!}
                    <#else>
                      ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
                    </#if>
                  </#if>
                <#else>
-                 ${paymentMethod.paymentMethodTypeId?if_exists}
-                 <#if paymentMethod.description?exists>${paymentMethod.description}</#if>
+                 ${paymentMethod.paymentMethodTypeId!}
+                 <#if paymentMethod.description??>${paymentMethod.description}</#if>
                    (${paymentMethod.paymentMethodId})
                  </#if>
                </option>
Index: applications/order/webapp/ordermgr/order/orderinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderinfo.ftl	(working copy)
@@ -24,12 +24,12 @@
                <#assign externalOrder = "(" + orderHeader.externalId + ")"/>
             </#if>
             <#assign orderType = orderHeader.getRelatedOne("OrderType", false)/>
-            <li class="h3">&nbsp;${orderType?if_exists.get("description", locale)?default(uiLabelMap.OrderOrder)}&nbsp;${uiLabelMap.CommonNbr}&nbsp;<a href="<@ofbizUrl>orderview?orderId=${orderId}</@ofbizUrl>">${orderId}</a> ${externalOrder?if_exists} [&nbsp;<a href="<@ofbizUrl>order.pdf?orderId=${orderId}</@ofbizUrl>" target="_blank">PDF</a>&nbsp;]</li>
+            <li class="h3">&nbsp;${(orderType.get("description", locale))?default(uiLabelMap.OrderOrder)}&nbsp;${uiLabelMap.CommonNbr}&nbsp;<a href="<@ofbizUrl>orderview?orderId=${orderId}</@ofbizUrl>">${orderId}</a> ${externalOrder!} [&nbsp;<a href="<@ofbizUrl>order.pdf?orderId=${orderId}</@ofbizUrl>" target="_blank">PDF</a>&nbsp;]</li>
             <#if currentStatus.statusId == "ORDER_APPROVED" && orderHeader.orderTypeId == "SALES_ORDER">
               <li class="h3"><a href="javascript:document.PrintOrderPickSheet.submit()">${uiLabelMap.FormFieldTitle_printPickSheet}</a>
               <form name="PrintOrderPickSheet" method="post" action="<@ofbizUrl>orderPickSheet.pdf</@ofbizUrl>" target="_BLANK">
-                <input type="hidden" name="facilityId" value="${storeFacilityId?if_exists}"/>
-                <input type="hidden" name="orderId" value="${orderHeader.orderId?if_exists}"/>
+                <input type="hidden" name="facilityId" value="${storeFacilityId!}"/>
+                <input type="hidden" name="orderId" value="${orderHeader.orderId!}"/>
                 <input type="hidden" name="maxNumberOfOrdersToPrint" value="1"/>
               </form>
               </li>
@@ -40,22 +40,22 @@
                 <input type="hidden" name="statusId" value="ORDER_APPROVED"/>
                 <input type="hidden" name="newStatusId" value="ORDER_APPROVED"/>
                 <input type="hidden" name="setItemStatus" value="Y"/>
-                <input type="hidden" name="workEffortId" value="${workEffortId?if_exists}"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="partyId" value="${assignPartyId?if_exists}"/>
-                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId?if_exists}"/>
-                <input type="hidden" name="fromDate" value="${fromDate?if_exists}"/>
+                <input type="hidden" name="workEffortId" value="${workEffortId!}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="partyId" value="${assignPartyId!}"/>
+                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId!}"/>
+                <input type="hidden" name="fromDate" value="${fromDate!}"/>
               </form>
               </li>
             <#elseif currentStatus.statusId == "ORDER_APPROVED">
               <li><a href="javascript:document.OrderHold.submit()">${uiLabelMap.OrderHold}</a>
               <form name="OrderHold" method="post" action="<@ofbizUrl>changeOrderStatus/orderview</@ofbizUrl>">
                 <input type="hidden" name="statusId" value="ORDER_HOLD"/>
-                <input type="hidden" name="workEffortId" value="${workEffortId?if_exists}"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="partyId" value="${assignPartyId?if_exists}"/>
-                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId?if_exists}"/>
-                <input type="hidden" name="fromDate" value="${fromDate?if_exists}"/>
+                <input type="hidden" name="workEffortId" value="${workEffortId!}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="partyId" value="${assignPartyId!}"/>
+                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId!}"/>
+                <input type="hidden" name="fromDate" value="${fromDate!}"/>
               </form>
               </li>
             <#elseif currentStatus.statusId == "ORDER_HOLD">
@@ -63,11 +63,11 @@
               <form name="OrderApproveOrder" method="post" action="<@ofbizUrl>changeOrderStatus/orderview</@ofbizUrl>">
                 <input type="hidden" name="statusId" value="ORDER_APPROVED"/>
                 <input type="hidden" name="setItemStatus" value="Y"/>
-                <input type="hidden" name="workEffortId" value="${workEffortId?if_exists}"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="partyId" value="${assignPartyId?if_exists}"/>
-                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId?if_exists}"/>
-                <input type="hidden" name="fromDate" value="${fromDate?if_exists}"/>
+                <input type="hidden" name="workEffortId" value="${workEffortId!}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="partyId" value="${assignPartyId!}"/>
+                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId!}"/>
+                <input type="hidden" name="fromDate" value="${fromDate!}"/>
               </form>
               </li>
             </#if>
@@ -76,11 +76,11 @@
               <form name="OrderCancel" method="post" action="<@ofbizUrl>changeOrderStatus/orderview</@ofbizUrl>">
                 <input type="hidden" name="statusId" value="ORDER_CANCELLED"/>
                 <input type="hidden" name="setItemStatus" value="Y"/>
-                <input type="hidden" name="workEffortId" value="${workEffortId?if_exists}"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="partyId" value="${assignPartyId?if_exists}"/>
-                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId?if_exists}"/>
-                <input type="hidden" name="fromDate" value="${fromDate?if_exists}"/>
+                <input type="hidden" name="workEffortId" value="${workEffortId!}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="partyId" value="${assignPartyId!}"/>
+                <input type="hidden" name="roleTypeId" value="${assignRoleTypeId!}"/>
+                <input type="hidden" name="fromDate" value="${fromDate!}"/>
               </form>
               </li>
             </#if>
@@ -88,7 +88,7 @@
               <li><a href="javascript:document.OrderCompleteOrder.submit()">${uiLabelMap.OrderCompleteOrder}</a>
               <form name="OrderCompleteOrder" method="post" action="<@ofbizUrl>changeOrderStatus</@ofbizUrl>">
                 <input type="hidden" name="statusId" value="ORDER_COMPLETED"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
               </form>
               </li>
             </#if>
@@ -192,7 +192,7 @@
                   </#if>
               </td>
             </tr>
-            <#if (orderItem.cancelBackOrderDate)?exists>
+            <#if (orderItem.cancelBackOrderDate)??>
               <tr><td colspan="3"><hr /></td></tr>
               <tr>
                 <td align="right" valign="top" width="15%" class="label">&nbsp;${uiLabelMap.FormFieldTitle_cancelBackOrderDate}</td>
@@ -200,7 +200,7 @@
                 <td valign="top" width="80%"><#if orderItem.cancelBackOrderDate?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(orderItem.cancelBackOrderDate, "", locale, timeZone)!}</#if></td>
               </tr>
             </#if>
-            <#if distributorId?exists>
+            <#if distributorId??>
             <tr><td colspan="3"><hr /></td></tr>
             <tr>
               <td align="right" valign="top" width="15%" class="label">&nbsp;${uiLabelMap.OrderDistributor}</td>
@@ -211,7 +211,7 @@
               </td>
             </tr>
             </#if>
-            <#if affiliateId?exists>
+            <#if affiliateId??>
             <tr><td colspan="3"><hr /></td></tr>
             <tr>
               <td align="right" valign="top" width="15%" class="label">&nbsp;${uiLabelMap.OrderAffiliate}</td>
@@ -242,9 +242,9 @@
                      <form name="setOrderReservationPriority" method="post" action="<@ofbizUrl>setOrderReservationPriority</@ofbizUrl>">
                      <input type = "hidden" name="orderId" value="${orderId}"/>
                     <select name="priority">
-                      <option value="1" <#if (orderHeader.priority)?if_exists == "1">selected="selected" </#if>>${uiLabelMap.CommonHigh}</option>
-                      <option value="2" <#if (orderHeader.priority)?if_exists == "2">selected="selected" <#elseif !(orderHeader.priority)?has_content>selected="selected"</#if>>${uiLabelMap.CommonNormal}</option>
-                      <option value="3" <#if (orderHeader.priority)?if_exists == "3">selected="selected" </#if>>${uiLabelMap.CommonLow}</option>
+                      <option value="1" <#if (orderHeader.priority)! == "1">selected="selected" </#if>>${uiLabelMap.CommonHigh}</option>
+                      <option value="2" <#if (orderHeader.priority)! == "2">selected="selected" <#elseif !(orderHeader.priority)?has_content>selected="selected"</#if>>${uiLabelMap.CommonNormal}</option>
+                      <option value="3" <#if (orderHeader.priority)! == "3">selected="selected" </#if>>${uiLabelMap.CommonLow}</option>
                     </select>
                     <input type="submit" class="smallSubmit" value="${uiLabelMap.FormFieldTitle_reserveInventory}"/>
                     </form>
@@ -259,8 +259,8 @@
                  <form name="setInvoicePerShipment" method="post" action="<@ofbizUrl>setInvoicePerShipment</@ofbizUrl>">
                  <input type = "hidden" name="orderId" value="${orderId}"/>
                 <select name="invoicePerShipment">
-                  <option value="Y" <#if (orderHeader.invoicePerShipment)?if_exists == "Y">selected="selected" </#if>>${uiLabelMap.CommonYes}</option>
-                  <option value="N" <#if (orderHeader.invoicePerShipment)?if_exists == "N">selected="selected" </#if>>${uiLabelMap.CommonNo}</option>
+                  <option value="Y" <#if (orderHeader.invoicePerShipment)! == "Y">selected="selected" </#if>>${uiLabelMap.CommonYes}</option>
+                  <option value="N" <#if (orderHeader.invoicePerShipment)! == "N">selected="selected" </#if>>${uiLabelMap.CommonNo}</option>
                 </select>
                 <input type="submit" class="smallSubmit" value="${uiLabelMap.CommonUpdate}"/>
                 </form>
@@ -282,7 +282,7 @@
               <td valign="top" width="80%">
                 <form id="orderViewed" action="">
                   <input type="checkbox" name="checkViewed" onclick="javascript:markOrderViewed();"/>
-                  <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+                  <input type="hidden" name="orderId" value="${orderId!}"/>
                   <input type="hidden" name="isViewed" value="Y"/>
                 </form>
               </td>
Index: applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl	(working copy)
@@ -43,22 +43,22 @@
             </fo:table-header>
             <fo:table-body>
                 <#list orderItemList as orderItem>
-                    <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)?if_exists>
-                    <#assign productId = orderItem.productId?if_exists>
+                    <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)!>
+                    <#assign productId = orderItem.productId!>
                     <#assign remainingQuantity = (orderItem.quantity?default(0) - orderItem.cancelQuantity?default(0))>
                     <#assign itemAdjustment = Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemAdjustmentsTotal(orderItem, orderAdjustments, true, false, false)>
-                    <#assign internalImageUrl = Static["org.ofbiz.product.imagemanagement.ImageManagementHelper"].getInternalImageUrl(request, productId?if_exists)?if_exists>
+                    <#assign internalImageUrl = Static["org.ofbiz.product.imagemanagement.ImageManagementHelper"].getInternalImageUrl(request, productId!)!>
                     <fo:table-row>
                         <fo:table-cell>
                             <fo:block>
                                 <#if orderItem.supplierProductId?has_content>
-                                    ${orderItem.supplierProductId} - ${orderItem.itemDescription?if_exists}
-                                <#elseif productId?exists>
-                                    ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription?if_exists}
-                                <#elseif orderItemType?exists>
-                                    ${orderItemType.get("description",locale)} - ${orderItem.itemDescription?if_exists}
+                                    ${orderItem.supplierProductId} - ${orderItem.itemDescription!}
+                                <#elseif productId??>
+                                    ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription!}
+                                <#elseif orderItemType??>
+                                    ${orderItemType.get("description",locale)} - ${orderItem.itemDescription!}
                                 <#else>
-                                    ${orderItem.itemDescription?if_exists}
+                                    ${orderItem.itemDescription!}
                                 </#if>
                             </fo:block>
                         </fo:table-cell>
@@ -109,7 +109,7 @@
                                 <fo:block font-weight="bold">
                                     ${adjustmentType.get("description",locale)} :
                                     <#if orderHeaderAdjustment.get("description")?has_content>
-                                        (${orderHeaderAdjustment.get("description")?if_exists})
+                                        (${orderHeaderAdjustment.get("description")!})
                                     </#if>
                                 </fo:block>
                             </fo:table-cell>
@@ -194,7 +194,7 @@
                         <#if (note.internalNote?has_content) && (note.internalNote != "Y")>
                             <fo:table-row>
                                 <fo:table-cell number-columns-spanned="1">
-                                    <fo:block>${note.noteInfo?if_exists}</fo:block>
+                                    <fo:block>${note.noteInfo!}</fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell number-columns-spanned="2">
                                     <fo:block>
@@ -205,7 +205,7 @@
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell number-columns-spanned="1">
-                                    <fo:block>${uiLabelMap.CommonAt}: ${note.noteDateTime?string?if_exists}</fo:block>
+                                    <fo:block>${uiLabelMap.CommonAt}: ${note.noteDateTime?string!}</fo:block>
                                 </fo:table-cell>
                             </fo:table-row>
                         </#if>
Index: applications/order/webapp/ordermgr/order/ordershippinginfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/ordershippinginfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/ordershippinginfo.ftl	(working copy)
@@ -48,7 +48,7 @@
     }
 </script>
 
-<#if security.hasEntityPermission("ORDERMGR", "_UPDATE", session) && (!orderHeader.salesChannelEnumId?exists || orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL")>
+<#if security.hasEntityPermission("ORDERMGR", "_UPDATE", session) && (!orderHeader.salesChannelEnumId?? || orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL")>
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <ul><li class="h3">&nbsp;${uiLabelMap.OrderActions}</li></ul>
@@ -100,7 +100,7 @@
                   <li>
                     <form name="receiveInventoryForm" action="/facility/control/ReceiveInventory" method="post">
                       <input type="hidden" name="initialSelected" value="Y"/>
-                      <input type="hidden" name="purchaseOrderId" value="${orderId?if_exists}"/>
+                      <input type="hidden" name="purchaseOrderId" value="${orderId!}"/>
                       <select name="facilityId">
                         <#list ownedFacilities as facility>
                           <option value="${facility.facilityId}">${facility.facilityName}</option>
@@ -112,7 +112,7 @@
                   <li>
                     <form name="partialReceiveInventoryForm" action="/facility/control/ReceiveInventory" method="post">
                       <input type="hidden" name="initialSelected" value="Y"/>
-                      <input type="hidden" name="purchaseOrderId" value="${orderId?if_exists}"/>
+                      <input type="hidden" name="purchaseOrderId" value="${orderId!}"/>
                       <input type="hidden" name="partialReceive" value="Y"/>
                       <select name="facilityId">
                         <#list ownedFacilities as facility>
@@ -156,7 +156,7 @@
             <li>
             <form name="quickreturn" method="post" action="<@ofbizUrl>quickreturn</@ofbizUrl>">
               <input type="hidden" name="orderId" value="${orderId}"/>
-              <input type="hidden" name="party_id" value="${partyId?if_exists}"/>
+              <input type="hidden" name="party_id" value="${partyId!}"/>
               <input type="hidden" name="returnHeaderTypeId" value="${returnHeaderTypeId}"/>
               <input type="hidden" name="needsInventoryReceive" value="${needsInventoryReceive?default("N")}"/>
             </form>
@@ -189,10 +189,10 @@
   </div>
 </#if>
 
-<#if shipGroups?has_content && (!orderHeader.salesChannelEnumId?exists || orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL")>
+<#if shipGroups?has_content && (!orderHeader.salesChannelEnumId?? || orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL")>
 <#list shipGroups as shipGroup>
-  <#assign shipmentMethodType = shipGroup.getRelatedOne("ShipmentMethodType", false)?if_exists>
-  <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)?if_exists>
+  <#assign shipmentMethodType = shipGroup.getRelatedOne("ShipmentMethodType", false)!>
+  <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)!>
   <div class="screenlet">
     <div class="screenlet-title-bar">
        <ul>
@@ -204,10 +204,10 @@
     </div>
     <div class="screenlet-body" id="ShipGroupScreenletBody_${shipGroup.shipGroupSeqId}">
         <form name="updateOrderItemShipGroup" method="post" action="<@ofbizUrl>updateOrderItemShipGroup</@ofbizUrl>">
-        <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-        <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId?if_exists}"/>
+        <input type="hidden" name="orderId" value="${orderId!}"/>
+        <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId!}"/>
         <input type="hidden" name="contactMechPurposeTypeId" value="SHIPPING_LOCATION"/>
-        <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId?if_exists}"/>
+        <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId!}"/>
         <table class="basic-table" cellspacing='0'>
                 <tr>
                     <td align="right" valign="top" width="15%">
@@ -218,13 +218,13 @@
                         <div>
                             <#if orderHeader?has_content && orderHeader.statusId != "ORDER_CANCELLED" && orderHeader.statusId != "ORDER_COMPLETED" && orderHeader.statusId != "ORDER_REJECTED">
                             <select name="contactMechId">
-                                <option selected="selected" value="${shipGroup.contactMechId?if_exists}">${(shipGroupAddress.address1)?default("")} - ${shipGroupAddress.city?default("")}</option>
+                                <option selected="selected" value="${shipGroup.contactMechId!}">${(shipGroupAddress.address1)?default("")} - ${shipGroupAddress.city?default("")}</option>
                                 <#if shippingContactMechList?has_content>
                                 <option disabled="disabled" value=""></option>
                                 <#list shippingContactMechList as shippingContactMech>
-                                <#assign shippingPostalAddress = shippingContactMech.getRelatedOne("PostalAddress", false)?if_exists>
+                                <#assign shippingPostalAddress = shippingContactMech.getRelatedOne("PostalAddress", false)!>
                                 <#if shippingContactMech.contactMechId?has_content>
-                                <option value="${shippingContactMech.contactMechId?if_exists}">${(shippingPostalAddress.address1)?default("")} - ${shippingPostalAddress.city?default("")}</option>
+                                <option value="${shippingContactMech.contactMechId!}">${(shippingPostalAddress.address1)?default("")} - ${shippingPostalAddress.city?default("")}</option>
                                 </#if>
                                 </#list>
                                 </#if>
@@ -252,20 +252,20 @@
                             -->
                             <select name="shipmentMethod">
                                 <#if shipGroup.shipmentMethodTypeId?has_content>
-                                <option value="${shipGroup.shipmentMethodTypeId}@${shipGroup.carrierPartyId!}@${shipGroup.carrierRoleTypeId!}"><#if shipGroup.carrierPartyId?exists && shipGroup.carrierPartyId != "_NA_">${shipGroup.carrierPartyId!}</#if>&nbsp;${shipmentMethodType.get("description",locale)!}</option>
+                                <option value="${shipGroup.shipmentMethodTypeId}@${shipGroup.carrierPartyId!}@${shipGroup.carrierRoleTypeId!}"><#if shipGroup.carrierPartyId?? && shipGroup.carrierPartyId != "_NA_">${shipGroup.carrierPartyId!}</#if>&nbsp;${shipmentMethodType.get("description",locale)!}</option>
                                 <#else>
                                 <option value=""/>
                                 </#if>
                                 <#list productStoreShipmentMethList as productStoreShipmentMethod>
                                 <#assign shipmentMethodTypeAndParty = productStoreShipmentMethod.shipmentMethodTypeId + "@" + productStoreShipmentMethod.partyId + "@" + productStoreShipmentMethod.roleTypeId>
                                 <#if productStoreShipmentMethod.partyId?has_content || productStoreShipmentMethod?has_content>
-                                <option value="${shipmentMethodTypeAndParty?if_exists}"><#if productStoreShipmentMethod.partyId != "_NA_">${productStoreShipmentMethod.partyId?if_exists}</#if>&nbsp;${productStoreShipmentMethod.get("description",locale)?default("")}</option>
+                                <option value="${shipmentMethodTypeAndParty!}"><#if productStoreShipmentMethod.partyId != "_NA_">${productStoreShipmentMethod.partyId!}</#if>&nbsp;${productStoreShipmentMethod.get("description",locale)?default("")}</option>
                                 </#if>
                                 </#list>
                             </select>
                             <#else>
                                 <#if (shipGroup.carrierPartyId)?default("_NA_") != "_NA_">
-                                ${shipGroup.carrierPartyId?if_exists}
+                                ${shipGroup.carrierPartyId!}
                                 </#if>
                                 <#if shipmentMethodType?has_content>
                                     ${shipmentMethodType.get("description",locale)?default("")}
@@ -298,10 +298,10 @@
       </form>
       <div id="newShippingAddressForm" class="popup" style="display: none;">
         <form id="addShippingAddress" name="addShippingAddress" method="post" action="addShippingAddress">
-          <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-          <input type="hidden" name="partyId" value="${partyId?if_exists}"/>
-          <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId?if_exists}"/>
-          <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId?if_exists}"/>
+          <input type="hidden" name="orderId" value="${orderId!}"/>
+          <input type="hidden" name="partyId" value="${partyId!}"/>
+          <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId!}"/>
+          <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId!}"/>
           <input type="hidden" name="contactMechPurposeTypeId" value="SHIPPING_LOCATION"/>
           <div class="form-row">
             <label for="address1">${uiLabelMap.PartyAddressLine1}* <span id="advice-required-address1" style="display: none" class="custom-advice">(required)</span></label>
@@ -323,7 +323,7 @@
             <label for="countryGeoId">${uiLabelMap.CommonCountry}* <span id="advice-required-countryGeoId" style="display: none" class="custom-advice">(required)</span></label>
             <div class="form-field">
               <select name="shipToCountryGeoId" id="countryGeoId" class="required">
-                <#if countryGeoId?exists>
+                <#if countryGeoId??>
                   <option value="${countryGeoId}">${countryGeoId}</option>
                 </#if>
                 ${screens.render("component://common/widget/CommonScreens.xml#countries")}
@@ -368,7 +368,7 @@
       </script>
       <table width="100%" border="0" cellpadding="1" cellspacing="0">
         <#if shipGroup.supplierPartyId?has_content>
-          <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", shipGroup.supplierPartyId), false)?if_exists />
+          <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", shipGroup.supplierPartyId), false)! />
           <tr><td colspan="3"><hr /></td></tr>
           <tr>
             <td align="right" valign="top" width="15%">
@@ -399,8 +399,8 @@
                       <tr>
                         <td>
                           <#assign shipmentMethodAndAmount = shippingRate.shipmentMethodTypeId + "@" + "UPS" + "*" + shippingRate.rate>
-                          <input type='radio' name='shipmentMethodAndAmount' value='${shipmentMethodAndAmount?if_exists}' />
-                          UPS&nbsp;${shippingRate.shipmentMethodDescription?if_exists}
+                          <input type='radio' name='shipmentMethodAndAmount' value='${shipmentMethodAndAmount!}' />
+                          UPS&nbsp;${shippingRate.shipmentMethodDescription!}
                           <#if (shippingRate.rate > -1)>
                             <@ofbizCurrency amount=shippingRate.rate isoCode=orderReadHelper.getCurrency()/>
                           <#else>
@@ -409,14 +409,14 @@
                         </td>
                       </tr>
                     </#list>
-                    <input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRouteSegmentId?if_exists}"/>
-                    <input type="hidden" name="shipmentId" value="${pickedShipmentId?if_exists}"/>
-                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId?if_exists}"/>
-                    <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                    <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId?if_exists}"/>
+                    <input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRouteSegmentId!}"/>
+                    <input type="hidden" name="shipmentId" value="${pickedShipmentId!}"/>
+                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId!}"/>
+                    <input type="hidden" name="orderId" value="${orderId!}"/>
+                    <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId!}"/>
                     <input type="hidden" name="contactMechPurposeTypeId" value="SHIPPING_LOCATION"/>
-                    <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId?if_exists}"/>
-                    <input type="hidden" name="shippingAmount" value="${shippingAmount?if_exists}"/>
+                    <input type="hidden" name="oldContactMechId" value="${shipGroup.contactMechId!}"/>
+                    <input type="hidden" name="shippingAmount" value="${shippingAmount!}"/>
                     <tr>
                       <td valign="top" width="80%">
                         <input type="submit" value="${uiLabelMap.CommonUpdate}" class="smallSubmit"/>
@@ -444,7 +444,7 @@
               </#if>
               <#if orderShipmentInfoSummaryList?has_content>
                 <#list orderShipmentInfoSummaryList as orderShipmentInfoSummary>
-                  <#if orderShipmentInfoSummary.shipGroupSeqId?if_exists == shipGroup.shipGroupSeqId?if_exists>
+                  <#if orderShipmentInfoSummary.shipGroupSeqId! == shipGroup.shipGroupSeqId!>
                     <div>
                       <#if (orderShipmentInfoSummaryList?size > 1)>${orderShipmentInfoSummary.shipmentPackageSeqId}: </#if>
                       ${uiLabelMap.CommonIdCode}: ${orderShipmentInfoSummary.trackingCode?default("[${uiLabelMap.OrderNotYetKnown}]")}
@@ -511,7 +511,7 @@
                   <a href="javascript:addInstruction('${shipGroup.shipGroupSeqId}');" class="buttontext" id="addInstruction_${shipGroup.shipGroupSeqId}">${uiLabelMap.CommonAdd}</a>
                 </#if>
                 <a href="javascript:saveInstruction('${shipGroup.shipGroupSeqId}');" class="buttontext" id="saveInstruction_${shipGroup.shipGroupSeqId}" style="display:none">${uiLabelMap.CommonSave}</a>
-                <textarea name="shippingInstructions" id="shippingInstructions_${shipGroup.shipGroupSeqId}" style="display:none" rows="0" cols="0">${shipGroup.shippingInstructions?if_exists}</textarea>
+                <textarea name="shippingInstructions" id="shippingInstructions_${shipGroup.shipGroupSeqId}" style="display:none" rows="0" cols="0">${shipGroup.shippingInstructions!}</textarea>
               </form>
             <#else>
               <#if shipGroup.shippingInstructions?has_content>
@@ -540,7 +540,7 @@
               <#else>
                 <a href="javascript:addGiftMessage('${shipGroup.shipGroupSeqId}');" class="buttontext" id="addGiftMessage_${shipGroup.shipGroupSeqId}">${uiLabelMap.CommonAdd}</a>
               </#if>
-              <textarea name="giftMessage" id="giftMessage_${shipGroup.shipGroupSeqId}" style="display:none" rows="0" cols="0">${shipGroup.giftMessage?if_exists}</textarea>
+              <textarea name="giftMessage" id="giftMessage_${shipGroup.shipGroupSeqId}" style="display:none" rows="0" cols="0">${shipGroup.giftMessage!}</textarea>
               <a href="javascript:saveGiftMessage('${shipGroup.shipGroupSeqId}');" class="buttontext" id="saveGiftMessage_${shipGroup.shipGroupSeqId}" style="display:none">${uiLabelMap.CommonSave}</a>
             </form>
           </td>
@@ -557,9 +557,9 @@
               <form name="setShipGroupDates_${shipGroup.shipGroupSeqId}" method="post" action="<@ofbizUrl>updateOrderItemShipGroup</@ofbizUrl>">
                 <input type="hidden" name="orderId" value="${orderHeader.orderId}"/>
                 <input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId}"/>
-                <@htmlTemplate.renderDateTimeField name="shipAfterDate" event="" action="" value="${shipGroup.shipAfterDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="shipAfterDate_${shipGroup.shipGroupSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                <@htmlTemplate.renderDateTimeField name="shipAfterDate" event="" action="" value="${shipGroup.shipAfterDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="shipAfterDate_${shipGroup.shipGroupSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 <br/>
-                <@htmlTemplate.renderDateTimeField name="shipByDate" event="" action="" value="${shipGroup.shipByDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="shipByDate_${shipGroup.shipGroupSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                <@htmlTemplate.renderDateTimeField name="shipByDate" event="" action="" value="${shipGroup.shipByDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="shipByDate_${shipGroup.shipGroupSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 <input type="submit" value="${uiLabelMap.CommonUpdate}"/>
                 </form>
             </td>
@@ -581,7 +581,7 @@
                         <#assign shipmentRouteSegments = delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipment.shipmentId}, null, false)>
                         <#if shipmentRouteSegments?has_content>
                           <#assign shipmentRouteSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(shipmentRouteSegments)>
-                          <#if "UPS" == (shipmentRouteSegment.carrierPartyId)?if_exists>
+                          <#if "UPS" == (shipmentRouteSegment.carrierPartyId)!>
                             <a href="javascript:document.upsEmailReturnLabel${shipment_index}.submit();" class="buttontext">${uiLabelMap.ProductEmailReturnShippingLabelUPS}</a>
                           </#if>
                           <form name="upsEmailReturnLabel${shipment_index}" method="post" action="<@ofbizUrl>upsEmailReturnLabelOrder</@ofbizUrl>">
@@ -608,7 +608,7 @@
              <#if orderHeader.orderTypeId == "SALES_ORDER">
                <#if !shipGroup.supplierPartyId?has_content>
                  <#if orderHeader.statusId == "ORDER_APPROVED">
-                 <a href="/facility/control/PackOrder?facilityId=${storeFacilityId?if_exists}&amp;orderId=${orderId}&amp;shipGroupSeqId=${shipGroup.shipGroupSeqId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderPackShipmentForShipGroup}</a>
+                 <a href="/facility/control/PackOrder?facilityId=${storeFacilityId!}&amp;orderId=${orderId}&amp;shipGroupSeqId=${shipGroup.shipGroupSeqId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderPackShipmentForShipGroup}</a>
                  <br />
                  </#if>
                  <a href="javascript:document.createShipment_${shipGroup.shipGroupSeqId}.submit()" class="buttontext">${uiLabelMap.OrderNewShipmentForShipGroup}</a>
@@ -616,8 +616,8 @@
                    <input type="hidden" name="primaryOrderId" value="${orderId}"/>
                    <input type="hidden" name="primaryShipGroupSeqId" value="${shipGroup.shipGroupSeqId}"/>
                    <input type="hidden" name="statusId" value="SHIPMENT_INPUT" />
-                   <input type="hidden" name="facilityId" value="${storeFacilityId?if_exists}" />
-                   <input type="hidden" name="estimatedShipDate" value="${shipGroup.shipByDate?if_exists}"/>
+                   <input type="hidden" name="facilityId" value="${storeFacilityId!}" />
+                   <input type="hidden" name="estimatedShipDate" value="${shipGroup.shipByDate!}"/>
                  </form>
                </#if>
              <#else>
@@ -630,8 +630,8 @@
                        <input type="hidden" name="shipmentTypeId" value="PURCHASE_SHIPMENT"/>
                        <input type="hidden" name="statusId" value="PURCH_SHIP_CREATED"/>
                        <input type="hidden" name="externalLoginKey" value="${externalLoginKey}"/>
-                       <input type="hidden" name="estimatedShipDate" value="${shipGroup.estimatedShipDate?if_exists}"/>
-                       <input type="hidden" name="estimatedArrivalDate" value="${shipGroup.estimatedDeliveryDate?if_exists}"/>
+                       <input type="hidden" name="estimatedShipDate" value="${shipGroup.estimatedShipDate!}"/>
+                       <input type="hidden" name="estimatedArrivalDate" value="${shipGroup.estimatedDeliveryDate!}"/>
                        <select name="destinationFacilityId">
                          <#list facilities as facility>
                            <option value="${facility.facilityId}">${facility.facilityName}</option>
Index: applications/order/webapp/ordermgr/order/OrderSalesReps.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/OrderSalesReps.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/OrderSalesReps.ftl	(working copy)
@@ -32,9 +32,9 @@
         <td width="50%">${uiLabelMap.PartyFirstName}</td>
       </tr>
     <#list salesReps as salesRep>
-      <#assign party = salesRep.getRelatedOne("Party", false)?if_exists/>
-      <#assign person = party.getRelatedOne("Person", false)?if_exists/>
-      <#if person?exists && person?has_content>
+      <#assign party = salesRep.getRelatedOne("Party", false)!/>
+      <#assign person = party.getRelatedOne("Person", false)!/>
+      <#if person?? && person?has_content>
       <tr>
         <td width="50%">${person.lastName}</td>
         <td width="50%">${person.firstName}</td>
Index: applications/order/webapp/ordermgr/order/orderReportHeaderInfo.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderReportHeaderInfo.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderReportHeaderInfo.fo.ftl	(working copy)
@@ -43,7 +43,7 @@
                       <fo:table-cell><fo:block>${uiLabelMap.OrderCurrentStatus}</fo:block></fo:table-cell>
                       <fo:table-cell><fo:block font-weight="bold">${currentStatus.get("description",locale)}</fo:block></fo:table-cell>
                     </fo:table-row>
-                    <#if orderItem.cancelBackOrderDate?exists>
+                    <#if orderItem.cancelBackOrderDate??>
                       <fo:table-row>
                         <fo:table-cell><fo:block>${uiLabelMap.FormFieldTitle_cancelBackOrderDate}</fo:block></fo:table-cell>
                         <#assign dateFormat = Static["java.text.DateFormat"].LONG>
Index: applications/order/webapp/ordermgr/order/findOrders.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/findOrders.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/findOrders.ftl	(working copy)
@@ -84,37 +84,37 @@
   </#if>
   <input type="hidden" name="viewSize" value="${viewSize}"/>
   <input type="hidden" name="viewIndex" value="${viewIndex}"/>
-  <input type='hidden' name='correspondingPoId' value='${requestParameters.correspondingPoId?if_exists}'/>
-  <input type='hidden' name='internalCode' value='${requestParameters.internalCode?if_exists}'/>
-  <input type='hidden' name='productId' value='${requestParameters.productId?if_exists}'/>
-  <input type='hidden' name='goodIdentificationTypeId' value='${requestParameters.goodIdentificationTypeId?if_exists}'/>
-  <input type='hidden' name='goodIdentificationIdValue' value='${requestParameters.goodIdentificationIdValue?if_exists}'/>
-  <input type='hidden' name='inventoryItemId' value='${requestParameters.inventoryItemId?if_exists}'/>
-  <input type='hidden' name='serialNumber' value='${requestParameters.serialNumber?if_exists}'/>
-  <input type='hidden' name='softIdentifier' value='${requestParameters.softIdentifier?if_exists}'/>
-  <input type='hidden' name='partyId' value='${requestParameters.partyId?if_exists}'/>
-  <input type='hidden' name='userLoginId' value='${requestParameters.userLoginId?if_exists}'/>
-  <input type='hidden' name='billingAccountId' value='${requestParameters.billingAccountId?if_exists}'/>
-  <input type='hidden' name='createdBy' value='${requestParameters.createdBy?if_exists}'/>
-  <input type='hidden' name='minDate' value='${requestParameters.minDate?if_exists}'/>
-  <input type='hidden' name='maxDate' value='${requestParameters.maxDate?if_exists}'/>
-  <input type='hidden' name='roleTypeId' value="${requestParameters.roleTypeId?if_exists}"/>
-  <input type='hidden' name='orderTypeId' value='${requestParameters.orderTypeId?if_exists}'/>
-  <input type='hidden' name='salesChannelEnumId' value='${requestParameters.salesChannelEnumId?if_exists}'/>
-  <input type='hidden' name='productStoreId' value='${requestParameters.productStoreId?if_exists}'/>
-  <input type='hidden' name='orderWebSiteId' value='${requestParameters.orderWebSiteId?if_exists}'/>
-  <input type='hidden' name='orderStatusId' value='${requestParameters.orderStatusId?if_exists}'/>
-  <input type='hidden' name='hasBackOrders' value='${requestParameters.hasBackOrders?if_exists}'/>
-  <input type='hidden' name='filterInventoryProblems' value='${requestParameters.filterInventoryProblems?if_exists}'/>
-  <input type='hidden' name='filterPartiallyReceivedPOs' value='${requestParameters.filterPartiallyReceivedPOs?if_exists}'/>
-  <input type='hidden' name='filterPOsOpenPastTheirETA' value='${requestParameters.filterPOsOpenPastTheirETA?if_exists}'/>
-  <input type='hidden' name='filterPOsWithRejectedItems' value='${requestParameters.filterPOsWithRejectedItems?if_exists}'/>
-  <input type='hidden' name='countryGeoId' value='${requestParameters.countryGeoId?if_exists}'/>
-  <input type='hidden' name='includeCountry' value='${requestParameters.includeCountry?if_exists}'/>
-  <input type='hidden' name='isViewed' value='${requestParameters.isViewed?if_exists}'/>
-  <input type='hidden' name='shipmentMethod' value='${requestParameters.shipmentMethod?if_exists}'/>
-  <input type='hidden' name='gatewayAvsResult' value='${requestParameters.gatewayAvsResult?if_exists}'/>
-  <input type='hidden' name='gatewayScoreResult' value='${requestParameters.gatewayScoreResult?if_exists}'/>
+  <input type='hidden' name='correspondingPoId' value='${requestParameters.correspondingPoId!}'/>
+  <input type='hidden' name='internalCode' value='${requestParameters.internalCode!}'/>
+  <input type='hidden' name='productId' value='${requestParameters.productId!}'/>
+  <input type='hidden' name='goodIdentificationTypeId' value='${requestParameters.goodIdentificationTypeId!}'/>
+  <input type='hidden' name='goodIdentificationIdValue' value='${requestParameters.goodIdentificationIdValue!}'/>
+  <input type='hidden' name='inventoryItemId' value='${requestParameters.inventoryItemId!}'/>
+  <input type='hidden' name='serialNumber' value='${requestParameters.serialNumber!}'/>
+  <input type='hidden' name='softIdentifier' value='${requestParameters.softIdentifier!}'/>
+  <input type='hidden' name='partyId' value='${requestParameters.partyId!}'/>
+  <input type='hidden' name='userLoginId' value='${requestParameters.userLoginId!}'/>
+  <input type='hidden' name='billingAccountId' value='${requestParameters.billingAccountId!}'/>
+  <input type='hidden' name='createdBy' value='${requestParameters.createdBy!}'/>
+  <input type='hidden' name='minDate' value='${requestParameters.minDate!}'/>
+  <input type='hidden' name='maxDate' value='${requestParameters.maxDate!}'/>
+  <input type='hidden' name='roleTypeId' value="${requestParameters.roleTypeId!}"/>
+  <input type='hidden' name='orderTypeId' value='${requestParameters.orderTypeId!}'/>
+  <input type='hidden' name='salesChannelEnumId' value='${requestParameters.salesChannelEnumId!}'/>
+  <input type='hidden' name='productStoreId' value='${requestParameters.productStoreId!}'/>
+  <input type='hidden' name='orderWebSiteId' value='${requestParameters.orderWebSiteId!}'/>
+  <input type='hidden' name='orderStatusId' value='${requestParameters.orderStatusId!}'/>
+  <input type='hidden' name='hasBackOrders' value='${requestParameters.hasBackOrders!}'/>
+  <input type='hidden' name='filterInventoryProblems' value='${requestParameters.filterInventoryProblems!}'/>
+  <input type='hidden' name='filterPartiallyReceivedPOs' value='${requestParameters.filterPartiallyReceivedPOs!}'/>
+  <input type='hidden' name='filterPOsOpenPastTheirETA' value='${requestParameters.filterPOsOpenPastTheirETA!}'/>
+  <input type='hidden' name='filterPOsWithRejectedItems' value='${requestParameters.filterPOsWithRejectedItems!}'/>
+  <input type='hidden' name='countryGeoId' value='${requestParameters.countryGeoId!}'/>
+  <input type='hidden' name='includeCountry' value='${requestParameters.includeCountry!}'/>
+  <input type='hidden' name='isViewed' value='${requestParameters.isViewed!}'/>
+  <input type='hidden' name='shipmentMethod' value='${requestParameters.shipmentMethod!}'/>
+  <input type='hidden' name='gatewayAvsResult' value='${requestParameters.gatewayAvsResult!}'/>
+  <input type='hidden' name='gatewayScoreResult' value='${requestParameters.gatewayScoreResult!}'/>
 </form>
 </#if>
 <form method="post" name="lookuporder" id="lookuporder" action="<@ofbizUrl>searchorders</@ofbizUrl>" onsubmit="javascript:lookupOrders();">
@@ -130,8 +130,8 @@
       <#if requestParameters.hideFields?default("N") == "Y">
         <li><a href="javascript:document.lookupandhidefields${requestParameters.hideFields}.submit()">${uiLabelMap.CommonShowLookupFields}</a></li>
       <#else>
-        <#if orderList?exists><li><a href="javascript:document.lookupandhidefields${requestParameters.hideFields?default("Y")}.submit()">${uiLabelMap.CommonHideFields}</a></li></#if>
-        <li><a href="/partymgr/control/findparty?externalLoginKey=${requestAttributes.externalLoginKey?if_exists}">${uiLabelMap.PartyLookupParty}</a></li>
+        <#if orderList??><li><a href="javascript:document.lookupandhidefields${requestParameters.hideFields?default("Y")}.submit()">${uiLabelMap.CommonHideFields}</a></li></#if>
+        <li><a href="/partymgr/control/findparty?externalLoginKey=${requestAttributes.externalLoginKey!}">${uiLabelMap.PartyLookupParty}</a></li>
         <li><a href="javascript:lookupOrders(true);">${uiLabelMap.OrderLookupOrder}</a></li>
       </#if>
     </ul>
@@ -156,17 +156,17 @@
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderCustomerPo}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='correspondingPoId' value='${requestParameters.correspondingPoId?if_exists}'/></td>
+                <td align='left'><input type='text' name='correspondingPoId' value='${requestParameters.correspondingPoId!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderInternalCode}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='internalCode' value='${requestParameters.internalCode?if_exists}'/></td>
+                <td align='left'><input type='text' name='internalCode' value='${requestParameters.internalCode!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.ProductProductId}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='productId' value='${requestParameters.productId?if_exists}'/></td>
+                <td align='left'><input type='text' name='productId' value='${requestParameters.productId!}'/></td>
               </tr>
               <#if goodIdentificationTypes?has_content>
               <tr>
@@ -188,23 +188,23 @@
               <tr>
                   <td width='25%' align='right' class='label'>${uiLabelMap.ProductGoodIdentification}</td>
                   <td width='5%'>&nbsp;</td>
-                  <td align='left'><input type='text' name='goodIdentificationIdValue' value='${requestParameters.goodIdentificationIdValue?if_exists}'/></td>
+                  <td align='left'><input type='text' name='goodIdentificationIdValue' value='${requestParameters.goodIdentificationIdValue!}'/></td>
               </tr>
               </#if>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.ProductInventoryItemId}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='inventoryItemId' value='${requestParameters.inventoryItemId?if_exists}'/></td>
+                <td align='left'><input type='text' name='inventoryItemId' value='${requestParameters.inventoryItemId!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.ProductSerialNumber}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='serialNumber' value='${requestParameters.serialNumber?if_exists}'/></td>
+                <td align='left'><input type='text' name='serialNumber' value='${requestParameters.serialNumber!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.ProductSoftIdentifier}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='softIdentifier' value='${requestParameters.softIdentifier?if_exists}'/></td>
+                <td align='left'><input type='text' name='softIdentifier' value='${requestParameters.softIdentifier!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.PartyRoleType}</td>
@@ -225,13 +225,13 @@
                 <td width='25%' align='right' class='label'>${uiLabelMap.PartyPartyId}</td>
                 <td width='5%'>&nbsp;</td>
                 <td align='left'>
-                  <@htmlTemplate.lookupField value='${requestParameters.partyId?if_exists}' formName="lookuporder" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
+                  <@htmlTemplate.lookupField value='${requestParameters.partyId!}' formName="lookuporder" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
                 </td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.CommonUserLoginId}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='userLoginId' value='${requestParameters.userLoginId?if_exists}'/></td>
+                <td align='left'><input type='text' name='userLoginId' value='${requestParameters.userLoginId!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderOrderType}</td>
@@ -252,12 +252,12 @@
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.AccountingBillingAccount}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='billingAccountId' value='${requestParameters.billingAccountId?if_exists}'/></td>
+                <td align='left'><input type='text' name='billingAccountId' value='${requestParameters.billingAccountId!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.CommonCreatedBy}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='createdBy' value='${requestParameters.createdBy?if_exists}'/></td>
+                <td align='left'><input type='text' name='createdBy' value='${requestParameters.createdBy!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderSalesChannel}</td>
@@ -281,12 +281,12 @@
                 <td align='left'>
                   <select name='productStoreId'>
                     <#if currentProductStore?has_content>
-                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName?if_exists}</option>
+                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName!}</option>
                     <option value="${currentProductStore.productStoreId}">---</option>
                     </#if>
                     <option value="">${uiLabelMap.CommonAnyStore}</option>
                     <#list productStores as store>
-                      <option value="${store.productStoreId}">${store.storeName?if_exists}</option>
+                      <option value="${store.productStoreId}">${store.storeName!}</option>
                     </#list>
                   </select>
                 </td>
@@ -302,7 +302,7 @@
                     </#if>
                     <option value="">${uiLabelMap.CommonAnyWebSite}</option>
                     <#list webSites as webSite>
-                      <option value="${webSite.webSiteId}">${webSite.siteName?if_exists}</option>
+                      <option value="${webSite.webSiteId}">${webSite.siteName!}</option>
                     </#list>
                   </select>
                 </td>
@@ -344,13 +344,13 @@
                   <select name="shipmentMethod">
                     <#if currentCarrierShipmentMethod?has_content>
                       <#assign currentShipmentMethodType = currentCarrierShipmentMethod.getRelatedOne("ShipmentMethodType", false)>
-                      <option value="${currentCarrierShipmentMethod.partyId}@${currentCarrierShipmentMethod.shipmentMethodTypeId}">${currentCarrierShipmentMethod.partyId?if_exists} ${currentShipmentMethodType.description?if_exists}</option>
+                      <option value="${currentCarrierShipmentMethod.partyId}@${currentCarrierShipmentMethod.shipmentMethodTypeId}">${currentCarrierShipmentMethod.partyId!} ${currentShipmentMethodType.description!}</option>
                       <option value="${currentCarrierShipmentMethod.partyId}@${currentCarrierShipmentMethod.shipmentMethodTypeId}">---</option>
                     </#if>
                     <option value="">${uiLabelMap.OrderSelectShippingMethod}</option>
                     <#list carrierShipmentMethods as carrierShipmentMethod>
                       <#assign shipmentMethodType = carrierShipmentMethod.getRelatedOne("ShipmentMethodType", false)>
-                      <option value="${carrierShipmentMethod.partyId}@${carrierShipmentMethod.shipmentMethodTypeId}">${carrierShipmentMethod.partyId?if_exists} ${shipmentMethodType.description?if_exists}</option>
+                      <option value="${carrierShipmentMethod.partyId}@${carrierShipmentMethod.shipmentMethodTypeId}">${carrierShipmentMethod.partyId!} ${shipmentMethodType.description!}</option>
                     </#list>
                   </select>
                 </td>
@@ -373,12 +373,12 @@
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderAddressVerification}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='gatewayAvsResult' value='${requestParameters.gatewayAvsResult?if_exists}'/></td>
+                <td align='left'><input type='text' name='gatewayAvsResult' value='${requestParameters.gatewayAvsResult!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.OrderScore}</td>
                 <td width='5%'>&nbsp;</td>
-                <td align='left'><input type='text' name='gatewayScoreResult' value='${requestParameters.gatewayScoreResult?if_exists}'/></td>
+                <td align='left'><input type='text' name='gatewayScoreResult' value='${requestParameters.gatewayScoreResult!}'/></td>
               </tr>
               <tr>
                 <td width='25%' align='right' class='label'>${uiLabelMap.CommonDateFilter}</td>
@@ -387,13 +387,13 @@
                   <table class="basic-table" cellspacing='0'>
                     <tr>
                       <td nowrap="nowrap">
-                        <@htmlTemplate.renderDateTimeField name="minDate" event="" action="" value="${requestParameters.minDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="minDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <@htmlTemplate.renderDateTimeField name="minDate" event="" action="" value="${requestParameters.minDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="minDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         <span class='label'>${uiLabelMap.CommonFrom}</span>
                       </td>
                     </tr>
                     <tr>
                       <td nowrap="nowrap">
-                        <@htmlTemplate.renderDateTimeField name="maxDate" event="" action="" value="${requestParameters.maxDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="maxDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <@htmlTemplate.renderDateTimeField name="maxDate" event="" action="" value="${requestParameters.maxDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="maxDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         <span class='label'>${uiLabelMap.CommonThru}</span>
                       </td>
                     </tr>
@@ -464,7 +464,7 @@
                     <#if requestParameters.countryGeoId?has_content>
                         <#assign countryGeoId = requestParameters.countryGeoId>
                         <#assign geo = delegator.findOne("Geo", Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId", countryGeoId), true)>
-                        <option value="${countryGeoId}">${geo.geoName?if_exists}</option>
+                        <option value="${countryGeoId}">${geo.geoName!}</option>
                         <option value="${countryGeoId}">---</option>
                     <#else>
                         <option value="">---</option>
@@ -549,7 +549,7 @@
       <input type="hidden" name="viewSize"/>
       <input type="hidden" name="viewIndex"/>
       <input type="hidden" name="hideFields"/>
-      <#if paramIdList?exists && paramIdList?has_content>
+      <#if paramIdList?? && paramIdList?has_content>
         <#list paramIdList as paramIds>
           <#assign paramId = paramIds.split("=")/>
           <input type="hidden" name="${paramId[0]}" value="${paramId[1]}"/>
@@ -614,9 +614,9 @@
             <#assign statusItem = orderHeader.getRelatedOne("StatusItem", true)>
             <#assign orderType = orderHeader.getRelatedOne("OrderType", true)>
             <#if orderType.orderTypeId == "PURCHASE_ORDER">
-              <#assign displayParty = orh.getSupplierAgent()?if_exists>
+              <#assign displayParty = orh.getSupplierAgent()!>
             <#else>
-              <#assign displayParty = orh.getPlacingParty()?if_exists>
+              <#assign displayParty = orh.getPlacingParty()!>
             </#if>
             <#assign partyId = displayParty.partyId?default("_NA_")>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
@@ -639,13 +639,13 @@
                 <#if placingParty?has_content>
                   <#assign partyId = placingParty.partyId>
                   <#if placingParty.getEntityName() == "Person">
-                    <#if placingParty.lastName?exists>
-                      ${placingParty.lastName}<#if placingParty.firstName?exists>, ${placingParty.firstName}</#if>
+                    <#if placingParty.lastName??>
+                      ${placingParty.lastName}<#if placingParty.firstName??>, ${placingParty.firstName}</#if>
                     <#else>
                       ${uiLabelMap.CommonNA}
                     </#if>
                   <#else>
-                    <#if placingParty.groupName?exists>
+                    <#if placingParty.groupName??>
                       ${placingParty.groupName}
                     <#else>
                       ${uiLabelMap.CommonNA}
@@ -703,7 +703,7 @@
             <td colspan='4'><h3>${uiLabelMap.OrderNoOrderFound}</h3></td>
           </tr>
         </#if>
-        <#if lookupErrorMessage?exists>
+        <#if lookupErrorMessage??>
           <tr>
             <td colspan='4'><h3>${lookupErrorMessage}</h3></td>
           </tr>
Index: applications/order/webapp/ordermgr/order/OrderListByDate.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/OrderListByDate.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/OrderListByDate.ftl	(working copy)
@@ -23,7 +23,7 @@
       <li class="h3">${uiLabelMap.OrderOrderReceivedOn} ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(filterDate)}</li>
       <#assign listSize = state.getSize()>
       <#if (listSize > 10)>
-        <li><a href="/ordermgr/control/orderlist?viewIndex=${state.getViewIndex() + 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate?if_exists}">${uiLabelMap.CommonMore}</a></li>
+        <li><a href="/ordermgr/control/orderlist?viewIndex=${state.getViewIndex() + 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate!}">${uiLabelMap.CommonMore}</a></li>
       </#if>
       <#if orderHeaderList?has_content> 
         <li>1-${orderHeaderList.size()} ${uiLabelMap.CommonOf} ${state.getSize()}</li>
@@ -46,23 +46,23 @@
         <#list orderHeaderList as orderHeader>
           <#assign status = orderHeader.getRelatedOne("StatusItem", true)>
           <#assign orh = Static["org.ofbiz.order.order.OrderReadHelper"].getHelper(orderHeader)>
-          <#assign billToParty = orh.getBillToParty()?if_exists>
+          <#assign billToParty = orh.getBillToParty()!>
           <#if billToParty?has_content>
             <#assign billToPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", billToParty.partyId, "compareDate", orderHeader.orderDate, "userLogin", userLogin))/>
             <#assign billTo = billToPartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")/>
           </#if>
-          <#assign productStore = orderHeader.getRelatedOne("ProductStore", true)?if_exists />
+          <#assign productStore = orderHeader.getRelatedOne("ProductStore", true)! />
           <tr<#if alt_row> class="alternate-row"</#if>>
             <#assign alt_row = !alt_row>
             <td><a href="/ordermgr/control/orderview?orderId=${orderHeader.orderId}" class="buttontext">${orderHeader.orderId}</a></td>
-            <td>${billTo?if_exists}</td>
+            <td>${billTo!}</td>
             <td><#if productStore?has_content>${productStore.storeName?default(productStore.productStoreId)}</#if></td>
             <td><@ofbizCurrency amount=orderHeader.grandTotal isoCode=orderHeader.currencyUom/></td>
             <td>
               <#assign trackingCodes = orderHeader.getRelated("TrackingCodeOrder", null, null, false)>
               <#list trackingCodes as trackingCode>
                 <#if trackingCode?has_content>
-                  <a href="/marketing/control/FindTrackingCodeOrders?trackingCodeId=${trackingCode.trackingCodeId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}">${trackingCode.trackingCodeId}</a><br />
+                  <a href="/marketing/control/FindTrackingCodeOrders?trackingCodeId=${trackingCode.trackingCodeId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}">${trackingCode.trackingCodeId}</a><br />
                 </#if>
               </#list>
             </td>
Index: applications/order/webapp/ordermgr/order/ordercontactinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/ordercontactinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/ordercontactinfo.ftl	(working copy)
@@ -20,31 +20,31 @@
 <#macro updateOrderContactMech orderHeader contactMechTypeId contactMechList contactMechPurposeTypeId contactMechAddress>
   <#if (!orderHeader.statusId.equals("ORDER_COMPLETED")) && !(orderHeader.statusId.equals("ORDER_REJECTED")) && !(orderHeader.statusId.equals("ORDER_CANCELLED"))>
     <form name="updateOrderContactMech" method="post" action="<@ofbizUrl>updateOrderContactMech</@ofbizUrl>">
-      <input type="hidden" name="orderId" value="${orderId?if_exists}" />
-      <input type="hidden" name="contactMechPurposeTypeId" value="${contactMechPurpose.contactMechPurposeTypeId?if_exists}" />
-      <input type="hidden" name="oldContactMechId" value="${contactMech.contactMechId?if_exists}" />
+      <input type="hidden" name="orderId" value="${orderId!}" />
+      <input type="hidden" name="contactMechPurposeTypeId" value="${contactMechPurpose.contactMechPurposeTypeId!}" />
+      <input type="hidden" name="oldContactMechId" value="${contactMech.contactMechId!}" />
       <select name="contactMechId">
         <#if contactMech.contactMechTypeId == "POSTAL_ADDRESS">
           <option value="${contactMechAddress.contactMechId}">${(contactMechAddress.address1)?default("")} - ${contactMechAddress.city?default("")}</option>
           <option value="${contactMechAddress.contactMechId}"></option>
           <#list contactMechList as contactMech>
-            <#assign postalAddress = contactMech.getRelatedOne("PostalAddress", false)?if_exists />
-            <#assign partyContactPurposes = postalAddress.getRelated("PartyContactMechPurpose", null, null, false)?if_exists />
+            <#assign postalAddress = contactMech.getRelatedOne("PostalAddress", false)! />
+            <#assign partyContactPurposes = postalAddress.getRelated("PartyContactMechPurpose", null, null, false)! />
             <#list partyContactPurposes as partyContactPurpose>
               <#if contactMech.contactMechId?has_content && partyContactPurpose.contactMechPurposeTypeId == contactMechPurposeTypeId>
-                <option value="${contactMech.contactMechId?if_exists}">${(postalAddress.address1)?default("")} - ${postalAddress.city?default("")}</option>
+                <option value="${contactMech.contactMechId!}">${(postalAddress.address1)?default("")} - ${postalAddress.city?default("")}</option>
               </#if>
             </#list>
           </#list>
         <#elseif contactMech.contactMechTypeId == "TELECOM_NUMBER">
-          <option value="${contactMechAddress.contactMechId}">${contactMechAddress.countryCode?if_exists} <#if contactMechAddress.areaCode?exists>${contactMechAddress.areaCode}-</#if>${contactMechAddress.contactNumber}</option>
+          <option value="${contactMechAddress.contactMechId}">${contactMechAddress.countryCode!} <#if contactMechAddress.areaCode??>${contactMechAddress.areaCode}-</#if>${contactMechAddress.contactNumber}</option>
           <option value="${contactMechAddress.contactMechId}"></option>
           <#list contactMechList as contactMech>
-             <#assign telecomNumber = contactMech.getRelatedOne("TelecomNumber", false)?if_exists />
-             <#assign partyContactPurposes = telecomNumber.getRelated("PartyContactMechPurpose", null, null, false)?if_exists />
+             <#assign telecomNumber = contactMech.getRelatedOne("TelecomNumber", false)! />
+             <#assign partyContactPurposes = telecomNumber.getRelated("PartyContactMechPurpose", null, null, false)! />
              <#list partyContactPurposes as partyContactPurpose>
                <#if contactMech.contactMechId?has_content && partyContactPurpose.contactMechPurposeTypeId == contactMechPurposeTypeId>
-                  <option value="${contactMech.contactMechId?if_exists}">${telecomNumber.countryCode?if_exists} <#if telecomNumber.areaCode?exists>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber}</option>
+                  <option value="${contactMech.contactMechId!}">${telecomNumber.countryCode!} <#if telecomNumber.areaCode??>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber}</option>
                </#if>
              </#list>
           </#list>
@@ -52,10 +52,10 @@
           <option value="${contactMechAddress.contactMechId}">${(contactMechAddress.infoString)?default("")}</option>
           <option value="${contactMechAddress.contactMechId}"></option>
           <#list contactMechList as contactMech>
-             <#assign partyContactPurposes = contactMech.getRelated("PartyContactMechPurpose", null, null, false)?if_exists />
+             <#assign partyContactPurposes = contactMech.getRelated("PartyContactMechPurpose", null, null, false)! />
              <#list partyContactPurposes as partyContactPurpose>
                <#if contactMech.contactMechId?has_content && partyContactPurpose.contactMechPurposeTypeId == contactMechPurposeTypeId>
-                  <option value="${contactMech.contactMechId?if_exists}">${contactMech.infoString?if_exists}</option>
+                  <option value="${contactMech.contactMechId!}">${contactMech.infoString!}</option>
                </#if>
              </#list>
           </#list>
@@ -83,10 +83,10 @@
                 <#assign displayPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", displayParty.partyId, "compareDate", orderHeader.orderDate, "userLogin", userLogin))/>
                 ${displayPartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")}
               </#if>
-              <#if partyId?exists>
+              <#if partyId??>
                 &nbsp;(<a href="${customerDetailLink}${partyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${partyId}</a>)
                 <br/>
-                <#if (orderHeader.salesChannelEnumId)?exists && orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL">
+                <#if (orderHeader.salesChannelEnumId)?? && orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL">
                 <div>
                    <a href="<@ofbizUrl>/orderentry?partyId=${partyId}&amp;orderTypeId=${orderHeader.orderTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNewOrder}</a>
                    <a href="javascript:document.searchOtherOrders.submit()" class="buttontext">${uiLabelMap.OrderOtherOrders}</a>
@@ -120,20 +120,20 @@
                      ${setContextField("postalAddress", postalAddress)}
                      ${screens.render("component://party/widget/partymgr/PartyScreens.xml#postalAddressHtmlFormatter")}
                   </div>
-                  <@updateOrderContactMech orderHeader=orderHeader?if_exists contactMechTypeId=contactMech.contactMechTypeId contactMechList=postalContactMechList?if_exists contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId?if_exists contactMechAddress=postalAddress?if_exists />
+                  <@updateOrderContactMech orderHeader=orderHeader! contactMechTypeId=contactMech.contactMechTypeId contactMechList=postalContactMechList! contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId! contactMechAddress=postalAddress! />
                 </#if>
               <#elseif contactMech.contactMechTypeId == "TELECOM_NUMBER">
                 <#assign telecomNumber = orderContactMechValueMap.telecomNumber>
                 <div>
-                  ${telecomNumber.countryCode?if_exists}
-                  <#if telecomNumber.areaCode?exists>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber}
-                  <#--<#if partyContactMech.extension?exists>ext&nbsp;${partyContactMech.extension}</#if>-->
-                  <#if !telecomNumber.countryCode?exists || telecomNumber.countryCode == "011" || telecomNumber.countryCode == "1">
+                  ${telecomNumber.countryCode!}
+                  <#if telecomNumber.areaCode??>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber}
+                  <#--<#if partyContactMech.extension??>ext&nbsp;${partyContactMech.extension}</#if>-->
+                  <#if !telecomNumber.countryCode?? || telecomNumber.countryCode == "011" || telecomNumber.countryCode == "1">
                     <a target="_blank" href="${uiLabelMap.CommonLookupAnywhoLink}" class="buttontext">${uiLabelMap.CommonLookupAnywho}</a>
                    <a target="_blank" href="${uiLabelMap.CommonLookupWhitepagesTelNumberLink}" class="buttontext">${uiLabelMap.CommonLookupWhitepages}</a>
                   </#if>
                 </div>
-                <@updateOrderContactMech orderHeader=orderHeader?if_exists contactMechTypeId=contactMech.contactMechTypeId contactMechList=telecomContactMechList?if_exists contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId?if_exists contactMechAddress=telecomNumber?if_exists />
+                <@updateOrderContactMech orderHeader=orderHeader! contactMechTypeId=contactMech.contactMechTypeId contactMechList=telecomContactMechList! contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId! contactMechAddress=telecomNumber! />
               <#elseif contactMech.contactMechTypeId == "EMAIL_ADDRESS">
                 <div>
                   ${contactMech.infoString}
@@ -143,7 +143,7 @@
                      <a href="mailto:${contactMech.infoString}" class="buttontext">(${uiLabelMap.OrderSendEmail})</a>
                   </#if>
                 </div>
-                <@updateOrderContactMech orderHeader=orderHeader?if_exists contactMechTypeId=contactMech.contactMechTypeId contactMechList=emailContactMechList?if_exists contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId?if_exists contactMechAddress=contactMech?if_exists />
+                <@updateOrderContactMech orderHeader=orderHeader! contactMechTypeId=contactMech.contactMechTypeId contactMechList=emailContactMechList! contactMechPurposeTypeId=contactMechPurpose.contactMechPurposeTypeId! contactMechAddress=contactMech! />
               <#elseif contactMech.contactMechTypeId == "WEB_ADDRESS">
                 <div>
                   ${contactMech.infoString}
@@ -155,7 +155,7 @@
                 </div>
               <#else>
                 <div>
-                  ${contactMech.infoString?if_exists}
+                  ${contactMech.infoString!}
                 </div>
               </#if>
             </td>
Index: applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 <#escape x as x?xml>
 
-<#if shipGroups?exists && shipGroups.size() gt 1>
+<#if shipGroups?? && shipGroups.size() gt 1>
     <fo:table table-layout="fixed" border-spacing="3pt" space-before="0.3in" font-size="9pt">
         <fo:table-column column-width="1in"/>
         <fo:table-column column-width="1in"/>
@@ -32,13 +32,13 @@
         </fo:table-header>
         <fo:table-body>
             <#list shipGroups as shipGroup>
-                <#assign orderItemShipGroupAssocs = shipGroup.getRelated("OrderItemShipGroupAssoc", null, null, false)?if_exists>
+                <#assign orderItemShipGroupAssocs = shipGroup.getRelated("OrderItemShipGroupAssoc", null, null, false)!>
                 <#if orderItemShipGroupAssocs?has_content>
                     <#list orderItemShipGroupAssocs as shipGroupAssoc>
-                        <#assign orderItem = shipGroupAssoc.getRelatedOne("OrderItem", false)?if_exists>
+                        <#assign orderItem = shipGroupAssoc.getRelatedOne("OrderItem", false)!>
                         <fo:table-row>
                             <fo:table-cell><fo:block>${shipGroup.shipGroupSeqId}</fo:block></fo:table-cell>
-                            <fo:table-cell><fo:block>${orderItem.productId?if_exists}</fo:block></fo:table-cell>
+                            <fo:table-cell><fo:block>${orderItem.productId!}</fo:block></fo:table-cell>
                             <fo:table-cell text-align="right"><fo:block>${shipGroupAssoc.quantity?string.number}</fo:block></fo:table-cell>
                         </fo:table-row>
                     </#list>
Index: applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl	(working copy)
@@ -19,23 +19,23 @@
 <#escape x as x?xml>
 
 <#if orderHeader.getString("orderTypeId") == "PURCHASE_ORDER">
-    <#if supplierGeneralContactMechValueMap?exists>
+    <#if supplierGeneralContactMechValueMap??>
         <#assign contactMech = supplierGeneralContactMechValueMap.contactMech>
         <fo:block font-weight="bold">${uiLabelMap.OrderPurchasedFrom}:</fo:block>
         <#assign postalAddress = supplierGeneralContactMechValueMap.postalAddress>
         <#if postalAddress?has_content>
             <fo:block text-indent="0.2in">
                 <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName}</fo:block></#if>
-                <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if>
-                <fo:block>${postalAddress.address1?if_exists}</fo:block>
-                <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if>
+                <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName!}</fo:block></#if>
+                <fo:block>${postalAddress.address1!}</fo:block>
+                <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2!}</fo:block></#if>
                 <fo:block>
-                    <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists />
-                    ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists}
+                    <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId!}, false))! />
+                    ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName!}</#if> ${postalAddress.postalCode!}
                 </fo:block>
                 <fo:block>
-                    <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists />
-                    <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if>
+                    <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId!}, false))! />
+                    <#if countryGeo?has_content>${countryGeo.geoName!}</#if>
                 </fo:block>
             </fo:block>                
         </#if>
@@ -57,17 +57,17 @@
         <fo:block font-weight="bold">${contactMechPurpose.get("description",locale)}:</fo:block>
         <fo:block text-indent="0.2in">
             <#if postalAddress?has_content>
-                <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName?if_exists}</fo:block></#if>
-                <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if>
-                <fo:block>${postalAddress.address1?if_exists}</fo:block>
-                <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if>
+                <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName!}</fo:block></#if>
+                <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName!}</fo:block></#if>
+                <fo:block>${postalAddress.address1!}</fo:block>
+                <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2!}</fo:block></#if>
                 <fo:block>
-                    <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists />
-                    ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists}
+                    <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId!}, false))! />
+                    ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName!}</#if> ${postalAddress.postalCode!}
                 </fo:block>
                 <fo:block>
-                    <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists />
-                    <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if>
+                    <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId!}, false))! />
+                    <#if countryGeo?has_content>${countryGeo.geoName!}</#if>
                 </fo:block>
             </#if>
         </fo:block>
@@ -80,12 +80,12 @@
     <fo:block font-weight="bold">${uiLabelMap.AccountingPaymentInformation}:</fo:block>
     <#list orderPaymentPreferences as orderPaymentPreference>
         <fo:block text-indent="0.2in">
-            <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType", false)?if_exists>
+            <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType", false)!>
             <#if (orderPaymentPreference?? && (orderPaymentPreference.getString("paymentMethodTypeId") == "CREDIT_CARD") && (orderPaymentPreference.getString("paymentMethodId")?has_content))>
                 <#assign creditCard = orderPaymentPreference.getRelatedOne("PaymentMethod", false).getRelatedOne("CreditCard", false)>
                 ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
             <#else>
-                ${paymentMethodType.get("description",locale)?if_exists}
+                ${paymentMethodType.get("description",locale)!}
             </#if>
         </fo:block>
     </#list>
@@ -95,11 +95,11 @@
     <#list shipGroups as shipGroup>
         <fo:block text-indent="0.2in">
             <#if shipGroups.size() gt 1>${shipGroup.shipGroupSeqId} - </#if>
-            <#if (shipGroup.shipmentMethodTypeId)?exists>
+            <#if (shipGroup.shipmentMethodTypeId)??>
                 ${(shipGroup.getRelatedOne("ShipmentMethodType", false).get("description", locale))?default(shipGroup.shipmentMethodTypeId)}
             </#if>
-            <#if (shipGroup.shipAfterDate)?exists || (shipGroup.shipByDate)?exists>
-                <#if (shipGroup.shipAfterDate)?exists> - ${uiLabelMap.OrderShipAfterDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipAfterDate)}</#if><#if (shipGroup.shipByDate)?exists> - ${uiLabelMap.OrderShipBeforeDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipByDate)}</#if>
+            <#if (shipGroup.shipAfterDate)?? || (shipGroup.shipByDate)??>
+                <#if (shipGroup.shipAfterDate)??> - ${uiLabelMap.OrderShipAfterDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipAfterDate)}</#if><#if (shipGroup.shipByDate)??> - ${uiLabelMap.OrderShipBeforeDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipByDate)}</#if>
             </#if>
         </fo:block>
     </#list>
Index: applications/order/webapp/ordermgr/order/shipGroups.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/shipGroups.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/shipGroups.fo.ftl	(working copy)
@@ -68,26 +68,26 @@
     <fo:table-body>
       <fo:table-row>
         <fo:table-cell number-rows-spanned="4">
-          <#assign address = data.address?if_exists>
-          <fo:block>${uiLabelMap.CommonTo}: ${address.toName?if_exists}</fo:block>
+          <#assign address = data.address!>
+          <fo:block>${uiLabelMap.CommonTo}: ${address.toName!}</fo:block>
           <#if address.attnName?has_content>
-          <fo:block>${uiLabelMap.CommonAttn}: ${address.attnName?if_exists}</fo:block>
+          <fo:block>${uiLabelMap.CommonAttn}: ${address.attnName!}</fo:block>
           </#if>
-          <fo:block>${address.address1?if_exists}</fo:block>
-          <fo:block>${address.address2?if_exists}</fo:block>
+          <fo:block>${address.address1!}</fo:block>
+          <fo:block>${address.address2!}</fo:block>
           <fo:block>
-            ${address.city?if_exists}<#if address.stateProvinceGeoId?has_content>, ${address.stateProvinceGeoId}</#if>
-            ${address.postalCode?if_exists} ${address.countryGeoId?if_exists}
+            ${address.city!}<#if address.stateProvinceGeoId?has_content>, ${address.stateProvinceGeoId}</#if>
+            ${address.postalCode!} ${address.countryGeoId!}
           </fo:block>
 
-          <#if data.phoneNumber?exists>
-            <fo:block><#if data.phoneNumber.areaCode?exists>(${data.phoneNumber.areaCode}) </#if>${data.phoneNumber.contactNumber}</fo:block>
+          <#if data.phoneNumber??>
+            <fo:block><#if data.phoneNumber.areaCode??>(${data.phoneNumber.areaCode}) </#if>${data.phoneNumber.contactNumber}</fo:block>
           </#if>
         </fo:table-cell>
       </fo:table-row>
       <fo:table-row>
         <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.ProductShipmentMethod}</fo:block></fo:table-cell>
-        <fo:table-cell><#if data.carrierShipmentMethod?exists><fo:block>${data.carrierShipmentMethod.partyId} ${data.shipmentMethodType.description}</fo:block></#if></fo:table-cell>
+        <fo:table-cell><#if data.carrierShipmentMethod??><fo:block>${data.carrierShipmentMethod.partyId} ${data.shipmentMethodType.description}</fo:block></#if></fo:table-cell>
       </fo:table-row>
       <fo:table-row>
         <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.OrderShipBeforeDate}</fo:block></fo:table-cell>
@@ -141,7 +141,7 @@
           <fo:block>${line.product.productId}</fo:block>
         </fo:table-cell>
         <fo:table-cell background-color="${rowColor}">
-          <fo:block>${line.orderItem.itemDescription?if_exists}</fo:block>
+          <fo:block>${line.orderItem.itemDescription!}</fo:block>
         </fo:table-cell>
         <fo:table-cell background-color="${rowColor}">
           <fo:block text-align="right">${line.quantityInGroup?default(0)}</fo:block>
@@ -155,7 +155,7 @@
 
       </fo:table-row>
 
-      <#list line.expandedList?if_exists as expandedLine>
+      <#list line.expandedList! as expandedLine>
       <fo:table-row>
         <fo:table-cell background-color="${rowColor}" font-style="italic">
           <fo:block margin-left="20pt">${expandedLine.product.productId}</fo:block>
Index: applications/order/webapp/ordermgr/order/orderlist.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderlist.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderlist.ftl	(working copy)
@@ -40,12 +40,12 @@
          <tr>
         <td>
           <#if state.hasPrevious()>
-            <a href="<@ofbizUrl>orderlist?viewIndex=${state.getViewIndex() - 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a>
+            <a href="<@ofbizUrl>orderlist?viewIndex=${state.getViewIndex() - 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a>
           </#if>
         </td>
         <td align="right">
           <#if state.hasNext()>
-            <a href="<@ofbizUrl>orderlist?viewIndex=${state.getViewIndex() + 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
+            <a href="<@ofbizUrl>orderlist?viewIndex=${state.getViewIndex() + 1}&amp;viewSize=${state.getViewSize()}&amp;filterDate=${filterDate!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
           </#if>
         </td>
       </tr>
@@ -168,37 +168,37 @@
           <#list orderHeaderList as orderHeader>
             <#assign status = orderHeader.getRelatedOne("StatusItem", true)>
             <#assign orh = Static["org.ofbiz.order.order.OrderReadHelper"].getHelper(orderHeader)>
-            <#assign billToParty = orh.getBillToParty()?if_exists>
-            <#assign billFromParty = orh.getBillFromParty()?if_exists>
+            <#assign billToParty = orh.getBillToParty()!>
+            <#assign billFromParty = orh.getBillFromParty()!>
             <#if billToParty?has_content>
                 <#assign billToPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", billToParty.partyId, "compareDate", orderHeader.orderDate, "userLogin", userLogin))/>
                 <#assign billTo = billToPartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")/>
-                <#-- <#assign billTo = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billToParty, true)?if_exists> -->
+                <#-- <#assign billTo = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billToParty, true)!> -->
             <#else>
               <#assign billTo = ''/>
             </#if>
             <#if billFromParty?has_content>
-              <#assign billFrom = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billFromParty, true)?if_exists>
+              <#assign billFrom = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billFromParty, true)!>
             <#else>
               <#assign billFrom = ''/>
             </#if>
-            <#assign productStore = orderHeader.getRelatedOne("ProductStore", true)?if_exists />
+            <#assign productStore = orderHeader.getRelatedOne("ProductStore", true)! />
             <tr>
               <td><#if orderHeader.orderDate?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(orderHeader.orderDate, "", locale, timeZone)!}</#if></td>
               <td>
                 <a href="<@ofbizUrl>orderview?orderId=${orderHeader.orderId}</@ofbizUrl>" class="buttontext">${orderHeader.orderId}</a>
               </td>
-              <td>${orderHeader.orderName?if_exists}</td>
+              <td>${orderHeader.orderName!}</td>
               <td>${orderHeader.getRelatedOne("OrderType", true).get("description",locale)}</td>
-              <td>${billFrom?if_exists}</td>
-              <td>${billTo?if_exists}</td>
+              <td>${billFrom!}</td>
+              <td>${billTo!}</td>
               <td><#if productStore?has_content>${productStore.storeName?default(productStore.productStoreId)}</#if></td>
               <td><@ofbizCurrency amount=orderHeader.grandTotal isoCode=orderHeader.currencyUom/></td>
               <td>
                 <#assign trackingCodes = orderHeader.getRelated("TrackingCodeOrder", null, null, false)>
                 <#list trackingCodes as trackingCode>
                     <#if trackingCode?has_content>
-                        <a href="/marketing/control/FindTrackingCodeOrders?trackingCodeId=${trackingCode.trackingCodeId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}">${trackingCode.trackingCodeId}</a><br />
+                        <a href="/marketing/control/FindTrackingCodeOrders?trackingCodeId=${trackingCode.trackingCodeId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}">${trackingCode.trackingCodeId}</a><br />
                     </#if>
                 </#list>
               </td>
Index: applications/order/webapp/ordermgr/order/OrderDeliveryScheduleInfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/OrderDeliveryScheduleInfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/OrderDeliveryScheduleInfo.ftl	(working copy)
@@ -22,7 +22,7 @@
     <div class="screenlet-title-bar">
       <ul>
         <li class="h3">${uiLabelMap.OrderScheduleDelivery}</li>
-        <#if orderId?exists>
+        <#if orderId??>
           <li><a href="<@ofbizUrl>orderview?orderId=${orderId}</@ofbizUrl>">${uiLabelMap.OrderViewOrder}</a></li>
         </#if>
       </ul>
Index: applications/order/webapp/ordermgr/order/sendconfirmationemail.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/sendconfirmationemail.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/sendconfirmationemail.ftl	(working copy)
@@ -30,11 +30,11 @@
       <a href="javascript:document.sendConfirmationForm.submit()" class="buttontext">${uiLabelMap.CommonSend}</a>      
       <br />
       <form method="post" action="<@ofbizUrl>sendconfirmationmail/${donePage}</@ofbizUrl>" name="sendConfirmationForm">
-        <input type="hidden" name="orderId" value="${orderId?if_exists}" />
-        <#if ! productStoreEmailSetting?exists>
+        <input type="hidden" name="orderId" value="${orderId!}" />
+        <#if ! productStoreEmailSetting??>
             <#assign productStoreEmailSetting = {} />
         </#if>
-        <input type="hidden" name="partyId" value="${partyId?if_exists}" />
+        <input type="hidden" name="partyId" value="${partyId!}" />
         <input type="hidden" name="contentType" value="${productStoreEmailSetting.contentType?default("")}" />
         <table class="basic-table" cellspacing='0'>
             <tr>
@@ -65,7 +65,7 @@
             <tr>
                 <td width="26%" align="right" class="label">${uiLabelMap.CommonFrom}&nbsp;</td>
                 <td width="54%">
-                    <#if productStoreEmailSetting.fromAddress?exists>
+                    <#if productStoreEmailSetting.fromAddress??>
                         <input type="hidden" name="sendFrom" value="${productStoreEmailSetting.fromAddress}" />
                     <#else>
                         <input type="text" size="40" name="sendFrom" value="" />
Index: applications/order/webapp/ordermgr/order/orderitems.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderitems.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/orderitems.ftl	(working copy)
@@ -49,25 +49,25 @@
                         <#assign orderItemShipGrpInvResList = orderReadHelper.getOrderItemShipGrpInvResList(orderItem)>
                         <#if orderHeader.orderTypeId == "SALES_ORDER"><#assign pickedQty = orderReadHelper.getItemPickedQuantityBd(orderItem)></#if>
                         <tr<#if itemClass == "1"> class="alternate-row"</#if>>
-                            <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)?if_exists>
-                            <#assign productId = orderItem.productId?if_exists>
-                            <#if productId?exists && productId == "shoppingcart.CommentLine">
+                            <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)!>
+                            <#assign productId = orderItem.productId!>
+                            <#if productId?? && productId == "shoppingcart.CommentLine">
                                 <td colspan="7" valign="top" class="label"> &gt;&gt; ${orderItem.itemDescription}</td>
                             <#else>
                                 <td colspan="7">
                                     <div class="order-item-description">
                                         <#if orderItem.supplierProductId?has_content>
-                                            ${orderItem.supplierProductId} - ${orderItem.itemDescription?if_exists}
-                                        <#elseif productId?exists>
-                                            ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription?if_exists}
-                                            <#if (product.salesDiscontinuationDate)?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(product.salesDiscontinuationDate)>
+                                            ${orderItem.supplierProductId} - ${orderItem.itemDescription!}
+                                        <#elseif productId??>
+                                            ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription!}
+                                            <#if (product.salesDiscontinuationDate)?? && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(product.salesDiscontinuationDate)>
                                                 <br />
                                                 <span style="color: red;">${uiLabelMap.OrderItemDiscontinued}: ${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(product.salesDiscontinuationDate, "", locale, timeZone)!}</span>
                                             </#if>
-                                        <#elseif orderItemType?exists>
-                                            ${orderItemType.description} - ${orderItem.itemDescription?if_exists}
+                                        <#elseif orderItemType??>
+                                            ${orderItemType.description} - ${orderItem.itemDescription!}
                                         <#else>
-                                            ${orderItem.itemDescription?if_exists}
+                                            ${orderItem.itemDescription!}
                                         </#if>
                                         <#assign orderItemAttributes = orderItem.getRelated("OrderItemAttribute", null, null, false)/>
                                         <#if orderItemAttributes?has_content>
@@ -98,16 +98,16 @@
                             </#if>
                         </tr>
                         <tr<#if itemClass == "1"> class="alternate-row"</#if>>
-                            <#if productId?exists && productId == "shoppingcart.CommentLine">
+                            <#if productId?? && productId == "shoppingcart.CommentLine">
                                 <td colspan="7" valign="top" class="label"> &gt;&gt; ${orderItem.itemDescription}</td>
                             <#else>
                                 <td valign="top">
                                     <#if productId?has_content>
                                         <#assign product = orderItem.getRelatedOne("Product", true)>
                                     </#if>
-                                    <#if productId?exists>
+                                    <#if productId??>
                                         <#-- INVENTORY -->
-                                        <#if (orderHeader.statusId != "ORDER_COMPLETED") && availableToPromiseMap?exists && quantityOnHandMap?exists && availableToPromiseMap.get(productId)?exists && quantityOnHandMap.get(productId)?exists>
+                                        <#if (orderHeader.statusId != "ORDER_COMPLETED") && availableToPromiseMap?? && quantityOnHandMap?? && availableToPromiseMap.get(productId)?? && quantityOnHandMap.get(productId)??>
                                             <#assign quantityToProduce = 0>
                                             <#assign atpQuantity = availableToPromiseMap.get(productId)?default(0)>
                                             <#assign qohQuantity = quantityOnHandMap.get(productId)?default(0)>
@@ -133,12 +133,12 @@
                                                             <td>${uiLabelMap.OrderRequiredForSO}</td>
                                                             <td style="padding-left: 15px; text-align: left;">${requiredQuantity}</td>
                                                         </tr>
-                                                        <#if availableToPromiseByFacilityMap?exists && quantityOnHandByFacilityMap?exists && quantityOnHandByFacilityMap.get(productId)?exists && availableToPromiseByFacilityMap.get(productId)?exists>
+                                                        <#if availableToPromiseByFacilityMap?? && quantityOnHandByFacilityMap?? && quantityOnHandByFacilityMap.get(productId)?? && availableToPromiseByFacilityMap.get(productId)??>
                                                             <#assign atpQuantityByFacility = availableToPromiseByFacilityMap.get(productId)?default(0)>
                                                             <#assign qohQuantityByFacility = quantityOnHandByFacilityMap.get(productId)?default(0)>
                                                             <tr>
                                                                 <td>
-                                                                    ${uiLabelMap.ProductInInventory} [${facility.facilityName?if_exists}] ${uiLabelMap.ProductQoh}
+                                                                    ${uiLabelMap.ProductInInventory} [${facility.facilityName!}] ${uiLabelMap.ProductQoh}
                                                                 </td>
                                                                 <td style="padding-left: 15px; text-align: left;">
                                                                     ${qohQuantityByFacility} (${uiLabelMap.ProductAtp}: ${atpQuantityByFacility})
@@ -192,8 +192,8 @@
                                                     <a href="javascript:document.OrderApproveOrderItem_${orderItem.orderItemSeqId?default("")}.submit()" class="buttontext">${uiLabelMap.OrderApproveOrder}</a>
                                                     <form name="OrderApproveOrderItem_${orderItem.orderItemSeqId?default("")}" method="post" action="<@ofbizUrl>changeOrderItemStatus</@ofbizUrl>">
                                                         <input type="hidden" name="statusId" value="ITEM_APPROVED"/>
-                                                        <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                                                        <input type="hidden" name="orderItemSeqId" value="${orderItem.orderItemSeqId?if_exists}"/>
+                                                        <input type="hidden" name="orderId" value="${orderId!}"/>
+                                                        <input type="hidden" name="orderItemSeqId" value="${orderItem.orderItemSeqId!}"/>
                                                     </form>
                                                 </div>
                                             </#if>
@@ -204,7 +204,7 @@
                                             </#list>
                                         </div>
                                     </div>
-                                    <#assign returns = orderItem.getRelated("ReturnItem", null, null, false)?if_exists>
+                                    <#assign returns = orderItem.getRelated("ReturnItem", null, null, false)!>
                                     <#if returns?has_content>
                                         <#list returns as returnItem>
                                             <#assign returnHeader = returnItem.getRelatedOne("ReturnHeader", false)>
@@ -224,13 +224,13 @@
                                                     <#assign shippedQuantity = orderReadHelper.getItemShippedQuantity(orderItem)>
                                                     <#assign shipmentReceipts = delegator.findByAnd("ShipmentReceipt", {"orderId" : orderHeader.getString("orderId"), "orderItemSeqId" : orderItem.orderItemSeqId}, null, false)/>
                                                     <#assign totalReceived = 0.0>
-                                                    <#if shipmentReceipts?exists && shipmentReceipts?has_content>
+                                                    <#if shipmentReceipts?? && shipmentReceipts?has_content>
                                                         <#list shipmentReceipts as shipmentReceipt>
-                                                            <#if shipmentReceipt.quantityAccepted?exists && shipmentReceipt.quantityAccepted?has_content>
+                                                            <#if shipmentReceipt.quantityAccepted?? && shipmentReceipt.quantityAccepted?has_content>
                                                                 <#assign  quantityAccepted = shipmentReceipt.quantityAccepted>
                                                                 <#assign totalReceived = quantityAccepted + totalReceived>
                                                             </#if>
-                                                            <#if shipmentReceipt.quantityRejected?exists && shipmentReceipt.quantityRejected?has_content>
+                                                            <#if shipmentReceipt.quantityRejected?? && shipmentReceipt.quantityRejected?has_content>
                                                                 <#assign  quantityRejected = shipmentReceipt.quantityRejected>
                                                                 <#assign totalReceived = quantityRejected + totalReceived>
                                                             </#if>
@@ -318,7 +318,7 @@
                             </#if>
                         </tr>
                         <#-- show info from workeffort -->
-                        <#assign workOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)?if_exists>
+                        <#assign workOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)!>
                         <#if workOrderItemFulfillments?has_content>
                             <#list workOrderItemFulfillments as workOrderItemFulfillment>
                                 <#assign workEffort = workOrderItemFulfillment.getRelatedOne("WorkEffort", true)>
@@ -330,7 +330,7 @@
                                             <a href="/manufacturing/control/ShowProductionRun?productionRunId=${workEffort.workEffortId}${StringUtil.wrapString(externalKeyParam)}"
                                                 class="buttontext">${workEffort.workEffortId}</a>
                                             ${uiLabelMap.OrderCurrentStatus}
-                                            ${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}
+                                            ${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}
                                         <#else>
                                             ${uiLabelMap.CommonFrom}
                                             : <#if workEffort.estimatedStartDate?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(workEffort.estimatedStartDate, "", locale, timeZone)!}</#if> ${uiLabelMap.CommonTo}
@@ -355,9 +355,9 @@
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td>&nbsp;</td>
                                     <td colspan="6">
-                                        <span class="label">${uiLabelMap.OrderLinkedToOrderItem}</span>&nbsp;(${description?if_exists})
+                                        <span class="label">${uiLabelMap.OrderLinkedToOrderItem}</span>&nbsp;(${description!})
                                         <a href="/ordermgr/control/orderview?orderId=${linkedOrderId}"
-                                           class="buttontext">${linkedOrderId}/${linkedOrderItemSeqId}</a>&nbsp;${linkedOrderItemValueStatus.description?if_exists}
+                                           class="buttontext">${linkedOrderId}/${linkedOrderItemSeqId}</a>&nbsp;${linkedOrderItemValueStatus.description!}
                                     </td>
                                 </tr>
                             </#list>
@@ -372,15 +372,15 @@
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td>&nbsp;</td>
                                     <td colspan="6">
-                                        <span class="label">${uiLabelMap.OrderLinkedFromOrderItem}</span>&nbsp;(${description?if_exists})
+                                        <span class="label">${uiLabelMap.OrderLinkedFromOrderItem}</span>&nbsp;(${description!})
                                         <a href="/ordermgr/control/orderview?orderId=${linkedOrderId}"
-                                           class="buttontext">${linkedOrderId}/${linkedOrderItemSeqId}</a>&nbsp;${linkedOrderItemValueStatus.description?if_exists}
+                                           class="buttontext">${linkedOrderId}/${linkedOrderItemSeqId}</a>&nbsp;${linkedOrderItemValueStatus.description!}
                                     </td>
                                 </tr>
                             </#list>
                         </#if>
                         <#-- show linked requirements -->
-                        <#assign linkedRequirements = orderItem.getRelated("OrderRequirementCommitment", null, null, false)?if_exists>
+                        <#assign linkedRequirements = orderItem.getRelated("OrderRequirementCommitment", null, null, false)!>
                         <#if linkedRequirements?has_content>
                             <#list linkedRequirements as linkedRequirement>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
@@ -394,7 +394,7 @@
                             </#list>
                         </#if>
                         <#-- show linked quote -->
-                        <#assign linkedQuote = orderItem.getRelatedOne("QuoteItem", true)?if_exists>
+                        <#assign linkedQuote = orderItem.getRelatedOne("QuoteItem", true)!>
                         <#if linkedQuote?has_content>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td>&nbsp;</td>
@@ -407,13 +407,13 @@
                         </#if>
                         <#-- now show adjustment details per line item -->
                         <#assign orderItemAdjustments = Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemAdjustmentList(orderItem, orderAdjustments)>
-                        <#if orderItemAdjustments?exists && orderItemAdjustments?has_content>
+                        <#if orderItemAdjustments?? && orderItemAdjustments?has_content>
                             <#list orderItemAdjustments as orderItemAdjustment>
                                 <#assign adjustmentType = orderItemAdjustment.getRelatedOne("OrderAdjustmentType", true)>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td align="right" colspan="2">
                                         <span class="label">${uiLabelMap.OrderAdjustment}</span>&nbsp;${adjustmentType.get("description",locale)}
-                                        ${StringUtil.wrapString(orderItemAdjustment.get("description",locale)?if_exists)}
+                                        ${StringUtil.wrapString(orderItemAdjustment.get("description",locale)!)}
                                         <#if orderItemAdjustment.comments?has_content>
                                             (${orderItemAdjustment.comments?default("")})
                                         </#if>
@@ -425,20 +425,20 @@
                                             <#if orderItemAdjustment.primaryGeoId?has_content>
                                                 <#assign primaryGeo = orderItemAdjustment.getRelatedOne("PrimaryGeo", true)/>
                                                 <#if primaryGeo.geoName?has_content>
-                                                    <span class="label">${uiLabelMap.OrderJurisdiction}</span>&nbsp;${primaryGeo.geoName} [${primaryGeo.abbreviation?if_exists}]
+                                                    <span class="label">${uiLabelMap.OrderJurisdiction}</span>&nbsp;${primaryGeo.geoName} [${primaryGeo.abbreviation!}]
                                                 </#if>
                                                 <#if orderItemAdjustment.secondaryGeoId?has_content>
                                                     <#assign secondaryGeo = orderItemAdjustment.getRelatedOne("SecondaryGeo", true)/>
-                                                    <span class="label">${uiLabelMap.CommonIn}</span>&nbsp;${secondaryGeo.geoName} [${secondaryGeo.abbreviation?if_exists}])
+                                                    <span class="label">${uiLabelMap.CommonIn}</span>&nbsp;${secondaryGeo.geoName} [${secondaryGeo.abbreviation!}])
                                                 </#if>
                                             </#if>
-                                            <#if orderItemAdjustment.sourcePercentage?exists>
+                                            <#if orderItemAdjustment.sourcePercentage??>
                                                 <span class="label">${uiLabelMap.OrderRate}</span>&nbsp;${orderItemAdjustment.sourcePercentage?string("0.######")}
                                             </#if>
                                             <#if orderItemAdjustment.customerReferenceId?has_content>
                                                 <span class="label">${uiLabelMap.OrderCustomerTaxId}</span>&nbsp;${orderItemAdjustment.customerReferenceId}
                                             </#if>
-                                            <#if orderItemAdjustment.exemptAmount?exists>
+                                            <#if orderItemAdjustment.exemptAmount??>
                                                 <span class="label">${uiLabelMap.OrderExemptAmount}</span>&nbsp;${orderItemAdjustment.exemptAmount}
                                             </#if>
                                         </#if>
@@ -454,15 +454,15 @@
                         </#if>
                         <#-- now show price info per line item -->
                         <#assign orderItemPriceInfos = orderReadHelper.getOrderItemPriceInfos(orderItem)>
-                        <#if orderItemPriceInfos?exists && orderItemPriceInfos?has_content>
+                        <#if orderItemPriceInfos?? && orderItemPriceInfos?has_content>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td colspan="7">&nbsp;</td>
                             </tr>
                             <#list orderItemPriceInfos as orderItemPriceInfo>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td align="right" colspan="2">
-                                        <span class="label">${uiLabelMap.ProductPriceRuleNameId}</span>&nbsp;[${orderItemPriceInfo.productPriceRuleId?if_exists}:${orderItemPriceInfo.productPriceActionSeqId?if_exists}]
-                                        ${orderItemPriceInfo.description?if_exists}
+                                        <span class="label">${uiLabelMap.ProductPriceRuleNameId}</span>&nbsp;[${orderItemPriceInfo.productPriceRuleId!}:${orderItemPriceInfo.productPriceActionSeqId!}]
+                                        ${orderItemPriceInfo.description!}
                                     </td>
                                     <td>&nbsp;</td>
                                     <td align="right">
@@ -474,7 +474,7 @@
                         </#if>
                         <#-- now show survey information per line item -->
                         <#assign orderItemSurveyResponses = Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemSurveyResponse(orderItem)>
-                        <#if orderItemSurveyResponses?exists && orderItemSurveyResponses?has_content>
+                        <#if orderItemSurveyResponses?? && orderItemSurveyResponses?has_content>
                             <#list orderItemSurveyResponses as survey>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td align="right" colspan="2">
@@ -487,7 +487,7 @@
                             </#list>
                         </#if>
                         <#-- display the ship estimated/before/after dates -->
-                        <#if orderItem.estimatedShipDate?exists>
+                        <#if orderItem.estimatedShipDate??>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td align="right" colspan="2">
                                     <span class="label">${uiLabelMap.OrderEstimatedShipDate}</span>&nbsp;${Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(orderItem.estimatedShipDate, "", locale, timeZone)!}
@@ -495,7 +495,7 @@
                                 <td colspan="5">&nbsp;</td>
                             </tr>
                         </#if>
-                        <#if orderItem.estimatedDeliveryDate?exists>
+                        <#if orderItem.estimatedDeliveryDate??>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td align="right" colspan="2">
                                     <span class="label">${uiLabelMap.OrderOrderQuoteEstimatedDeliveryDate}</span>&nbsp;${Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(orderItem.estimatedDeliveryDate, "", locale, timeZone)!}
@@ -503,7 +503,7 @@
                                 <td colspan="5">&nbsp;</td>
                             </tr>
                         </#if>
-                        <#if orderItem.shipAfterDate?exists>
+                        <#if orderItem.shipAfterDate??>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td align="right" colspan="2">
                                     <span class="label">${uiLabelMap.OrderShipAfterDate}</span>&nbsp;${Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(orderItem.shipAfterDate, "", locale, timeZone)!}
@@ -511,7 +511,7 @@
                                 <td colspan="5">&nbsp;</td>
                             </tr>
                         </#if>
-                        <#if orderItem.shipBeforeDate?exists>
+                        <#if orderItem.shipBeforeDate??>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                 <td align="right" colspan="2">
                                     <span class="label">${uiLabelMap.OrderShipBeforeDate}</span>&nbsp;${Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(orderItem.shipBeforeDate, "", locale, timeZone)!}
@@ -520,11 +520,11 @@
                             </tr>
                         </#if>
                         <#-- now show ship group info per line item -->
-                        <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc", null, null, false)?if_exists>
+                        <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc", null, null, false)!>
                         <#if orderItemShipGroupAssocs?has_content>
                             <#list orderItemShipGroupAssocs as shipGroupAssoc>
                                 <#assign shipGroup = shipGroupAssoc.getRelatedOne("OrderItemShipGroup", false)>
-                                <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)?if_exists>
+                                <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)!>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td align="right" colspan="2">
                                         <span class="label">${uiLabelMap.OrderShipGroup}</span>&nbsp;[${shipGroup.shipGroupSeqId}]
@@ -538,7 +538,7 @@
                             </#list>
                         </#if>
                         <#-- now show inventory reservation info per line item -->
-                        <#if orderItemShipGrpInvResList?exists && orderItemShipGrpInvResList?has_content>
+                        <#if orderItemShipGrpInvResList?? && orderItemShipGrpInvResList?has_content>
                             <#list orderItemShipGrpInvResList as orderItemShipGrpInvRes>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
                                     <td align="right" colspan="2">
@@ -564,7 +564,7 @@
                             </#list>
                         </#if>
                         <#-- now show planned shipment info per line item -->
-                        <#assign orderShipments = orderItem.getRelated("OrderShipment", null, null, false)?if_exists>
+                        <#assign orderShipments = orderItem.getRelated("OrderShipment", null, null, false)!>
                         <#if orderShipments?has_content>
                             <#list orderShipments as orderShipment>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
@@ -582,7 +582,7 @@
                             </#list>
                         </#if>
                         <#-- now show item issuances (shipment) per line item -->
-                        <#assign itemIssuances = itemIssuancesPerItem.get(orderItem.get("orderItemSeqId"))?if_exists>
+                        <#assign itemIssuances = itemIssuancesPerItem.get(orderItem.get("orderItemSeqId"))!>
                         <#if itemIssuances?has_content>
                             <#list itemIssuances as itemIssuance>
                             <tr<#if itemClass == "1"> class="alternate-row"</#if>>
@@ -591,7 +591,7 @@
                                         <span class="label">${uiLabelMap.OrderIssuedToShipmentItem}</span>&nbsp;
                                         <a target="facility"
                                            href="/facility/control/ViewShipment?shipmentId=${itemIssuance.shipmentId}${StringUtil.wrapString(externalKeyParam)}"
-                                           class="buttontext">${itemIssuance.shipmentId}</a>: ${itemIssuance.shipmentItemSeqId?if_exists}
+                                           class="buttontext">${itemIssuance.shipmentId}</a>: ${itemIssuance.shipmentItemSeqId!}
                                     <#else>
                                         <span class="label">${uiLabelMap.OrderIssuedWithoutShipment}</span>
                                     </#if>
@@ -613,7 +613,7 @@
                                             <span class="label">${uiLabelMap.CommonInventory}</span>
                                             <a href="/facility/control/EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId}${StringUtil.wrapString(externalKeyParam)}"
                                                class="buttontext">${itemIssuance.inventoryItemId}</a>
-                                            <span class="label">${uiLabelMap.OrderShipGroup}</span>&nbsp;${itemIssuance.shipGroupSeqId?if_exists}
+                                            <span class="label">${uiLabelMap.OrderShipGroup}</span>&nbsp;${itemIssuance.shipGroupSeqId!}
                                             <#if (inventoryItem.serialNumber?has_content)>
                                                 <br />
                                                 <span class="label">${uiLabelMap.ProductSerialNumber}</span>&nbsp;${inventoryItem.serialNumber}&nbsp;
@@ -628,7 +628,7 @@
                             </#list>
                         </#if>
                         <#-- now show shipment receipts per line item -->
-                        <#assign shipmentReceipts = orderItem.getRelated("ShipmentReceipt", null, null, false)?if_exists>
+                        <#assign shipmentReceipts = orderItem.getRelated("ShipmentReceipt", null, null, false)!>
                         <#if shipmentReceipts?has_content>
                             <#list shipmentReceipts as shipmentReceipt>
                                 <tr<#if itemClass == "1"> class="alternate-row"</#if>>
@@ -637,7 +637,7 @@
                                             <span class="label">${uiLabelMap.OrderShipmentReceived}</span>&nbsp;
                                             <a target="facility"
                                                href="/facility/control/ViewShipment?shipmentId=${shipmentReceipt.shipmentId}${StringUtil.wrapString(externalKeyParam)}"
-                                               class="buttontext">${shipmentReceipt.shipmentId}</a>:${shipmentReceipt.shipmentItemSeqId?if_exists}
+                                               class="buttontext">${shipmentReceipt.shipmentId}</a>:${shipmentReceipt.shipmentItemSeqId!}
                                         </#if>
                                         &nbsp;<#if shipmentReceipt.datetimeReceived?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(shipmentReceipt.datetimeReceived, "", locale, timeZone)!}</#if>&nbsp;
                                         <span class="label">${uiLabelMap.CommonInventory}</span>&nbsp;
Index: applications/order/webapp/ordermgr/order/transitions.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/transitions.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/transitions.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if inProcess?exists>
+<#if inProcess??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
@@ -64,7 +64,7 @@
 </div>
 </#if>
 <br />
-<#if wfTransitions?exists && wfTransitions?has_content>
+<#if wfTransitions?? && wfTransitions?has_content>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
@@ -88,7 +88,7 @@
                     <#list wfTransitions as trans>
                       <#if trans.extendedAttributes?has_content>
                         <#assign attrs = Static["org.ofbiz.base.util.StringUtil"].strToMap(trans.extendedAttributes)>
-                        <#if attrs.approvalCode?exists>
+                        <#if attrs.approvalCode??>
                           <option value="${attrs.approvalCode}">${trans.transitionName}</option>
                         </#if>
                       </#if>
Index: applications/order/webapp/ordermgr/order/GiftCertificates.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/GiftCertificates.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/GiftCertificates.ftl	(working copy)
@@ -19,15 +19,15 @@
 
 <form id="addGiftCertificate" action="<@ofbizUrl>addGiftCertificateSurvey</@ofbizUrl>" method="post">
   <fieldset>
-    <#if surveyId?exists && surveyId?has_content>
+    <#if surveyId?? && surveyId?has_content>
       <input type="hidden" name="quantity" value="1" />
-      <input type="hidden" name="surveyId" value="${surveyId?if_exists}" />
+      <input type="hidden" name="surveyId" value="${surveyId!}" />
       <#if giftCardProductList?has_content>
         <label>${uiLabelMap.OrderSelectGiftAmount}</label>
         <#list giftCardProductList?sort_by("price") as giftCardProduct>
           <div>
-            <input type="radio" name="add_product_id" id="productId_${giftCardProduct.price?if_exists}" value="${giftCardProduct.productId?if_exists}" checked="checked" />
-            <label for="productId_${giftCardProduct.price?if_exists}"> ${giftCardProduct.productId?if_exists}&nbsp;:&nbsp;${giftCardProduct.productName?if_exists}&nbsp;:&nbsp;<@ofbizCurrency amount=giftCardProduct.price?if_exists isoCode=currencyUomId/></label>
+            <input type="radio" name="add_product_id" id="productId_${giftCardProduct.price!}" value="${giftCardProduct.productId!}" checked="checked" />
+            <label for="productId_${giftCardProduct.price!}"> ${giftCardProduct.productId!}&nbsp;:&nbsp;${giftCardProduct.productName!}&nbsp;:&nbsp;<@ofbizCurrency amount=giftCardProduct.price! isoCode=currencyUomId/></label>
           </div>
         </#list>
         <div>
Index: applications/order/webapp/ordermgr/order/receivepayment.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/receivepayment.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/receivepayment.ftl	(working copy)
@@ -30,7 +30,7 @@
       <a href="javascript:document.paysetupform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a>
 
       <form method="post" action="<@ofbizUrl>receiveOfflinePayments/${donePage}</@ofbizUrl>" name="paysetupform">
-        <#if requestParameters.workEffortId?exists>
+        <#if requestParameters.workEffortId??>
             <input type="hidden" name="workEffortId" value="${requestParameters.workEffortId}" />
         </#if>
         <input type="hidden" name="partyId" value="${orderRoles[0].partyId}" />
Index: applications/order/webapp/ordermgr/order/companyHeader.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/companyHeader.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/companyHeader.fo.ftl	(working copy)
@@ -24,7 +24,7 @@
 
 <fo:block font-size="8pt">
     <fo:block>${companyName}</fo:block>
-    <#if postalAddress?exists>
+    <#if postalAddress??>
         <#if postalAddress?has_content>
             ${setContextField("postalAddress", postalAddress)}
             ${screens.render("component://party/widget/partymgr/PartyScreens.xml#postalAddressPdfFormatter")}
@@ -34,9 +34,9 @@
         <fo:block>${uiLabelMap.CommonFor}: ${companyName}</fo:block>
     </#if>
 
-    <#if sendingPartyTaxId?exists || phone?exists || email?exists || website?exists || eftAccount?exists>
+    <#if sendingPartyTaxId?? || phone?? || email?? || website?? || eftAccount??>
     <fo:list-block provisional-distance-between-starts=".5in">
-        <#if sendingPartyTaxId?exists>
+        <#if sendingPartyTaxId??>
         <fo:list-item>
             <fo:list-item-label>
                 <fo:block>${uiLabelMap.PartyTaxId}:</fo:block>
@@ -46,43 +46,43 @@
             </fo:list-item-body>
         </fo:list-item>
         </#if>
-        <#if phone?exists>
+        <#if phone??>
         <fo:list-item>
             <fo:list-item-label>
                 <fo:block>${uiLabelMap.CommonTelephoneAbbr}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block><#if phone.countryCode?exists>${phone.countryCode}-</#if><#if phone.areaCode?exists>${phone.areaCode}-</#if>${phone.contactNumber?if_exists}</fo:block>
+                <fo:block><#if phone.countryCode??>${phone.countryCode}-</#if><#if phone.areaCode??>${phone.areaCode}-</#if>${phone.contactNumber!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         </#if>
-        <#if email?exists>
+        <#if email??>
         <fo:list-item>
             <fo:list-item-label>
                 <fo:block>${uiLabelMap.CommonEmail}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block>${email.infoString?if_exists}</fo:block>
+                <fo:block>${email.infoString!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         </#if>
-        <#if website?exists>
+        <#if website??>
         <fo:list-item>
             <fo:list-item-label>
                 <fo:block>${uiLabelMap.CommonWebsite}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block>${website.infoString?if_exists}</fo:block>
+                <fo:block>${website.infoString!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         </#if>
-        <#if eftAccount?exists>
+        <#if eftAccount??>
         <fo:list-item>
             <fo:list-item-label>
                 <fo:block>${uiLabelMap.CommonFinBankName}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block>${eftAccount.bankName?if_exists}</fo:block>
+                <fo:block>${eftAccount.bankName!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         <fo:list-item>
@@ -90,7 +90,7 @@
                 <fo:block>${uiLabelMap.CommonRouting}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block>${eftAccount.routingNumber?if_exists}</fo:block>
+                <fo:block>${eftAccount.routingNumber!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         <fo:list-item>
@@ -98,7 +98,7 @@
                 <fo:block>${uiLabelMap.CommonBankAccntNrAbbr}:</fo:block>
             </fo:list-item-label>
             <fo:list-item-body start-indent="body-start()">
-                <fo:block>${eftAccount.accountNumber?if_exists}</fo:block>
+                <fo:block>${eftAccount.accountNumber!}</fo:block>
             </fo:list-item-body>
         </fo:list-item>
         </#if>
Index: applications/order/webapp/ordermgr/order/appendorderitem.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/appendorderitem.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/appendorderitem.ftl	(working copy)
@@ -33,7 +33,7 @@
   </div>
   <div class="screenlet-body">
         <form method="post" action="<@ofbizUrl>appendItemToOrder</@ofbizUrl>" name="appendItemForm">
-            <input type="hidden" size="25" name="orderId" value="${orderId?if_exists}"/>
+            <input type="hidden" size="25" name="orderId" value="${orderId!}"/>
             <#if !catalogCol?has_content>
                 <input type="hidden" name="prodCatalogId" value=""/>
             </#if>
@@ -69,7 +69,7 @@
                 <tr>
                   <td class="label">${uiLabelMap.OrderPrice}</td>
                   <td>
-                    <input type="text" size="6" name="basePrice" value="${requestParameters.price?if_exists}"/>
+                    <input type="text" size="6" name="basePrice" value="${requestParameters.price!}"/>
                     <input type="checkbox" name="overridePrice" value="Y"/>&nbsp;${uiLabelMap.OrderOverridePrice}
                   </td>
                 </tr>
Index: applications/order/webapp/ordermgr/order/editorderitems.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/editorderitems.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/editorderitems.ftl	(working copy)
@@ -64,13 +64,13 @@
                     <td width="3%" style="border-bottom:none;">&nbsp;</td>
                 </tr>
                 <#list orderItemList as orderItem>
-                    <#if orderItem.productId?exists> <#-- a null product may come from a quote -->
+                    <#if orderItem.productId??> <#-- a null product may come from a quote -->
                       <#assign orderItemContentWrapper = Static["org.ofbiz.order.order.OrderContentWrapper"].makeOrderContentWrapper(orderItem, request)>
                       <tr><td colspan="8"><hr /></td></tr>
                       <tr>
-                          <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)?if_exists>
-                          <#assign productId = orderItem.productId?if_exists>
-                          <#if productId?exists && productId == "shoppingcart.CommentLine">
+                          <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)!>
+                          <#assign productId = orderItem.productId!>
+                          <#if productId?? && productId == "shoppingcart.CommentLine">
                               <td colspan="8" valign="top">
                                   <span class="label">&gt;&gt; ${orderItem.itemDescription}</span>
                               </td>
@@ -78,31 +78,31 @@
                               <td valign="top">
                                   <div>
                                       <#if orderHeader.statusId = "ORDER_CANCELLED" || orderHeader.statusId = "ORDER_COMPLETED">
-                                      <#if productId?exists>
-                                      ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription?if_exists}
-                                      <#elseif orderItemType?exists>
-                                      ${orderItemType.description} - ${orderItem.itemDescription?if_exists}
+                                      <#if productId??>
+                                      ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription!}
+                                      <#elseif orderItemType??>
+                                      ${orderItemType.description} - ${orderItem.itemDescription!}
                                       <#else>
-                                      ${orderItem.itemDescription?if_exists}
+                                      ${orderItem.itemDescription!}
                                       </#if>
                                       <#else>
-                                      <#if productId?exists>
+                                      <#if productId??>
                                       <#assign orderItemName = orderItem.productId?default("N/A")/>
-                                      <#elseif orderItemType?exists>
+                                      <#elseif orderItemType??>
                                       <#assign orderItemName = orderItemType.description/>
                                       </#if>
                                       <p>${uiLabelMap.ProductProduct}&nbsp;${orderItemName}</p>
-                                      <#if productId?exists>
+                                      <#if productId??>
                                           <#assign product = orderItem.getRelatedOne("Product", true)>
-                                          <#if product.salesDiscontinuationDate?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(product.salesDiscontinuationDate)>
+                                          <#if product.salesDiscontinuationDate?? && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(product.salesDiscontinuationDate)>
                                               <span class="alert">${uiLabelMap.OrderItemDiscontinued}: ${product.salesDiscontinuationDate}</span>
                                           </#if>
                                       </#if>
                                       ${uiLabelMap.CommonDescription}<br />
-                                      <input type="text" size="20" name="idm_${orderItem.orderItemSeqId}" value="${orderItem.itemDescription?if_exists}"/>
+                                      <input type="text" size="20" name="idm_${orderItem.orderItemSeqId}" value="${orderItem.itemDescription!}"/>
                                       </#if>
                                   </div>
-                                  <#if productId?exists>
+                                  <#if productId??>
                                   <div>
                                       <a href="/catalog/control/EditProduct?productId=${productId}" class="buttontext" target="_blank">${uiLabelMap.ProductCatalog}</a>
                                       <a href="/ecommerce/control/product?product_id=${productId}" class="buttontext" target="_blank">${uiLabelMap.OrderEcommerce}</a>
@@ -123,7 +123,7 @@
                                   <#if orderItemStatus.statusDatetime?has_content>${orderItemStatus.statusDatetime.toString()}</#if>
                                   &nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
                                   </#list>
-                                  <#assign returns = orderItem.getRelated("ReturnItem", null, null, false)?if_exists>
+                                  <#assign returns = orderItem.getRelated("ReturnItem", null, null, false)!>
                                   <#if returns?has_content>
                                   <#list returns as returnItem>
                                   <#assign returnHeader = returnItem.getRelatedOne("ReturnHeader", false)>
@@ -139,13 +139,13 @@
                                 <#assign shippedQuantity = orderReadHelper.getItemShippedQuantity(orderItem)>
                                 <#assign shipmentReceipts = delegator.findByAnd("ShipmentReceipt", {"orderId" : orderHeader.getString("orderId"), "orderItemSeqId" : orderItem.orderItemSeqId}, null, false)/>
                                 <#assign totalReceived = 0.0>
-                                <#if shipmentReceipts?exists && shipmentReceipts?has_content>
+                                <#if shipmentReceipts?? && shipmentReceipts?has_content>
                                   <#list shipmentReceipts as shipmentReceipt>
-                                    <#if shipmentReceipt.quantityAccepted?exists && shipmentReceipt.quantityAccepted?has_content>
+                                    <#if shipmentReceipt.quantityAccepted?? && shipmentReceipt.quantityAccepted?has_content>
                                       <#assign  quantityAccepted = shipmentReceipt.quantityAccepted>
                                       <#assign totalReceived = quantityAccepted + totalReceived>
                                     </#if>
-                                    <#if shipmentReceipt.quantityRejected?exists && shipmentReceipt.quantityRejected?has_content>
+                                    <#if shipmentReceipt.quantityRejected?? && shipmentReceipt.quantityRejected?has_content>
                                       <#assign  quantityRejected = shipmentReceipt.quantityRejected>
                                       <#assign totalReceived = quantityRejected + totalReceived>
                                     </#if>
@@ -184,7 +184,7 @@
                       </tr>
 
                       <#-- now update/cancel reason and comment field -->
-                      <#if orderItem.statusId != "ITEM_CANCELLED" && orderItem.statusId != "ITEM_COMPLETED" && ("Y" != orderItem.isPromo?if_exists)>
+                      <#if orderItem.statusId != "ITEM_CANCELLED" && orderItem.statusId != "ITEM_COMPLETED" && ("Y" != orderItem.isPromo!)>
                         <tr><td colspan="8"><span class="label">${uiLabelMap.OrderReturnReason}</span>
                             <select name="irm_${orderItem.orderItemSeqId}">
                               <option value="">&nbsp;</option>
@@ -196,35 +196,35 @@
                             <input type="text" name="icm_${orderItem.orderItemSeqId}" value="" size="30" maxlength="60"/>
                             <#if (orderHeader.orderTypeId == 'PURCHASE_ORDER')>
                               <span class="label">${uiLabelMap.OrderEstimatedShipDate}</span>
-                              <@htmlTemplate.renderDateTimeField name="isdm_${orderItem.orderItemSeqId}" value="${orderItem.estimatedShipDate?if_exists}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="isdm_${orderItem.orderItemSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                              <@htmlTemplate.renderDateTimeField name="isdm_${orderItem.orderItemSeqId}" value="${orderItem.estimatedShipDate!}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="isdm_${orderItem.orderItemSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                               <span class="label">${uiLabelMap.OrderOrderQuoteEstimatedDeliveryDate}</span>
-                              <@htmlTemplate.renderDateTimeField name="iddm_${orderItem.orderItemSeqId}" value="${orderItem.estimatedDeliveryDate?if_exists}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="iddm_${orderItem.orderItemSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                              <@htmlTemplate.renderDateTimeField name="iddm_${orderItem.orderItemSeqId}" value="${orderItem.estimatedDeliveryDate!}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="iddm_${orderItem.orderItemSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                             </#if>
                             </td>
                         </tr>
                       </#if>
                       <#-- now show adjustment details per line item -->
                       <#assign orderItemAdjustments = Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemAdjustmentList(orderItem, orderAdjustments)>
-                      <#if orderItemAdjustments?exists && orderItemAdjustments?has_content>
+                      <#if orderItemAdjustments?? && orderItemAdjustments?has_content>
                           <#list orderItemAdjustments as orderItemAdjustment>
                               <#assign adjustmentType = orderItemAdjustment.getRelatedOne("OrderAdjustmentType", true)>
                               <tr>
                                   <td class="align-text" colspan="2">
                                       <span class="label">${uiLabelMap.OrderAdjustment}</span>&nbsp;${adjustmentType.get("description",locale)}&nbsp;
-                                      ${orderItemAdjustment.get("description",locale)?if_exists} (${orderItemAdjustment.comments?default("")})
+                                      ${orderItemAdjustment.get("description",locale)!} (${orderItemAdjustment.comments?default("")})
 
                                       <#if orderItemAdjustment.orderAdjustmentTypeId == "SALES_TAX">
                                       <#if orderItemAdjustment.primaryGeoId?has_content>
                                       <#assign primaryGeo = orderItemAdjustment.getRelatedOne("PrimaryGeo", true)/>
-                                      <span class="label">${uiLabelMap.OrderJurisdiction}</span>&nbsp;${primaryGeo.geoName} [${primaryGeo.abbreviation?if_exists}]
+                                      <span class="label">${uiLabelMap.OrderJurisdiction}</span>&nbsp;${primaryGeo.geoName} [${primaryGeo.abbreviation!}]
                                       <#if orderItemAdjustment.secondaryGeoId?has_content>
                                       <#assign secondaryGeo = orderItemAdjustment.getRelatedOne("SecondaryGeo", true)/>
-                                      (<span class="label">${uiLabelMap.CommonIn}</span>&nbsp;${secondaryGeo.geoName} [${secondaryGeo.abbreviation?if_exists}])
+                                      (<span class="label">${uiLabelMap.CommonIn}</span>&nbsp;${secondaryGeo.geoName} [${secondaryGeo.abbreviation!}])
                                       </#if>
                                       </#if>
-                                      <#if orderItemAdjustment.sourcePercentage?exists><span class="label">Rate</span>&nbsp;${orderItemAdjustment.sourcePercentage}</#if>
+                                      <#if orderItemAdjustment.sourcePercentage??><span class="label">Rate</span>&nbsp;${orderItemAdjustment.sourcePercentage}</#if>
                                       <#if orderItemAdjustment.customerReferenceId?has_content><span class="label">Customer Tax ID</span>&nbsp;${orderItemAdjustment.customerReferenceId}</#if>
-                                      <#if orderItemAdjustment.exemptAmount?exists><span class="label">Exempt Amount</span>&nbsp;${orderItemAdjustment.exemptAmount}</#if>
+                                      <#if orderItemAdjustment.exemptAmount??><span class="label">Exempt Amount</span>&nbsp;${orderItemAdjustment.exemptAmount}</#if>
                                       </#if>
                                   </td>
                                   <td>&nbsp;</td>
@@ -238,14 +238,14 @@
                       </#if>
 
                       <#-- now show ship group info per line item -->
-                      <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc", null, null, false)?if_exists>
+                      <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc", null, null, false)!>
                       <#if orderItemShipGroupAssocs?has_content>
                           <tr><td colspan="8">&nbsp;</td></tr>
                           <#list orderItemShipGroupAssocs as shipGroupAssoc>
                                 <#assign shipGroupQty = shipGroupAssoc.quantity - shipGroupAssoc.cancelQuantity?default(0)>
                               <#assign shipGroup = shipGroupAssoc.getRelatedOne("OrderItemShipGroup", false)>
-                              <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)?if_exists>
-                              <#assign itemStatusOkay = (orderItem.statusId != "ITEM_CANCELLED" && orderItem.statusId != "ITEM_COMPLETED" && (shipGroupAssoc.cancelQuantity?default(0) < shipGroupAssoc.quantity?default(0)) && ("Y" != orderItem.isPromo?if_exists))>
+                              <#assign shipGroupAddress = shipGroup.getRelatedOne("PostalAddress", false)!>
+                              <#assign itemStatusOkay = (orderItem.statusId != "ITEM_CANCELLED" && orderItem.statusId != "ITEM_COMPLETED" && (shipGroupAssoc.cancelQuantity?default(0) < shipGroupAssoc.quantity?default(0)) && ("Y" != orderItem.isPromo!))>
                               <#assign itemSelectable = (security.hasEntityPermission("ORDERMGR", "_ADMIN", session) && itemStatusOkay) || (security.hasEntityPermission("ORDERMGR", "_UPDATE", session) && itemStatusOkay && orderHeader.statusId != "ORDER_SENT")>
                               <tr>
                                   <td class="align-text" colspan="2">
@@ -291,7 +291,7 @@
                 <#assign orderProductPromoCode = ''>
                 <#list productPromoCodes as productPromoCode>
                     <#if !(orderProductPromoCode?has_content)>
-                        <#assign orderProductPromoCode = delegator.findOne("OrderProductPromoCode", {"productPromoCodeId":productPromoCode.productPromoCodeId, "orderId":orderHeaderAdjustment.orderId}, false)?if_exists>
+                        <#assign orderProductPromoCode = delegator.findOne("OrderProductPromoCode", {"productPromoCodeId":productPromoCode.productPromoCodeId, "orderId":orderHeaderAdjustment.orderId}, false)!>
                     </#if>
                 </#list>
                 <#if orderProductPromoCode?has_content>
@@ -300,18 +300,18 @@
             </#if>
             <#if adjustmentAmount != 0>
                 <form name="updateOrderAdjustmentForm${orderAdjustmentId}" method="post" action="<@ofbizUrl>updateOrderAdjustment</@ofbizUrl>">
-                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId?if_exists}"/>
-                    <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId!}"/>
+                    <input type="hidden" name="orderId" value="${orderId!}"/>
                     <table class="basic-table" cellspacing="0">
                         <tr>
                             <td class="align-text" width="55%">
-                                <span class="label">${adjustmentType.get("description",locale)}</span>&nbsp;${orderHeaderAdjustment.comments?if_exists}
+                                <span class="label">${adjustmentType.get("description",locale)}</span>&nbsp;${orderHeaderAdjustment.comments!}
                             </td>
                             <td nowrap="nowrap" width="30%">
                                 <#if (allowPriceChange)>
-                                    <input type="text" name="description" value="${orderHeaderAdjustment.get("description")?if_exists}" size="30" maxlength="60"/>
+                                    <input type="text" name="description" value="${orderHeaderAdjustment.get("description")!}" size="30" maxlength="60"/>
                                 <#else>
-                                    ${orderHeaderAdjustment.get("description")?if_exists}
+                                    ${orderHeaderAdjustment.get("description")!}
                                 </#if>
                             </td>
                             <td nowrap="nowrap" width="15%">
@@ -327,10 +327,10 @@
                     </table>
                 </form>
                 <form name="deleteOrderAdjustment${orderAdjustmentId}" method="post" action="<@ofbizUrl>deleteOrderAdjustment</@ofbizUrl>">
-                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId?if_exists}"/>
-                    <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+                    <input type="hidden" name="orderAdjustmentId" value="${orderAdjustmentId!}"/>
+                    <input type="hidden" name="orderId" value="${orderId!}"/>
                     <#if adjustmentType.get("orderAdjustmentTypeId") == "PROMOTION_ADJUSTMENT">
-                        <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId?if_exists}"/>
+                        <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId!}"/>
                     </#if>
                 </form>
             </#if>
@@ -340,7 +340,7 @@
         <#if security.hasEntityPermission("ORDERMGR", "_UPDATE", session) && orderHeader.statusId != "ORDER_COMPLETED" && orderHeader.statusId != "ORDER_CANCELLED" && orderHeader.statusId != "ORDER_REJECTED">
             <form name="addAdjustmentForm" method="post" action="<@ofbizUrl>createOrderAdjustment</@ofbizUrl>">
                 <input type="hidden" name="comments" value="Added manually by [${userLogin.userLoginId}]"/>
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
                 <table class="basic-table" cellspacing="0">
                     <tr><td colspan="3"><hr /></td></tr>
                     <tr>
Index: applications/order/webapp/ordermgr/order/ordernotes.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/ordernotes.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/order/ordernotes.ftl	(working copy)
@@ -47,7 +47,7 @@
                     ${note.noteInfo?replace("\n", "<br/>")}
                   </td>
                   <td align="right" valign="top" width="15%">
-                    <#if note.internalNote?if_exists == "N">
+                    <#if note.internalNote! == "N">
                         ${uiLabelMap.OrderPrintableNote}
                         <form name="privateNotesForm_${note_index}" method="post" action="<@ofbizUrl>updateOrderNote</@ofbizUrl>">
                           <input type="hidden" name="orderId" value="${orderId}"/>
@@ -56,7 +56,7 @@
                           <a href="javascript:document.privateNotesForm_${note_index}.submit()" class="buttontext">${uiLabelMap.OrderNotesPrivate}</a>
                         </form>
                     </#if>
-                    <#if note.internalNote?if_exists == "Y">
+                    <#if note.internalNote! == "Y">
                         ${uiLabelMap.OrderNotPrintableNote}
                         <form name="publicNotesForm_${note_index}" method="post" action="<@ofbizUrl>updateOrderNote</@ofbizUrl>">
                           <input type="hidden" name="orderId" value="${orderId}"/>
Index: applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl	(working copy)
@@ -41,7 +41,7 @@
                     <#assign rowColor = "white">
                     <#assign totalQuoteAmount = 0.0>
                     <#list quoteItems as quoteItem>
-                        <#if quoteItem.productId?exists>
+                        <#if quoteItem.productId??>
                             <#assign product = quoteItem.getRelatedOne("Product", false)>
                         </#if>
                         <#assign quoteItemAmount = quoteItem.quoteUnitPrice?default(0) * quoteItem.quantity?default(0)>
@@ -58,13 +58,13 @@
                                 <fo:block>${quoteItem.quoteItemSeqId}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${(product.internalName)?if_exists} [${quoteItem.productId?if_exists}]</fo:block>
+                                <fo:block>${(product.internalName)!} [${quoteItem.productId!}]</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block text-align="right">${quoteItem.quantity?if_exists}</fo:block>
+                                <fo:block text-align="right">${quoteItem.quantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block text-align="right">${quoteItem.selectedAmount?if_exists}</fo:block>
+                                <fo:block text-align="right">${quoteItem.selectedAmount!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
                                 <fo:block text-align="right"><@ofbizCurrency amount=quoteItem.quoteUnitPrice isoCode=quote.currencyUomId/></fo:block>
@@ -89,7 +89,7 @@
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block font-size="7pt" text-align="right">${adjustmentType.get("description",locale)?if_exists}</fo:block>
+                                    <fo:block font-size="7pt" text-align="right">${adjustmentType.get("description",locale)!}</fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
                                     <fo:block font-size="7pt" text-align="right"><@ofbizCurrency amount=quoteItemAdjustment.amount isoCode=quote.currencyUomId/></fo:block>
@@ -127,11 +127,11 @@
                         <#assign totalQuoteHeaderAdjustmentAmount = 0.0>
                         <#list quoteAdjustments as quoteAdjustment>
                             <#assign adjustmentType = quoteAdjustment.getRelatedOne("OrderAdjustmentType", false)>
-                            <#if !quoteAdjustment.quoteItemSeqId?exists>
+                            <#if !quoteAdjustment.quoteItemSeqId??>
                                 <#assign totalQuoteHeaderAdjustmentAmount = quoteAdjustment.amount?default(0) + totalQuoteHeaderAdjustmentAmount>
                                 <fo:table-row>
                                     <fo:table-cell padding="2pt">
-                                        <fo:block font-weight="bold" text-align="right">${adjustmentType.get("description", locale)?if_exists}</fo:block>
+                                        <fo:block font-weight="bold" text-align="right">${adjustmentType.get("description", locale)!}</fo:block>
                                     </fo:table-cell>
                                     <fo:table-cell padding="2pt">
                                         <fo:block text-align="right"><@ofbizCurrency amount=quoteAdjustment.amount isoCode=quote.currencyUomId/></fo:block>
Index: applications/order/webapp/ordermgr/quote/quoteDate.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteDate.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteDate.ftl	(working copy)
@@ -28,7 +28,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(quote.issueDate.toString())?if_exists}
+                    ${(quote.issueDate.toString())!}
                 </td>
             </tr>
             <tr><td colspan="3"><hr /></td></tr>
@@ -38,7 +38,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(quote.validFromDate.toString())?if_exists}
+                    ${(quote.validFromDate.toString())!}
                 </td>
             </tr>
             <tr><td colspan="3"><hr /></td></tr>
@@ -48,7 +48,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(quote.validThruDate.toString())?if_exists}
+                    ${(quote.validThruDate.toString())!}
                 </td>
             </tr>
         </table>
Index: applications/order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl	(working copy)
@@ -24,7 +24,7 @@
             <fo:block font-weight="bold">${uiLabelMap.OrderOrderQuoteType}</fo:block>
         </fo:list-item-label>
         <fo:list-item-body start-indent="body-start()">
-            <fo:block font-weight="bold">${(quoteType.get("description",locale))?default(quote.quoteTypeId?if_exists)}</fo:block>
+            <fo:block font-weight="bold">${(quoteType.get("description",locale))?default(quote.quoteTypeId!)}</fo:block>
         </fo:list-item-body>
     </fo:list-item>
     <fo:list-item>
@@ -32,7 +32,7 @@
             <fo:block>${uiLabelMap.OrderOrderQuoteIssueDate}</fo:block>
         </fo:list-item-label>
         <fo:list-item-body start-indent="body-start()">
-            <fo:block>${(quote.issueDate.toString())?if_exists}</fo:block>
+            <fo:block>${(quote.issueDate.toString())!}</fo:block>
         </fo:list-item-body>
     </fo:list-item>
     <fo:list-item>
@@ -48,7 +48,7 @@
             <fo:block>${uiLabelMap.CommonStatus}</fo:block>
         </fo:list-item-label>
         <fo:list-item-body start-indent="body-start()">
-            <fo:block font-weight="bold">${(statusItem.get("description", locale))?default(quote.statusId?if_exists)}</fo:block>
+            <fo:block font-weight="bold">${(statusItem.get("description", locale))?default(quote.statusId!)}</fo:block>
         </fo:list-item-body>
     </fo:list-item>
 </fo:list-block>
Index: applications/order/webapp/ordermgr/quote/quoteRoles.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteRoles.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteRoles.ftl	(working copy)
@@ -30,7 +30,7 @@
                 <#assign rolePartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", quoteRole.partyId, "compareDate", quote.issueDate, "userLogin", userLogin))/>
                 <tr>
                     <td align="right" valign="top" width="15%" class="label">
-                        &nbsp;${roleType.get("description",locale)?if_exists}
+                        &nbsp;${roleType.get("description",locale)!}
                     </td>
                     <td width="5%">&nbsp;</td>
                     <td valign="top" width="80%">
Index: applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl	(working copy)
@@ -50,7 +50,7 @@
             <#assign totalQuoteAmount = 0.0>
             <#assign alt_row = false/>
             <#list quoteItems as quoteItem>
-                <#if quoteItem.productId?exists>
+                <#if quoteItem.productId??>
                     <#assign product = quoteItem.getRelatedOne("Product", false)>
                 <#else>
                     <#assign product = null> <#-- don't drag it along to the next iteration -->
@@ -71,7 +71,7 @@
                 <tr <#if alt_row>class="alternate-row" </#if>>
                     <td >
                         <div>
-                        <#if showQuoteManagementLinks?exists && quoteItem.isPromo?default("N") == "N" && quote.statusId=="QUO_CREATED">
+                        <#if showQuoteManagementLinks?? && quoteItem.isPromo?default("N") == "N" && quote.statusId=="QUO_CREATED">
                             <a href="<@ofbizUrl>EditQuoteItem?quoteId=${quoteItem.quoteId}&amp;quoteItemSeqId=${quoteItem.quoteItemSeqId}</@ofbizUrl>" class="buttontext">${quoteItem.quoteItemSeqId}</a>
                         <#else>
                             ${quoteItem.quoteItemSeqId}
@@ -81,23 +81,23 @@
                     </td>
                     <td valign="top">
                         <div>
-                            ${(product.internalName)?if_exists}&nbsp;
-                            <#if showQuoteManagementLinks?exists>
-                                <a href="/catalog/control/EditProduct?productId=${quoteItem.productId?if_exists}" class="buttontext">
-                                  <#if quoteItem.productId?exists>
+                            ${(product.internalName)!}&nbsp;
+                            <#if showQuoteManagementLinks??>
+                                <a href="/catalog/control/EditProduct?productId=${quoteItem.productId!}" class="buttontext">
+                                  <#if quoteItem.productId??>
                                     ${quoteItem.productId}
                                   <#else>
                                     ${uiLabelMap.ProductCreateProduct}
                                   </#if>
                                 </a>
                             <#else>
-                                <a href="<@ofbizUrl>product?product_id=${quoteItem.productId?if_exists}</@ofbizUrl>" class="buttontext">${quoteItem.productId?if_exists}</a>
+                                <a href="<@ofbizUrl>product?product_id=${quoteItem.productId!}</@ofbizUrl>" class="buttontext">${quoteItem.productId!}</a>
                             </#if>
                         </div>
                     </td>
                     <td></td>
-                    <td align="right" valign="top">${quoteItem.quantity?if_exists}</td>
-                    <td align="right" valign="top">${quoteItem.selectedAmount?if_exists}</td>
+                    <td align="right" valign="top">${quoteItem.quantity!}</td>
+                    <td align="right" valign="top">${quoteItem.selectedAmount!}</td>
                     <td align="right" valign="top"><@ofbizCurrency amount=quoteItem.quoteUnitPrice isoCode=quote.currencyUomId/></td>
                     <td align="right" valign="top"><@ofbizCurrency amount=totalQuoteItemAdjustmentAmount isoCode=quote.currencyUomId/></td>
                     <td align="right" valign="top"><@ofbizCurrency amount=totalQuoteItemAmount isoCode=quote.currencyUomId/></td>
@@ -105,10 +105,10 @@
                 <#list quoteTerms as quoteTerm>
                 <#assign termDescription = delegator.findOne("TermType",{"termTypeId":quoteTerm.termTypeId}, false)>
                 <tr <#if alt_row>class="alternate-row" </#if>>
-                    <td valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${termDescription.description?if_exists}</td>
-                    <td valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.termValue?if_exists}</td>
-                    <td valign="top"><#if quoteTerm.termDays?exists>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.termDays?if_exists}</#if></td>
-                    <td valign="top"><#if quoteTerm.description?exists>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.description}</#if></td>
+                    <td valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${termDescription.description!}</td>
+                    <td valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.termValue!}</td>
+                    <td valign="top"><#if quoteTerm.termDays??>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.termDays!}</#if></td>
+                    <td valign="top"><#if quoteTerm.description??>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${quoteTerm.description}</#if></td>
                     <td align="right" valign="top"></td>
                     <td align="right" valign="top"></td>
                     <td align="right" valign="top"></td>
@@ -119,7 +119,7 @@
                 <#list quoteItemAdjustments as quoteItemAdjustment>
                     <#assign adjustmentType = quoteItemAdjustment.getRelatedOne("OrderAdjustmentType", false)>
                     <tr class="alternate-row">
-                        <td align="right" colspan="4"><span class="label">${adjustmentType.get("description",locale)?if_exists}</span></td>
+                        <td align="right" colspan="4"><span class="label">${adjustmentType.get("description",locale)!}</span></td>
                         <td align="right"><@ofbizCurrency amount=quoteItemAdjustment.amount isoCode=quote.currencyUomId/></td>
                         <td>&nbsp;</td>
                     </tr>
@@ -137,10 +137,10 @@
             <#assign findAdjustment = false>
             <#list quoteAdjustments as quoteAdjustment>
                 <#assign adjustmentType = quoteAdjustment.getRelatedOne("OrderAdjustmentType", false)>
-                <#if !quoteAdjustment.quoteItemSeqId?exists>
+                <#if !quoteAdjustment.quoteItemSeqId??>
                     <#assign totalQuoteHeaderAdjustmentAmount = quoteAdjustment.amount?default(0) + totalQuoteHeaderAdjustmentAmount>
                     <tr>
-                      <td align="right" colspan="6"><span class="label">${adjustmentType.get("description",locale)?if_exists}</span></td>
+                      <td align="right" colspan="6"><span class="label">${adjustmentType.get("description",locale)!}</span></td>
                       <td align="right"><@ofbizCurrency amount=quoteAdjustment.amount isoCode=quote.currencyUomId/></td>
                     </tr>
                 </#if>
Index: applications/order/webapp/ordermgr/quote/CopyQuote.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/CopyQuote.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/CopyQuote.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if quote?exists>
+<#if quote??>
 <form action="<@ofbizUrl>copyQuote</@ofbizUrl>" method="post">
     <input type="hidden" name="quoteId" value="${quoteId}"/>
     <div>
Index: applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl	(working copy)
@@ -26,7 +26,7 @@
                     <fo:table-cell>
                         <fo:block>
                             <fo:block font-weight="bold">${uiLabelMap.OrderAddress}: </fo:block>
-                            <#if quote.partyId?exists>
+                            <#if quote.partyId??>
                                 <#assign quotePartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", quote.partyId, "compareDate", quote.issueDate, "userLogin", userLogin))/>
                                 <fo:block>${quotePartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")}</fo:block>
                             <#else>
@@ -38,7 +38,7 @@
                 <fo:table-row>
                     <fo:table-cell>
                         <fo:block>
-                            <#if toPostalAddress?exists>
+                            <#if toPostalAddress??>
                                 ${setContextField("postalAddress", toPostalAddress)}
                                 ${screens.render("component://party/widget/partymgr/PartyScreens.xml#postalAddressPdfFormatter")}
                             </#if>
@@ -55,23 +55,23 @@
             <fo:table-body>
                 <fo:table-row>
                     <fo:table-cell><fo:block>${uiLabelMap.OrderOrderQuoteName}:</fo:block></fo:table-cell>
-                    <fo:table-cell><fo:block>${quote.quoteName?if_exists}</fo:block></fo:table-cell>
+                    <fo:table-cell><fo:block>${quote.quoteName!}</fo:block></fo:table-cell>
                 </fo:table-row>
                 <fo:table-row>
                     <fo:table-cell><fo:block>${uiLabelMap.CommonDescription}:</fo:block></fo:table-cell>
-                    <fo:table-cell><fo:block>${quote.description?if_exists}</fo:block></fo:table-cell>
+                    <fo:table-cell><fo:block>${quote.description!}</fo:block></fo:table-cell>
                 </fo:table-row>
                 <fo:table-row>
                     <fo:table-cell><fo:block>${uiLabelMap.CommonCurrency}:</fo:block></fo:table-cell>
-                    <fo:table-cell><fo:block><#if currency?exists>${currency.get("description",locale)?default(quote.currencyUomId?if_exists)}</#if></fo:block></fo:table-cell>
+                    <fo:table-cell><fo:block><#if currency??>${currency.get("description",locale)?default(quote.currencyUomId!)}</#if></fo:block></fo:table-cell>
                 </fo:table-row>
                 <fo:table-row>
                     <fo:table-cell><fo:block>${uiLabelMap.CommonValidFromDate}:</fo:block></fo:table-cell>
-                    <fo:table-cell><fo:block>${(quote.validFromDate.toString())?if_exists}</fo:block></fo:table-cell>
+                    <fo:table-cell><fo:block>${(quote.validFromDate.toString())!}</fo:block></fo:table-cell>
                 </fo:table-row>
                 <fo:table-row>
                     <fo:table-cell><fo:block>${uiLabelMap.CommonValidThruDate}:</fo:block></fo:table-cell>
-                    <fo:table-cell><fo:block>${(quote.validThruDate.toString())?if_exists}</fo:block></fo:table-cell>
+                    <fo:table-cell><fo:block>${(quote.validThruDate.toString())!}</fo:block></fo:table-cell>
                 </fo:table-row>
             </fo:table-body>
         </fo:table>
Index: applications/order/webapp/ordermgr/quote/quoteInfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/quote/quoteInfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/quote/quoteInfo.ftl	(working copy)
@@ -29,7 +29,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(quoteType.get("description",locale))?default(quote.quoteTypeId?if_exists)}
+                    ${(quoteType.get("description",locale))?default(quote.quoteTypeId!)}
                 </td>
             </tr>
             <tr><td colspan="3"><hr /></td></tr>
@@ -41,7 +41,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(salesChannel.get("description",locale))?default(quote.salesChannelEnumId?if_exists)}
+                    ${(salesChannel.get("description",locale))?default(quote.salesChannelEnumId!)}
                 </td>
             </tr>
             <tr><td colspan="3"><hr /></td></tr>
@@ -53,7 +53,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(statusItem.get("description", locale))?default(quote.statusId?if_exists)}
+                    ${(statusItem.get("description", locale))?default(quote.statusId!)}
                 </td>
             </tr>
             <#-- party -->
@@ -64,7 +64,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${quote.partyId?if_exists}
+                    ${quote.partyId!}
                 </td>
             </tr>
             <#-- quote name -->
@@ -75,7 +75,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${quote.quoteName?if_exists}
+                    ${quote.quoteName!}
                 </td>
             </tr>
             <#-- quote description -->
@@ -86,7 +86,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${quote.description?if_exists}
+                    ${quote.description!}
                 </td>
             </tr>
             <#-- quote currency -->
@@ -97,7 +97,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    <#if currency?exists>${currency.get("description",locale)?default(quote.currencyUomId?if_exists)}</#if>
+                    <#if currency??>${currency.get("description",locale)?default(quote.currencyUomId!)}</#if>
                 </td>
             </tr>
             <#-- quote currency -->
@@ -108,7 +108,7 @@
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    <#if store?exists>${store.storeName?default(quote.productStoreId?if_exists)}</#if>
+                    <#if store??>${store.storeName?default(quote.productStoreId!)}</#if>
                 </td>
             </tr>
         </table>
Index: applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl	(working copy)
@@ -38,7 +38,7 @@
         <fo:page-sequence master-reference="main">
         <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
             <fo:block font-size="14pt">${uiLabelMap.OrderReportSalesByStore}</fo:block>
-            <#if !showProductStore><fo:block font-size="10pt">${uiLabelMap.CommonFor} ${uiLabelMap.ProductProductStore}: ${parameters.productStoreId} - ${productReportList.get(0).storeName?if_exists}</fo:block></#if>
+            <#if !showProductStore><fo:block font-size="10pt">${uiLabelMap.CommonFor} ${uiLabelMap.ProductProductStore}: ${parameters.productStoreId} - ${productReportList.get(0).storeName!}</fo:block></#if>
             <#if !showToParty><fo:block font-size="10pt">${uiLabelMap.PartyParty}: ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, toPartyId, false)}</fo:block></#if>
             <fo:block font-size="10pt">${uiLabelMap.FormFieldTitle_orderStatusId}:
                 <#if parameters.orderStatusId?has_content>${parameters.orderStatusId}<#else>${uiLabelMap.CommonAny}</#if>
@@ -66,21 +66,21 @@
                 <fo:table-body>
                     <#assign rowColor = "white">
                     <#list productReportList as productReport>
-                      <#if productReport.quantityOrdered?exists && (productReport.quantityOrdered > 0)>
+                      <#if productReport.quantityOrdered?? && (productReport.quantityOrdered > 0)>
                         <fo:table-row>
                             <#if showProductStore>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${productReport.productStoreId?if_exists}</fo:block>
+                                    <fo:block>${productReport.productStoreId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.internalName?default("")} (${productReport.productId?if_exists})</fo:block>
+                                <fo:block>${productReport.internalName?default("")} (${productReport.productId!})</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.quantityOrdered?if_exists}</fo:block>
+                                <fo:block>${productReport.quantityOrdered!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.unitPrice?if_exists}</fo:block>
+                                <fo:block>${productReport.unitPrice!}</fo:block>
                             </fo:table-cell>
                         </fo:table-row>
                         <#-- toggle the row color -->
Index: applications/order/webapp/ordermgr/reports/OrderPurchaseReportPayment.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/reports/OrderPurchaseReportPayment.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/reports/OrderPurchaseReportPayment.fo.ftl	(working copy)
@@ -70,29 +70,29 @@
                         <fo:table-row>
                             <#if showProductStore>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchasePaymentSummary.productStoreId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchasePaymentSummary.productStoreId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showOriginFacility>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchasePaymentSummary.originFacilityId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchasePaymentSummary.originFacilityId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showTerminal>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchasePaymentSummary.terminalId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchasePaymentSummary.terminalId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showStatus>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchasePaymentSummary.statusId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchasePaymentSummary.statusId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchasePaymentSummary.get("description",locale)?if_exists}</fo:block>
+                                <fo:block>${orderPurchasePaymentSummary.get("description",locale)!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchasePaymentSummary.maxAmount?if_exists}</fo:block>
+                                <fo:block>${orderPurchasePaymentSummary.maxAmount!}</fo:block>
                             </fo:table-cell>
                         </fo:table-row>
                         <#-- toggle the row color -->
Index: applications/order/webapp/ordermgr/reports/OrderPurchaseReportProduct.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/reports/OrderPurchaseReportProduct.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/reports/OrderPurchaseReportProduct.fo.ftl	(working copy)
@@ -74,35 +74,35 @@
                         <fo:table-row>
                             <#if showProductStore>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchaseProductSummary.productStoreId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchaseProductSummary.productStoreId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showOriginFacility>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchaseProductSummary.originFacilityId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchaseProductSummary.originFacilityId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showTerminal>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchaseProductSummary.terminalId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchaseProductSummary.terminalId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <#if showStatus>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${orderPurchaseProductSummary.statusId?if_exists}</fo:block>
+                                    <fo:block>${orderPurchaseProductSummary.statusId!}</fo:block>
                                 </fo:table-cell>
                             </#if>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchaseProductSummary.productId?if_exists}</fo:block>
+                                <fo:block>${orderPurchaseProductSummary.productId!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchaseProductSummary.internalName?if_exists}</fo:block>
+                                <fo:block>${orderPurchaseProductSummary.internalName!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchaseProductSummary.quantity?if_exists}</fo:block>
+                                <fo:block>${orderPurchaseProductSummary.quantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${orderPurchaseProductSummary.cancelQuantity?if_exists}</fo:block>
+                                <fo:block>${orderPurchaseProductSummary.cancelQuantity!}</fo:block>
                             </fo:table-cell>
                         </fo:table-row>
                         <#-- toggle the row color -->
Index: applications/order/webapp/ordermgr/reports/PurchasesByOrganizationReport.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/reports/PurchasesByOrganizationReport.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/reports/PurchasesByOrganizationReport.fo.ftl	(working copy)
@@ -62,13 +62,13 @@
                     <#list productReportList as productReport>
                         <fo:table-row>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.internalName?if_exists} (${productReport.productId?if_exists})</fo:block>
+                                <fo:block>${productReport.internalName!} (${productReport.productId!})</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.quantity?if_exists}</fo:block>
+                                <fo:block>${productReport.quantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                <fo:block>${productReport.unitPrice?if_exists}</fo:block>
+                                <fo:block>${productReport.unitPrice!}</fo:block>
                             </fo:table-cell>
                         </fo:table-row>
                         <#-- toggle the row color -->
Index: applications/order/webapp/ordermgr/return/returnLinks.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnLinks.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnLinks.ftl	(working copy)
@@ -17,14 +17,14 @@
 under the License.
 -->
 <#assign selected = tabButtonItem?default("void")>
-<#if returnHeader?exists>
+<#if returnHeader??>
   <div class="button-bar tab-bar">
     <ul>
       <li>
     <ul>
-      <li<#if selected="OrderReturnHeader"> class="selected"</#if>><a href="<@ofbizUrl>returnMain?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnHeader}</a></li>
-      <li<#if selected="OrderReturnItems"> class="selected"</#if>><a href="<@ofbizUrl>returnItems?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnItems}</a></li>
-      <li<#if selected="OrderReturnHistory"> class="selected"</#if>><a href="<@ofbizUrl>ReturnHistory?returnId=${returnId?if_exists}</@ofbizUrl>">${uiLabelMap.OrderReturnHistory}</a></li>
+      <li<#if selected="OrderReturnHeader"> class="selected"</#if>><a href="<@ofbizUrl>returnMain?returnId=${returnId!}</@ofbizUrl>">${uiLabelMap.OrderReturnHeader}</a></li>
+      <li<#if selected="OrderReturnItems"> class="selected"</#if>><a href="<@ofbizUrl>returnItems?returnId=${returnId!}</@ofbizUrl>">${uiLabelMap.OrderReturnItems}</a></li>
+      <li<#if selected="OrderReturnHistory"> class="selected"</#if>><a href="<@ofbizUrl>ReturnHistory?returnId=${returnId!}</@ofbizUrl>">${uiLabelMap.OrderReturnHistory}</a></li>
     </ul>
       </li>
     </ul>
@@ -35,13 +35,13 @@
       <ul>
         <li>
           <ul>
-      <li><a href="<@ofbizUrl>return.pdf?returnId=${returnId?if_exists}</@ofbizUrl>" target="_BLANK" >PDF</a></li>
-      <#if returnId?exists>
+      <li><a href="<@ofbizUrl>return.pdf?returnId=${returnId!}</@ofbizUrl>" target="_BLANK" >PDF</a></li>
+      <#if returnId??>
         <#assign returnItems = delegator.findByAnd("ReturnItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("returnId", returnId, "returnTypeId", "RTN_REFUND"), null, false)/>
         <#if returnItems?has_content>
           <#assign orderId = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(returnItems)).getString("orderId")/>
-          <#assign partyId = "${(returnHeader.fromPartyId)?if_exists}"/>
-          <a href="<@ofbizUrl>setOrderCurrencyAgreementShipDates?partyId=${partyId?if_exists}&amp;originOrderId=${orderId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateExchangeOrder} ${uiLabelMap.CommonFor} ${orderId?if_exists}</a>
+          <#assign partyId = "${(returnHeader.fromPartyId)!}"/>
+          <a href="<@ofbizUrl>setOrderCurrencyAgreementShipDates?partyId=${partyId!}&amp;originOrderId=${orderId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateExchangeOrder} ${uiLabelMap.CommonFor} ${orderId!}</a>
         </#if>
         <#if "RETURN_ACCEPTED" == returnHeader.statusId>
           <#assign returnItems = delegator.findByAnd("ReturnItem", {"returnId" : returnId}, null, false)/>
@@ -49,11 +49,11 @@
             <#assign orderId = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(returnItems)).getString("orderId")/>
             <#assign shipGroupAssoc = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("OrderItemShipGroupAssoc", {"orderId" : orderId}, null, false))/>
             <#assign shipGroup = delegator.findOne("OrderItemShipGroup", {"orderId" : orderId, "shipGroupSeqId" : shipGroupAssoc.shipGroupSeqId}, false)>
-            <#if shipGroup?exists && shipGroup.shipmentMethodTypeId != "NO_SHIPPING">
+            <#if shipGroup?? && shipGroup.shipmentMethodTypeId != "NO_SHIPPING">
               <#assign shipGroupShipment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("Shipment", {"primaryOrderId" : shipGroup.orderId, "primaryShipGroupSeqId" : shipGroup.shipGroupSeqId}, null, false))/>
-              <#if shipGroupShipment?exists>
+              <#if shipGroupShipment??>
                 <#assign shipmentRouteSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipGroupShipment.shipmentId}, null, false))>
-                <#if shipmentRouteSegment?exists>
+                <#if shipmentRouteSegment??>
                   <#if "UPS" == shipmentRouteSegment.carrierPartyId>
                     <li><a href="javascript:document.upsEmailReturnLabel.submit();" class="buttontext">${uiLabelMap.ProductEmailReturnShippingLabelUPS}</a></li>
                     <li><form name="upsEmailReturnLabel" method="post" action="<@ofbizUrl>upsEmailReturnLabelReturn</@ofbizUrl>">
Index: applications/order/webapp/ordermgr/return/returnItems.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnItems.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnItems.ftl	(working copy)
@@ -19,7 +19,7 @@
 
 <#macro displayReturnAdjustment returnAdjustment adjEditable>
     <#assign returnHeader = returnAdjustment.getRelatedOne("ReturnHeader", false)>
-    <#assign adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)?if_exists>
+    <#assign adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)!>
     <#if (adjEditable)>
         <input type="hidden" name="_rowSubmit_o_${rowCount}" value="Y" />
         <input type="hidden" name="returnAdjustmentId_o_${rowCount}" value="${returnAdjustment.returnAdjustmentId}" />
@@ -45,11 +45,11 @@
            <#else>
                <select name="returnTypeId_o_${rowCount}">
                   <#if (adjReturnType?has_content)>
-                    <option value="${adjReturnType.returnTypeId}">${adjReturnType.get("description",locale)?if_exists}</option>
+                    <option value="${adjReturnType.returnTypeId}">${adjReturnType.get("description",locale)!}</option>
                     <option value="${adjReturnType.returnTypeId}">--</option>
                   </#if>
                   <#list returnTypes as returnTypeItem>
-                    <option value="${returnTypeItem.returnTypeId}">${returnTypeItem.get("description",locale)?if_exists}</option>
+                    <option value="${returnTypeItem.returnTypeId}">${returnTypeItem.get("description",locale)!}</option>
                   </#list>
                 </select>
           </#if>
@@ -72,7 +72,7 @@
       <#if returnHeader.destinationFacilityId?has_content && returnHeader.statusId == "RETURN_ACCEPTED" && returnHeader.returnHeaderTypeId?starts_with("CUSTOMER_")>
         <#list returnShipmentIds as returnShipmentId>
           <a href="/facility/control/ViewShipment?shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.ProductShipmentId} ${returnShipmentId.shipmentId}</a>
-          <a href="/facility/control/ReceiveReturn?facilityId=${returnHeader.destinationFacilityId}&amp;returnId=${returnHeader.returnId?if_exists}&amp;shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderReceiveReturn}</a>
+          <a href="/facility/control/ReceiveReturn?facilityId=${returnHeader.destinationFacilityId}&amp;returnId=${returnHeader.returnId!}&amp;shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderReceiveReturn}</a>
         </#list>
       <#elseif returnHeader.statusId == "SUP_RETURN_ACCEPTED" && returnHeader.returnHeaderTypeId == "VENDOR_RETURN">
          <#if returnShipmentIds?has_content>
@@ -94,7 +94,7 @@
     </div>
     <div class="screenlet-body">
 <!-- if we're called with loadOrderItems or createReturn, then orderId would exist -->
-<#if !requestParameters.orderId?exists>
+<#if !requestParameters.orderId??>
           <form method="post" action="<@ofbizUrl>updateReturnItems</@ofbizUrl>">
           <input type="hidden" name="_useRowSubmit" value="Y" />
         <table cellspacing="0" class="basic-table">
@@ -102,7 +102,7 @@
           <tr><td colspan="10"><h3>${uiLabelMap.OrderOrderReturn} #${returnId}</h3></td></tr>
 
           <#-- information about orders and amount refunded/credited on past returns -->
-          <#if orh?exists>
+          <#if orh??>
           <tr><td colspan="10">
               <table cellspacing="0" class="basic-table">
                 <tr>
@@ -142,13 +142,13 @@
           <#if returnItems?has_content>
             <#assign alt_row = false>
             <#list returnItems as item>
-              <#assign orderItem = item.getRelatedOne("OrderItem", false)?if_exists>
-              <#assign orderHeader = item.getRelatedOne("OrderHeader", false)?if_exists>
-              <#assign returnReason = item.getRelatedOne("ReturnReason", false)?if_exists>
-              <#assign returnType = item.getRelatedOne("ReturnType", false)?if_exists>
-              <#assign status = item.getRelatedOne("InventoryStatusItem", false)?if_exists>
-              <#assign shipmentReceipts = item.getRelated("ShipmentReceipt", null, null, false)?if_exists>
-              <#if (item.get("returnQuantity")?exists && item.get("returnPrice")?exists)>
+              <#assign orderItem = item.getRelatedOne("OrderItem", false)!>
+              <#assign orderHeader = item.getRelatedOne("OrderHeader", false)!>
+              <#assign returnReason = item.getRelatedOne("ReturnReason", false)!>
+              <#assign returnType = item.getRelatedOne("ReturnType", false)!>
+              <#assign status = item.getRelatedOne("InventoryStatusItem", false)!>
+              <#assign shipmentReceipts = item.getRelated("ShipmentReceipt", null, null, false)!>
+              <#if (item.get("returnQuantity")?? && item.get("returnPrice")??)>
                  <#assign returnTotal = returnTotal + item.get("returnQuantity") * item.get("returnPrice") >
                  <#assign returnItemSubTotal = item.get("returnQuantity") * item.get("returnPrice") >
               <#else>
@@ -163,7 +163,7 @@
                   <input type="hidden" name="_rowSubmit_o_${rowCount}" value="Y" />
                 </td>
                 <td><div>
-                    <#if item.get("productId")?exists>
+                    <#if item.get("productId")??>
                         <a href="/catalog/control/EditProductInventoryItems?productId=${item.productId}" class="buttontext">${item.productId}</a>
                     <#else>
                         N/A
@@ -172,7 +172,7 @@
                     <#if readOnly>
                         ${item.description?default("N/A")}
                     <#else>
-                        <input name="description_o_${rowCount}" value="${item.description?if_exists}" type="text" size="15" />
+                        <input name="description_o_${rowCount}" value="${item.description!}" type="text" size="15" />
                     </#if>
                     </div></td>
                 <td><div>
@@ -181,9 +181,9 @@
                     <#else>
                         <input name="returnQuantity_o_${rowCount}" value="${item.returnQuantity}" type="text" size="8" align="right" />
                     </#if>
-                    <#if item.receivedQuantity?exists>
+                    <#if item.receivedQuantity??>
                     <br />${uiLabelMap.OrderTotalQuantityReceive}: ${item.receivedQuantity}
-                        <#list shipmentReceipts?if_exists as shipmentReceipt>
+                        <#list shipmentReceipts! as shipmentReceipt>
                             <br />${uiLabelMap.OrderQty}: ${shipmentReceipt.quantityAccepted}, ${shipmentReceipt.datetimeReceived}, <a href="/facility/control/EditInventoryItem?inventoryItemId=${shipmentReceipt.inventoryItemId}" class="buttontext">${shipmentReceipt.inventoryItemId}</a>
                         </#list>
                     </#if>
@@ -196,7 +196,7 @@
                     </#if>
                     </div></td>
                 <td>
-                    <#if returnItemSubTotal?exists><@ofbizCurrency amount=returnItemSubTotal isoCode=orderHeader.currencyUom/></#if>
+                    <#if returnItemSubTotal??><@ofbizCurrency amount=returnItemSubTotal isoCode=orderHeader.currencyUom/></#if>
                 </td>
                 <td><div>
                     <#if readOnly>
@@ -204,11 +204,11 @@
                     <#else>
                         <select name="returnReasonId_o_${rowCount}">
                             <#if (returnReason?has_content)>
-                                <option value="${returnReason.returnReasonId}">${returnReason.get("description",locale)?if_exists}</option>
+                                <option value="${returnReason.returnReasonId}">${returnReason.get("description",locale)!}</option>
                                 <option value="${returnReason.returnReasonId}">--</option>
                             </#if>
                             <#list returnReasons as returnReasonItem>
-                                <option value="${returnReasonItem.returnReasonId}">${returnReasonItem.get("description",locale)?if_exists}</option>
+                                <option value="${returnReasonItem.returnReasonId}">${returnReasonItem.get("description",locale)!}</option>
                             </#list>
                         </select>
                     </#if>
@@ -223,11 +223,11 @@
                   <#else>
                       <select name="expectedItemStatus_o_${rowCount}">
                           <#if (status?has_content)>
-                              <option value="${status.statusId}">${status.get("description",locale)?if_exists}</option>
+                              <option value="${status.statusId}">${status.get("description",locale)!}</option>
                               <option value="${status.statusId}">--</option>
                           </#if>
                           <#list itemStatus as returnItemStatus>
-                              <option value="${returnItemStatus.statusId}">${returnItemStatus.get("description",locale)?if_exists}</option>
+                              <option value="${returnItemStatus.statusId}">${returnItemStatus.get("description",locale)!}</option>
                           </#list>
                       </select>
                   </#if>
@@ -238,18 +238,18 @@
                     <#else>
                         <select name="returnTypeId_o_${rowCount}">
                             <#if (returnType?has_content)>
-                                <option value="${returnType.returnTypeId}">${returnType.get("description",locale)?if_exists}</option>
+                                <option value="${returnType.returnTypeId}">${returnType.get("description",locale)!}</option>
                                 <option value="${returnType.returnTypeId}">--</option>
                             </#if>
                             <#list returnTypes as returnTypeItem>
-                                <option value="${returnTypeItem.returnTypeId}">${returnTypeItem.get("description",locale)?if_exists}</option>
+                                <option value="${returnTypeItem.returnTypeId}">${returnTypeItem.get("description",locale)!}</option>
                             </#list>
                         </select>
                     </#if></div></td>
                 <#if (readOnly)>
                   <td>
                   <#if returnHeader.statusId == "RETURN_COMPLETED" || returnHeader.statusId == "SUP_RETURN_COMPLETED">
-                    <#assign itemResp = item.getRelatedOne("ReturnItemResponse", false)?if_exists>
+                    <#assign itemResp = item.getRelatedOne("ReturnItemResponse", false)!>
                     <#if itemResp?has_content>
                       <#if itemResp.paymentId?has_content>
                         <div>${uiLabelMap.AccountingPayment} ${uiLabelMap.CommonNbr}<a href="/accounting/control/paymentOverview?paymentId=${itemResp.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${itemResp.paymentId}</a></div>
@@ -385,7 +385,7 @@
           </table>
         </form>
         </#if>
-<!-- if no requestParameters.orderId exists, then show list of items -->
+<!-- if no requestParameters.orderId??, then show list of items -->
 <#else>
         <#assign selectAllFormName = "returnItems"/>
         <form name="returnItems" method="post" action="<@ofbizUrl>createReturnItems</@ofbizUrl>">
Index: applications/order/webapp/ordermgr/return/returnHeader.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnHeader.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnHeader.ftl	(working copy)
@@ -25,18 +25,18 @@
         <br class="clear"/>
     </div>
     <div class="screenlet-body">
-        <#if returnHeader?exists>
+        <#if returnHeader??>
             <form name="returnhead" method="post" action="<@ofbizUrl>updateReturn</@ofbizUrl>">
             <input type="hidden" name="returnId" value="${returnHeader.returnId}" />
             <input type="hidden" name="returnHeaderTypeId" value="CUSTOMER_RETURN"/>
-            <input type="hidden" name="currentStatusId" value="${returnHeader.statusId?if_exists}" />
+            <input type="hidden" name="currentStatusId" value="${returnHeader.statusId!}" />
         <#else>
             <form name="returnhead" method="post" action="<@ofbizUrl>createReturn</@ofbizUrl>">
             <input type="hidden" name="returnHeaderTypeId" value="CUSTOMER_RETURN"/>
         </#if>
 
         <table cellspacing="0" class="basic-table">
-          <#if returnHeader?exists>
+          <#if returnHeader??>
           <tr>
             <td width='14%'>&nbsp;</td>
             <td width='6%' align='right' nowrap="nowrap" class="label">${uiLabelMap.OrderReturnId}</td>
@@ -49,8 +49,8 @@
             <td width='6%' align='right' nowrap="nowrap" class="label">${uiLabelMap.CommonCurrency}</td>
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
-          <#if returnHeader?exists>
-              ${returnHeader.currencyUomId?if_exists}
+          <#if returnHeader??>
+              ${returnHeader.currencyUomId!}
           <#else>
              <select name="currencyUomId">
                 <#if (orderHeader?has_content) && (orderHeader.currencyUom?has_content)>
@@ -74,10 +74,10 @@
             <td width='6%' align='right' nowrap="nowrap" class="label">${uiLabelMap.OrderEntryDate}</td>
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
-              <#if returnInfo.entryDate?exists>
+              <#if returnInfo.entryDate??>
                 <#assign entryDate = returnInfo.get("entryDate").toString()>
               </#if>
-              <@htmlTemplate.renderDateTimeField name="entryDate" event="" action="" value="${entryDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="entryDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+              <@htmlTemplate.renderDateTimeField name="entryDate" event="" action="" value="${entryDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="entryDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
             </td>
           </tr>
           <tr>
@@ -85,7 +85,7 @@
             <td width='6%' align='right' nowrap="nowrap" class="label">${uiLabelMap.OrderReturnFromParty}</td>
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
-              <@htmlTemplate.lookupField value='${returnInfo.fromPartyId?if_exists}' formName="returnhead" name="fromPartyId" id="fromPartyId" fieldFormName="LookupPartyName"/>
+              <@htmlTemplate.lookupField value='${returnInfo.fromPartyId!}' formName="returnhead" name="fromPartyId" id="fromPartyId" fieldFormName="LookupPartyName"/>
             </td>
           </tr>
           <tr>
@@ -94,7 +94,7 @@
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
               <select name='destinationFacilityId'>
-                <#if currentFacility?exists>
+                <#if currentFacility??>
                   <option value="${currentFacility.facilityId}">${currentFacility.facilityName?default(currentFacility.facilityId)}</option>
                   <option value="${currentFacility.facilityId}">---</option>
                 </#if>
@@ -111,13 +111,13 @@
             <td width='74%'>
               <#if billingAccountList?has_content>
                 <select name='billingAccountId'>
-                  <#if currentAccount?exists>
-                    <option value="${currentAccount.billingAccountId}">${currentAccount.billingAccountId}: ${currentAccount.description?if_exists}</option>
+                  <#if currentAccount??>
+                    <option value="${currentAccount.billingAccountId}">${currentAccount.billingAccountId}: ${currentAccount.description!}</option>
                     <option value="${currentAccount.billingAccountId}">---</option>
                   </#if>
                   <option value="">${uiLabelMap.AccountingNewBillingAccount}</option>
                   <#list billingAccountList as ba>
-                    <option value="${ba.billingAccountId}">${ba.billingAccountId}: ${ba.description?if_exists}</option>
+                    <option value="${ba.billingAccountId}">${ba.billingAccountId}: ${ba.description!}</option>
                   </#list>
                 </select>
               <#else>
@@ -130,13 +130,13 @@
             <td width='6%' align='right' nowrap="nowrap" class="label">${uiLabelMap.FormFieldTitle_paymentMethodId}</td>
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
-              <#if creditCardList?exists || eftAccountList?exists>
+              <#if creditCardList?? || eftAccountList??>
                 <select name='paymentMethodId'>
-                  <#if currentCreditCard?exists>
+                  <#if currentCreditCard??>
                     <option value="${currentCreditCard.paymentMethodId}">CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(currentCreditCard)}</option>
                   </#if>
-                  <#if currentEftAccount?exists>
-                    <option value="${currentEftAccount.paymentMethodId}">EFT:&nbsp;${currentEftAccount.nameOnAccount?if_exists}, ${currentEftAccount.accountNumber?if_exists}</option>
+                  <#if currentEftAccount??>
+                    <option value="${currentEftAccount.paymentMethodId}">EFT:&nbsp;${currentEftAccount.nameOnAccount!}, ${currentEftAccount.accountNumber!}</option>
                   </#if>
                   <option value=""></option>
                   <#if creditCardList?has_content>
@@ -147,12 +147,12 @@
                   </#if>
                   <#if eftAccountList?has_content>
                     <#list eftAccountList as eftAccount>
-                      <option value="${eftAccount.paymentMethodId}">EFT:&nbsp;${eftAccount.nameOnAccount?if_exists}, ${eftAccount.accountNumber?if_exists}</option>
+                      <option value="${eftAccount.paymentMethodId}">EFT:&nbsp;${eftAccount.nameOnAccount!}, ${eftAccount.accountNumber!}</option>
                     </#list>
                   </#if>
                 </select>
               <#else>
-                <input type='text' size='20' name='paymentMethodId' value="${returnHeader?if_exists.paymentMethodId?if_exists}"/>
+                <input type='text' size='20' name='paymentMethodId' value="${(returnHeader.paymentMethodId)!}"/>
               </#if>
               <#if (returnHeader.fromPartyId)?has_content>
                 <a href="/partymgr/control/editcreditcard?partyId=${returnHeader.fromPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="smallSubmit">${uiLabelMap.AccountingCreateNewCreditCard}</a>
@@ -165,7 +165,7 @@
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
               <select name='needsInventoryReceive'>
-                <#if needsInventoryReceive?exists>
+                <#if needsInventoryReceive??>
                   <#if "Y" == needsInventoryReceive>
                     <option selected="selected" value="${needsInventoryReceive}">${uiLabelMap.CommonYes}</option>
                   <#elseif "N" == needsInventoryReceive>
@@ -185,7 +185,7 @@
             <td width='6%'>&nbsp;</td>
             <td width='74%'>
               <select name="statusId">
-                <#if currentStatus?exists>
+                <#if currentStatus??>
                   <option value="${currentStatus.statusId}">${currentStatus.get("description",locale)}</option>
                   <option value="${currentStatus.statusId}">---</option>
                 </#if>
@@ -256,7 +256,7 @@
             <#if postalAddress?has_content>
                     <div>
                       <#if (editable)>
-                        <input type='radio' name="originContactMechId" value="${postalAddress.contactMechId?if_exists}"
+                        <input type='radio' name="originContactMechId" value="${postalAddress.contactMechId!}"
                           <#if ( postalAddressFrom?has_content && postalAddressFrom.contactMechId?default("") == postalAddress.contactMechId)>checked="checked"</#if> />
                       </#if>
                       <#if postalAddress.toName?has_content><span class="label">${uiLabelMap.CommonTo}</span>&nbsp;${postalAddress.toName}<br /></#if>
Index: applications/order/webapp/ordermgr/return/returnItemInc.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnItemInc.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnItemInc.ftl	(working copy)
@@ -26,7 +26,7 @@
     </tr>
 
     <#-- information about orders and amount refunded/credited on past returns -->
-    <#if orh?exists>
+    <#if orh??>
     <tr><td colspan="10">
         <table cellspacing="0" class="basic-table">
           <tr>
@@ -90,7 +90,7 @@
             </tr>
         <#else>
             <#-- this is an order item -->
-            <#assign returnItemType = (returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey")))?if_exists/>
+            <#assign returnItemType = (returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey")))!/>
             <#-- need some order item information -->
             <#assign orderHeader = orderItem.getRelatedOne("OrderHeader", false)>
             <#assign itemCount = orderItem.quantity>
@@ -102,14 +102,14 @@
             <input type="hidden" name="returnItemTypeId_o_${rowCount}" value="${returnItemType}"/>
             <input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
             <input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>
-            <input type="hidden" name="description_o_${rowCount}" value="${orderItem.itemDescription?if_exists}"/>
+            <input type="hidden" name="description_o_${rowCount}" value="${orderItem.itemDescription!}"/>
 
                 <div>
-                  <#if orderItem.productId?exists>
+                  <#if orderItem.productId??>
                     ${orderItem.productId}&nbsp;
                     <input type="hidden" name="productId_o_${rowCount}" value="${orderItem.productId}"/>
                   </#if>
-                  ${orderItem.itemDescription?if_exists}
+                  ${orderItem.itemDescription!}
                 </div>
               </td>
               <td align='center'>
@@ -122,7 +122,7 @@
                 <div><@ofbizCurrency amount=orderItem.unitPrice isoCode=orderHeader.currencyUom/></div>
               </td>
               <td>
-                <#if orderItem.productId?exists>
+                <#if orderItem.productId??>
                   <#assign product = orderItem.getRelatedOne("Product", false)/>
                   <#if product.productTypeId == "ASSET_USAGE_OUT_IN">
                     <input type="text" size="8" name="returnPrice_o_${rowCount}" value="0.00"/>
Index: applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl	(working copy)
@@ -34,8 +34,8 @@
               <fo:table-body>
                 <fo:table-row><fo:table-cell border-style="solid" border-width="0.2pt" padding="1mm"><fo:block font-weight="bold">${uiLabelMap.OrderReturnFromAddress}</fo:block></fo:table-cell></fo:table-row>
                 <fo:table-row><fo:table-cell padding="1mm">
-                  <fo:block white-space-collapse="false"><#if fromPartyNameResult.fullName?has_content>${fromPartyNameResult.fullName}<#else/><#if postalAddressFrom?exists><#if (postalAddressFrom.toName)?has_content>${postalAddressFrom.toName}</#if><#if (postalAddressFrom.attnName)?has_content>
-${postalAddressFrom.attnName}</#if></#if></#if><#if postalAddressFrom?exists>
+                  <fo:block white-space-collapse="false"><#if fromPartyNameResult.fullName?has_content>${fromPartyNameResult.fullName}<#else/><#if postalAddressFrom??><#if (postalAddressFrom.toName)?has_content>${postalAddressFrom.toName}</#if><#if (postalAddressFrom.attnName)?has_content>
+${postalAddressFrom.attnName}</#if></#if></#if><#if postalAddressFrom??>
 ${postalAddressFrom.address1}<#if (postalAddressFrom.address2)?has_content>
 ${postalAddressFrom.address2}</#if>
 ${postalAddressFrom.city}<#if (postalAddressFrom.stateProvinceGeoId)?has_content>, ${postalAddressFrom.stateProvinceGeoId}</#if><#if (postalAddressFrom.postalCode)?has_content>, ${postalAddressFrom.postalCode}</#if></#if>
@@ -54,8 +54,8 @@
               <fo:table-body>
                 <fo:table-row><fo:table-cell padding="1mm" border-style="solid" border-width="0.2pt"><fo:block font-weight="bold">${uiLabelMap.OrderReturnToAddress}</fo:block></fo:table-cell></fo:table-row>
                 <fo:table-row><fo:table-cell padding="1mm">
-                  <fo:block white-space-collapse="false"><#if toPartyNameResult.fullName?has_content>${toPartyNameResult.fullName}<fo:block /><#else/><#if postalAddressTo?exists><#if (postalAddressTo.toName)?has_content>${postalAddressTo.toName}</#if><#if (postalAddressTo.attnName)?has_content>
-${postalAddressTo.attnName}</#if></#if></#if><#if postalAddressTo?exists>
+                  <fo:block white-space-collapse="false"><#if toPartyNameResult.fullName?has_content>${toPartyNameResult.fullName}<fo:block /><#else/><#if postalAddressTo??><#if (postalAddressTo.toName)?has_content>${postalAddressTo.toName}</#if><#if (postalAddressTo.attnName)?has_content>
+${postalAddressTo.attnName}</#if></#if></#if><#if postalAddressTo??>
 ${postalAddressTo.address1}<#if (postalAddressTo.address2)?has_content>
 ${postalAddressTo.address2}</#if>
 ${postalAddressTo.city}<#if (postalAddressTo.stateProvinceGeoId)?has_content>, ${postalAddressTo.stateProvinceGeoId}</#if><#if (postalAddressTo.postalCode)?has_content>, ${postalAddressTo.postalCode}</#if></#if></fo:block>
Index: applications/order/webapp/ordermgr/return/returnList.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnList.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnList.ftl	(working copy)
@@ -31,20 +31,20 @@
   </tr>
   <#list returnList as returnHeader>
   <#assign statusItem = returnHeader.getRelatedOne("StatusItem", false)>
-  <#if returnHeader.destinationFacilityId?exists>
+  <#if returnHeader.destinationFacilityId??>
     <#assign facility = returnHeader.getRelatedOne("Facility", false)>
   </#if>
   <tr>
     <td><a href="<@ofbizUrl>returnMain?returnId=${returnHeader.returnId}</@ofbizUrl>" class="buttontext">${returnHeader.returnId}</a></td>
     <td><div>${returnHeader.entryDate.toString()}</div></td>
     <td>
-      <#if returnHeader.fromPartyId?exists>
+      <#if returnHeader.fromPartyId??>
         <a href="${customerDetailLink}${returnHeader.fromPartyId}${StringUtil.wrapString(externalKeyParam)}" class='buttontext'>${returnHeader.fromPartyId}</a>
       <#else>
         <span class="label">${uiLabelMap.CommonNA}</span>
       </#if>
     </td>
-    <td><#if facility?exists>${facility.facilityName?default(facility.facilityId)}<#else>${uiLabelMap.CommonNone}</#if></td>
+    <td><#if facility??>${facility.facilityName?default(facility.facilityId)}<#else>${uiLabelMap.CommonNone}</#if></td>
     <td>${statusItem.get("description",locale)}</td>
   </tr>
   </#list>
Index: applications/order/webapp/ordermgr/return/quickReturn.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/quickReturn.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/quickReturn.ftl	(working copy)
@@ -27,11 +27,11 @@
         <form name="selectAllForm" method="post" action="<@ofbizUrl>makeQuickReturn</@ofbizUrl>">
           <input type="hidden" name="_checkGlobalScope" value="Y"/>
           <input type="hidden" name="_useRowSubmit" value="Y"/>
-          <input type="hidden" name="fromPartyId" value="${partyId?if_exists}"/>
-          <input type="hidden" name="toPartyId" value="${toPartyId?if_exists}"/>
+          <input type="hidden" name="fromPartyId" value="${partyId!}"/>
+          <input type="hidden" name="toPartyId" value="${toPartyId!}"/>
           <input type="hidden" name="orderId" value="${orderId}"/>
           <input type="hidden" name="needsInventoryReceive" value="${parameters.needsInventoryReceive?default("Y")}"/>
-          <input type="hidden" name="destinationFacilityId" value="${destinationFacilityId?if_exists}"/>
+          <input type="hidden" name="destinationFacilityId" value="${destinationFacilityId!}"/>
           <input type="hidden" name="returnHeaderTypeId" value="${returnHeaderTypeId}"/>
           <#if (orderHeader?has_content) && (orderHeader.currencyUom?has_content)>
           <input type="hidden" name="currencyUomId" value="${orderHeader.currencyUom}"/>
@@ -42,7 +42,7 @@
           <h3>${uiLabelMap.FormFieldTitle_paymentMethodId}:</h3>
           <table cellspacing="0" class="basic-table">
             <tr><td>
-              <#if creditCardList?exists || eftAccountList?exists>
+              <#if creditCardList?? || eftAccountList??>
                 <select name='paymentMethodId'>
                   <option value=""></option>
                   <#if creditCardList?has_content>
@@ -53,7 +53,7 @@
                   </#if>
                   <#if eftAccountList?has_content>
                     <#list eftAccountList as eftAccount>
-                      <option value="${eftAccount.paymentMethodId}">EFT:&nbsp;${eftAccount.nameOnAccount?if_exists}, ${eftAccount.accountNumber?if_exists}</option>
+                      <option value="${eftAccount.paymentMethodId}">EFT:&nbsp;${eftAccount.nameOnAccount!}, ${eftAccount.accountNumber!}</option>
                     </#list>
                   </#if>
                 </select>
Index: applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
===================================================================
--- applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl	(working copy)
@@ -19,7 +19,7 @@
 <#escape x as x?xml>
 <#macro displayReturnAdjustment returnAdjustment>
     <#assign returnHeader = returnAdjustment.getRelatedOne("ReturnHeader", false)>
-    <#assign adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)?if_exists>
+    <#assign adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)!>
     <fo:table-row>
     <fo:table-cell><fo:block></fo:block></fo:table-cell>
     <fo:table-cell><fo:block></fo:block></fo:table-cell>
@@ -67,11 +67,11 @@
                 </fo:table-cell>
                 <fo:table-cell padding="1mm" font-size="8pt">
                   <fo:block>
-                    <#if returnItem.orderItemSeqId?exists>${returnItem.getRelatedOne("OrderItem", false).getString("productId")}</#if>
+                    <#if returnItem.orderItemSeqId??>${returnItem.getRelatedOne("OrderItem", false).getString("productId")}</#if>
                   </fo:block>
                 </fo:table-cell>
-                <fo:table-cell padding="1mm"><fo:block wrap-option="wrap">${returnItem.description?if_exists}</fo:block></fo:table-cell>
-                <fo:table-cell padding="1mm" font-size="8pt"><fo:block><#if returnItem.returnReasonId?exists>${(returnItem.getRelatedOne("ReturnReason", false)).get("description",locale)?default(returnItem.returnReasonId)}</#if></fo:block></fo:table-cell>
+                <fo:table-cell padding="1mm"><fo:block wrap-option="wrap">${returnItem.description!}</fo:block></fo:table-cell>
+                <fo:table-cell padding="1mm" font-size="8pt"><fo:block><#if returnItem.returnReasonId??>${(returnItem.getRelatedOne("ReturnReason", false)).get("description",locale)?default(returnItem.returnReasonId)}</#if></fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block>${returnItem.returnQuantity}</fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block><@ofbizCurrency amount=returnItem.returnPrice isoCode=returnHeader.currencyUomId/></fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block><@ofbizCurrency amount=(returnItem.returnPrice * returnItem.returnQuantity) isoCode=returnHeader.currencyUomId/></fo:block></fo:table-cell>
Index: applications/order/webapp/ordermgr/setup/paymentsetup.ftl
===================================================================
--- applications/order/webapp/ordermgr/setup/paymentsetup.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/setup/paymentsetup.ftl	(working copy)
@@ -56,26 +56,26 @@
               </tr>
               <#if paymentSetups?has_content>
                 <#list paymentSetups as paymentSetting>
-                  <#if rowStyle?exists && rowStyle == "alternate-row">
+                  <#if rowStyle?? && rowStyle == "alternate-row">
                     <#assign rowStyle = "alternate-rowSelected">
                   <#else>
                     <#assign rowStyle = "alternate-row">
                   </#if>
                   <tr class="${rowStyle}">
-                    <td><div>${paymentSetting.siteName?if_exists}</div></td>
-                    <td><div>${paymentSetting.description?if_exists}</div></td>
-                    <td><div>${paymentSetting.paymentAuthService?if_exists}</div></td>
-                    <td><div>${paymentSetting.paymentReAuthService?if_exists}</div></td>
-                    <td><div>${paymentSetting.paymentCaptureService?if_exists}</div></td>
-                    <td><div>${paymentSetting.paymentRefundService?if_exists}</div></td>
-                    <td><div>${paymentSetting.paymentConfiguration?if_exists}</div></td>
+                    <td><div>${paymentSetting.siteName!}</div></td>
+                    <td><div>${paymentSetting.description!}</div></td>
+                    <td><div>${paymentSetting.paymentAuthService!}</div></td>
+                    <td><div>${paymentSetting.paymentReAuthService!}</div></td>
+                    <td><div>${paymentSetting.paymentCaptureService!}</div></td>
+                    <td><div>${paymentSetting.paymentRefundService!}</div></td>
+                    <td><div>${paymentSetting.paymentConfiguration!}</div></td>
                     <td nowrap="nowrap">
                       <div>&nbsp;
                         <#if security.hasEntityPermission("PAYPROC", "_UPDATE", session)>
-                        <a href="<@ofbizUrl>paysetup?webSiteId=${paymentSetting.webSiteId?if_exists}&amp;paymentMethodTypeId=${paymentSetting.paymentMethodTypeId?if_exists}</@ofbizUrl>" class="buttontext">Edit</a>&nbsp;
+                        <a href="<@ofbizUrl>paysetup?webSiteId=${paymentSetting.webSiteId!}&amp;paymentMethodTypeId=${paymentSetting.paymentMethodTypeId!}</@ofbizUrl>" class="buttontext">Edit</a>&nbsp;
                         </#if>
                         <#if security.hasEntityPermission("PAYPROC", "_DELETE", session)>
-                        <a href="<@ofbizUrl>removeWebSitePaymentSetting?webSiteId=${paymentSetting.webSiteId?if_exists}&amp;paymentMethodTypeId=${paymentSetting.paymentMethodTypeId?if_exists}</@ofbizUrl>" class="buttontext">Remove</a>&nbsp;
+                        <a href="<@ofbizUrl>removeWebSitePaymentSetting?webSiteId=${paymentSetting.webSiteId!}&amp;paymentMethodTypeId=${paymentSetting.paymentMethodTypeId!}</@ofbizUrl>" class="buttontext">Remove</a>&nbsp;
                         </#if>
                       </div>
                     </td>
@@ -168,27 +168,27 @@
               <tr>
                 <td width="26%" align="right"><div>Processor Auth Service</div></td>
                 <td>&nbsp;</td>
-                <td width="74%"><input type="text" name="paymentAuthService" value="${payInfo.paymentAuthService?if_exists}" size="30" maxlength="60" /></td>
+                <td width="74%"><input type="text" name="paymentAuthService" value="${payInfo.paymentAuthService!}" size="30" maxlength="60" /></td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>Processor Re-Auth Service</div></td>
                 <td>&nbsp;</td>
-                <td width="74%"><input type="text" name="paymentReAuthService" value="${payInfo.paymentReAuthService?if_exists}" size="30" maxlength="60" /></td>
+                <td width="74%"><input type="text" name="paymentReAuthService" value="${payInfo.paymentReAuthService!}" size="30" maxlength="60" /></td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>Processor Capture Service</div></td>
                 <td>&nbsp;</td>
-                <td width="74%"><input type="text" name="paymentCaptureService" value="${payInfo.paymentCaptureService?if_exists}" size="30" maxlength="60" /></td>
+                <td width="74%"><input type="text" name="paymentCaptureService" value="${payInfo.paymentCaptureService!}" size="30" maxlength="60" /></td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>Processor Refund Service</div></td>
                 <td>&nbsp;</td>
-                <td width="74%"><input type="text" name="paymentRefundService" value="${payInfo.paymentRefundService?if_exists}" size="30" maxlength="60" /></td>
+                <td width="74%"><input type="text" name="paymentRefundService" value="${payInfo.paymentRefundService!}" size="30" maxlength="60" /></td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>Processor Properties URL</div></td>
                 <td>&nbsp;</td>
-                <td width="74%"><input type="text" name="paymentConfiguration" value="${payInfo.paymentConfiguration?if_exists}" size="30" maxlength="60" /></td>
+                <td width="74%"><input type="text" name="paymentConfiguration" value="${payInfo.paymentConfiguration!}" size="30" maxlength="60" /></td>
               </tr>
               <tr>
                 <td colspan='2'>&nbsp;</td>
Index: applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl	(working copy)
@@ -35,7 +35,7 @@
       <table border="0" cellspacing="0" cellpadding="0" class="boxbottom">
         <tr>
           <td align="right">
-            <input type="radio" id="additionalPartyType_Person" name="additionalPartyType" value="Person" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if (additionalPartyType?exists && additionalPartyType == "Person")> checked="checked"</#if> />
+            <input type="radio" id="additionalPartyType_Person" name="additionalPartyType" value="Person" onclick="<#if additionalPartyType??>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if (additionalPartyType?? && additionalPartyType == "Person")> checked="checked"</#if> />
       </td>
           <td>
             <label for="additionalPartyType_Person">${uiLabelMap.CommonPerson}</label>
@@ -43,7 +43,7 @@
         </tr>
         <tr>
           <td align="right">
-            <input type="radio" id="additionalPartyType_Group" name="additionalPartyType" value="Group" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if additionalPartyType?exists && additionalPartyType == "Group"> checked="checked"</#if> />
+            <input type="radio" id="additionalPartyType_Group" name="additionalPartyType" value="Group" onclick="<#if additionalPartyType??>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if additionalPartyType?? && additionalPartyType == "Group"> checked="checked"</#if> />
           </td>
           <td>
             <label for="additionalPartyType_Group">${uiLabelMap.CommonGroup}</label>
@@ -51,7 +51,7 @@
         </tr>
         <tr>
           <td align="right">
-            <input type="radio" id="additionalPartyType_None" name="additionalPartyType" value="None" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if !additionalPartyType?exists> checked="checked"</#if> />
+            <input type="radio" id="additionalPartyType_None" name="additionalPartyType" value="None" onclick="<#if additionalPartyType??>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if !additionalPartyType??> checked="checked"</#if> />
           </td>
           <td>
             <label for="additionalPartyType_None">${uiLabelMap.OrderPartyDontWish}</label>
@@ -65,7 +65,7 @@
     <td>&nbsp;</td>
   </tr>
 
-  <#if additionalPartyType?exists && additionalPartyType != "" && additionalPartyType != "None">
+  <#if additionalPartyType?? && additionalPartyType != "" && additionalPartyType != "None">
     <#if additionalPartyType == "Person">
       <#assign lookupPartyView="LookupPerson">
     <#else>
@@ -83,7 +83,7 @@
             <div>${uiLabelMap.CommonIdentifier} :</div>
           </td>
           <td>
-            <@htmlTemplate.lookupField value="${additionalPartyId?if_exists}" formName="quickAddPartyForm" name="additionalPartyId" id="additionalPartyId" fieldFormName="${lookupPartyView}"/>
+            <@htmlTemplate.lookupField value="${additionalPartyId!}" formName="quickAddPartyForm" name="additionalPartyId" id="additionalPartyId" fieldFormName="${lookupPartyView}"/>
           </td>
           <td>
             &nbsp;<a href="javascript:document.quickAddPartyForm.submit()" class="buttontext">${uiLabelMap.CommonApply}</a>
Index: applications/order/webapp/ordermgr/entry/cart/promoText.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promoText.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promoText.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if showPromoText?exists && showPromoText>
+<#if showPromoText?? && showPromoText>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <div class="h3">${uiLabelMap.OrderSpecialOffers}</div>
@@ -27,7 +27,7 @@
           <#list productPromos as productPromo>
             <tr>
               <td>
-                <div><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a> ${StringUtil.wrapString(productPromo.promoText?if_exists)}</div>
+                <div><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a> ${StringUtil.wrapString(productPromo.promoText!)}</div>
               </td>
             </tr>
             <#if productPromo_has_next>
Index: applications/order/webapp/ordermgr/entry/cart/addItemsToShoppingList.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/addItemsToShoppingList.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/addItemsToShoppingList.ftl	(working copy)
@@ -19,7 +19,7 @@
 
 <!-- Screenlet to add cart to shopping list. The shopping lists are presented in a dropdown box. -->
 
-<#if (shoppingLists?exists) && (shoppingCartSize > 0)>
+<#if (shoppingLists??) && (shoppingCartSize > 0)>
   <div class="screenlet">
     <div class="screenlet-title-bar">
         <div class="h3">${uiLabelMap.OrderAddOrderToShoppingList}</div>
@@ -31,7 +31,7 @@
             <form method="post" name="addBulkToShoppingList" action="<@ofbizUrl>addBulkToShoppingList</@ofbizUrl>" style='margin: 0;'>
               <#assign index = 0/>
               <#list shoppingCart.items() as cartLine>
-                <#if (cartLine.getProductId()?exists) && !cartLine.getIsPromo()>
+                <#if (cartLine.getProductId()??) && !cartLine.getIsPromo()>
                   <input type="hidden" name="selectedItem" value="${index}"/>
                 </#if>
                 <#assign index = index + 1/>
Index: applications/order/webapp/ordermgr/entry/cart/showAllPromotions.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/showAllPromotions.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/showAllPromotions.ftl	(working copy)
@@ -22,7 +22,7 @@
         <ul>
         <#-- show promotions text -->
         <#list productPromosAllShowable as productPromo>
-            <li><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="button">${uiLabelMap.CommonDetails}</a>${StringUtil.wrapString(productPromo.promoText?if_exists)}</li>
+            <li><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="button">${uiLabelMap.CommonDetails}</a>${StringUtil.wrapString(productPromo.promoText!)}</li>
         </#list>
         </ul>
     </div>
Index: applications/order/webapp/ordermgr/entry/cart/associatedProducts.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/associatedProducts.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/associatedProducts.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 
 <#if (shoppingCart.getOrderType() == "SALES_ORDER")>
-    <#assign associatedProducts = Static["org.ofbiz.order.shoppingcart.product.ProductDisplayWorker"].getRandomCartProductAssoc(request, true)?if_exists>
+    <#assign associatedProducts = Static["org.ofbiz.order.shoppingcart.product.ProductDisplayWorker"].getRandomCartProductAssoc(request, true)!>
 </#if>
 
 <#if associatedProducts?has_content>
Index: applications/order/webapp/ordermgr/entry/cart/minicart.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/minicart.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/minicart.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#assign shoppingCart = sessionAttributes.shoppingCart?if_exists>
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
 <#if shoppingCart?has_content>
     <#assign shoppingCartSize = shoppingCart.size()>
 <#else>
@@ -57,19 +57,19 @@
               <tr>
                 <td>${cartLine.getQuantity()?string.number}</td>
                 <td>
-                  <#if cartLine.getProductId()?exists>
-                      <#if cartLine.getParentProductId()?exists>
+                  <#if cartLine.getProductId()??>
+                      <#if cartLine.getParentProductId()??>
                           <a href="<@ofbizCatalogAltUrl productId=cartLine.getParentProductId()/>" class="linktext">${cartLine.getName()}</a>
                       <#else>
                           <a href="<@ofbizCatalogAltUrl productId=cartLine.getProductId()/>" class="linktext">${cartLine.getName()}</a>
                       </#if>
                   <#else>
-                    <strong>${cartLine.getItemTypeDescription()?if_exists}</strong>
+                    <strong>${cartLine.getItemTypeDescription()!}</strong>
                   </#if>
                 </td>
                 <td><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=shoppingCart.getCurrency()/></td>
               </tr>
-              <#if cartLine.getReservStart()?exists>
+              <#if cartLine.getReservStart()??>
                 <tr><td>&nbsp;</td><td colspan="2">(${cartLine.getReservStart()?string("yyyy-MM-dd")}, ${cartLine.getReservLength()} <#if cartLine.getReservLength() == 1>${uiLabelMap.CommonDay}<#else>${uiLabelMap.CommonDays}</#if>)</td></tr>
               </#if>
             </#list>
Index: applications/order/webapp/ordermgr/entry/cart/manualPromotions.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/manualPromotions.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/manualPromotions.ftl	(working copy)
@@ -29,13 +29,13 @@
           <select name="productPromoId_1">
             <option value=""></option>
             <#list allProductPromos as productPromo>
-              <option value="${productPromo.productPromoId}">${productPromo.promoName?if_exists}</option>
+              <option value="${productPromo.productPromoId}">${productPromo.promoName!}</option>
             </#list>
           </select>
           <select name="productPromoId_2">
             <option value=""></option>
             <#list allProductPromos as productPromo>
-              <option value="${productPromo.productPromoId}">${productPromo.promoName?if_exists}</option>
+              <option value="${productPromo.productPromoId}">${productPromo.promoName!}</option>
             </#list>
           </select>
           <input type="submit" class="smallSubmit" value="${uiLabelMap.OrderDoPromotions}" />
Index: applications/order/webapp/ordermgr/entry/cart/promotionproducts.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promotionproducts.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promotionproducts.ftl	(working copy)
@@ -30,11 +30,11 @@
                     <span>
                     <b>
                     <#if (viewIndex > 0)>
-                    <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
+                    <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
                     </#if>
                     ${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}
                     <#if (listSize > highIndex)>
-                    | <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
+                    | <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
                     </#if>
                     </b>
                     </span>
Index: applications/order/webapp/ordermgr/entry/cart/promoCodes.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promoCodes.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promoCodes.ftl	(working copy)
@@ -27,7 +27,7 @@
         <form method="post" action="<@ofbizUrl>addpromocode<#if requestAttributes._CURRENT_VIEW_?has_content>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addpromocodeform" style="margin: 0;">
           <input type="text" size="15" name="productPromoCodeId" value="" />
           <input type="submit" class="smallSubmit" value="${uiLabelMap.OrderAddCode}" />
-          <#assign productPromoCodeIds = (shoppingCart.getProductPromoCodesEntered())?if_exists>
+          <#assign productPromoCodeIds = (shoppingCart.getProductPromoCodesEntered())!>
           <#if productPromoCodeIds?has_content>
             ${uiLabelMap.OrderEnteredPromoCodes}:
             <#list productPromoCodeIds as productPromoCodeId>
Index: applications/order/webapp/ordermgr/entry/cart/promoUseDetailsInline.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promoUseDetailsInline.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promoUseDetailsInline.ftl	(working copy)
@@ -24,11 +24,11 @@
             <#list shoppingCart.getProductPromoUseInfoIter() as productPromoUseInfo>
                 <li>
                     <#-- TODO: when promo pretty print is done show promo short description here -->
-                       ${uiLabelMap.OrderPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoUseInfo.productPromoId?if_exists}</@ofbizUrl>" class="button">${uiLabelMap.CommonDetails}</a>
+                       ${uiLabelMap.OrderPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoUseInfo.productPromoId!}</@ofbizUrl>" class="button">${uiLabelMap.CommonDetails}</a>
                     <#if productPromoUseInfo.productPromoCodeId?has_content> - ${uiLabelMap.OrderWithPromoCode} [${productPromoUseInfo.productPromoCodeId}]</#if>
                     <#if (productPromoUseInfo.totalDiscountAmount != 0)> - ${uiLabelMap.CommonTotalValue} <@ofbizCurrency amount=(-1*productPromoUseInfo.totalDiscountAmount) isoCode=shoppingCart.getCurrency()/></#if>
                     <#if productPromoUseInfo.productPromoCodeId?has_content>
-                        <a href="<@ofbizUrl>removePromotion?promoCode=${productPromoUseInfo.productPromoCodeId?if_exists}</@ofbizUrl>" class="button">${uiLabelMap.OrderRemovePromotion}</a>
+                        <a href="<@ofbizUrl>removePromotion?promoCode=${productPromoUseInfo.productPromoCodeId!}</@ofbizUrl>" class="button">${uiLabelMap.OrderRemovePromotion}</a>
                     </#if>
                 </li>
                 <#if (productPromoUseInfo.quantityLeftInActions > 0)>
@@ -41,9 +41,9 @@
         <#list shoppingCart.items() as cartLine>
             <#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)>
             <#if cartLine.getIsPromo()>
-                <li>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${uiLabelMap.OrderIsAPromotionalItem}</li>
+                <li>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()!}] - ${uiLabelMap.OrderIsAPromotionalItem}</li>
             <#else>
-                <li>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${cartLine.getPromoQuantityUsed()?string.number}/${cartLine.getQuantity()?string.number} ${uiLabelMap.CommonUsed} - ${cartLine.getPromoQuantityAvailable()?string.number} ${uiLabelMap.CommonAvailable}
+                <li>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()!}] - ${cartLine.getPromoQuantityUsed()?string.number}/${cartLine.getQuantity()?string.number} ${uiLabelMap.CommonUsed} - ${cartLine.getPromoQuantityAvailable()?string.number} ${uiLabelMap.CommonAvailable}
                     <ul>
                         <#list cartLine.getQuantityUsedPerPromoActualIter() as quantityUsedPerPromoActualEntry>
                             <#assign productPromoActualPK = quantityUsedPerPromoActualEntry.getKey()>
Index: applications/order/webapp/ordermgr/entry/cart/showcart.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/showcart.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/showcart.ftl	(working copy)
@@ -35,7 +35,7 @@
     <div class="screenlet-body">
       <#if shoppingCart.getOrderType() == "SALES_ORDER">
         <div>
-          <#if quantityOnHandTotal?exists && availableToPromiseTotal?exists && (productId)?exists>
+          <#if quantityOnHandTotal?? && availableToPromiseTotal?? && (productId)??>
             <ul>
               <li>
                 <label>${uiLabelMap.ProductQuantityOnHand}</label>: ${quantityOnHandTotal}
@@ -69,9 +69,9 @@
           <td>
             <form name="qohAtpForm" method="post" action="<@ofbizUrl>${target}</@ofbizUrl>">
               <fieldset>
-                <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                <input type="hidden" name="facilityId" value="${facilityId!}"/>
                 <input type="hidden" name="productId"/>
-                <input type="hidden" id="ownerPartyId" name="ownerPartyId" value="${shoppingCart.getBillToCustomerPartyId()?if_exists}" />
+                <input type="hidden" id="ownerPartyId" name="ownerPartyId" value="${shoppingCart.getBillToCustomerPartyId()!}" />
               </fieldset>
             </form>
             <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="quickaddform" style="margin: 0;">
@@ -106,11 +106,11 @@
                   <td align="right"><div>${uiLabelMap.OrderDesiredDeliveryDate} :</div></td>
                   <td>
                     <div>
-                      <#if useAsDefaultDesiredDeliveryDate?exists> 
+                      <#if useAsDefaultDesiredDeliveryDate??> 
                         <#assign value = defaultDesiredDeliveryDate>
                       </#if>
                       <@htmlTemplate.renderDateTimeField name="itemDesiredDeliveryDate" value="${value!''}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="item1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                      <input type="checkbox" name="useAsDefaultDesiredDeliveryDate" value="true"<#if useAsDefaultDesiredDeliveryDate?exists> checked="checked"</#if>/>
+                      <input type="checkbox" name="useAsDefaultDesiredDeliveryDate" value="true"<#if useAsDefaultDesiredDeliveryDate??> checked="checked"</#if>/>
                       ${uiLabelMap.OrderUseDefaultDesiredDeliveryDate}
                     </div>
                   </td>
@@ -150,8 +150,8 @@
                   <td align="right"><div>${uiLabelMap.CommonComment} :</div></td>
                   <td>
                     <div>
-                      <input type="text" size="25" name="itemComment" value="${defaultComment?if_exists}" />
-                      <input type="checkbox" name="useAsDefaultComment" value="true" <#if useAsDefaultComment?exists>checked="checked"</#if> />
+                      <input type="text" size="25" name="itemComment" value="${defaultComment!}" />
+                      <input type="checkbox" name="useAsDefaultComment" value="true" <#if useAsDefaultComment??>checked="checked"</#if> />
                       ${uiLabelMap.OrderUseDefaultComment}
                     </div>
                   </td>
@@ -172,12 +172,12 @@
                 <div>
                     ${uiLabelMap.OrderOrderItemType}:&nbsp;<select name="add_item_type"><option value="BULK_ORDER_ITEM">${uiLabelMap.ProductBulkItem}</option><option value="WORK_ORDER_ITEM">${uiLabelMap.ProductWorkItem}</option></select>
                     <br/>${uiLabelMap.ProductProductCategory}:&nbsp;
-                    <@htmlTemplate.lookupField formName="bulkworkaddform" value="${requestParameters.add_category_id?if_exists}" name="add_category_id" id="add_category_id" fieldFormName="LookupProductCategory"/>
+                    <@htmlTemplate.lookupField formName="bulkworkaddform" value="${requestParameters.add_category_id!}" name="add_category_id" id="add_category_id" fieldFormName="LookupProductCategory"/>
                 </div>
                 <div>
                     ${uiLabelMap.CommonDescription}:&nbsp;<input type="text" size="25" name="add_item_description" value=""/>
                     ${uiLabelMap.OrderQuantity}:&nbsp;<input type="text" size="3" name="quantity" value="${requestParameters.quantity?default("1")}"/>
-                    ${uiLabelMap.OrderPrice}:&nbsp;<input type="text" size="6" name="price" value="${requestParameters.price?if_exists}"/>
+                    ${uiLabelMap.OrderPrice}:&nbsp;<input type="text" size="6" name="price" value="${requestParameters.price!}"/>
                     <input type="submit" class="smallSubmit" value="${uiLabelMap.OrderAddToOrder}"/>
                 </div>
             </form>
@@ -192,4 +192,4 @@
   document.quickaddform.add_product_id.focus();
 </script>
 
-<!-- Internal cart info: productStoreId=${shoppingCart.getProductStoreId()?if_exists} locale=${shoppingCart.getLocale()?if_exists} currencyUom=${shoppingCart.getCurrency()?if_exists} userLoginId=${(shoppingCart.getUserLogin().getString("userLoginId"))?if_exists} autoUserLogin=${(shoppingCart.getAutoUserLogin().getString("userLoginId"))?if_exists} -->
+<!-- Internal cart info: productStoreId=${shoppingCart.getProductStoreId()!} locale=${shoppingCart.getLocale()!} currencyUom=${shoppingCart.getCurrency()!} userLoginId=${(shoppingCart.getUserLogin().getString("userLoginId"))!} autoUserLogin=${(shoppingCart.getAutoUserLogin().getString("userLoginId"))!} -->
Index: applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl	(working copy)
@@ -23,7 +23,7 @@
   <#assign assocProduct = (delegator.findOne("Product", {"productId" : productAssoc.productIdTo}, false))/>
   <#if assocProduct?has_content>
     <td><a href="<@ofbizUrl>/product?product_id=${productAssoc.productIdTo}</@ofbizUrl>"class="buttontext">${productAssoc.productIdTo}</a></td>
-    <td>- ${(assocProduct.productName)?if_exists}<i>(${(productAssocType.description)?default("Unknown")})</i></td>
+    <td>- ${(assocProduct.productName)!}<i>(${(productAssocType.description)?default("Unknown")})</i></td>
   </#if>
 </#macro>
 <div class="screenlet">
@@ -77,11 +77,11 @@
           <table border="0">
           <tr><td colspan="2">
                 <div>
-                  <#if cartLine.getProductId()?exists>
+                  <#if cartLine.getProductId()??>
                     <#-- product item -->
                     <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" class="buttontext">${cartLine.getProductId()}</a> -
                     <input size="60" type="text" name="description_${cartLineIndex}" value="${cartLine.getName()?default("")}"/><br />
-                    <i>${cartLine.getDescription()?if_exists}</i>
+                    <i>${cartLine.getDescription()!}</i>
                     <#if shoppingCart.getOrderType() != "PURCHASE_ORDER">
                       <#-- only applies to sales orders, not purchase orders -->
                       <#-- if inventory is not required check to see if it is out of stock and needs to have a message shown about that... -->
@@ -93,7 +93,7 @@
                     </#if>
                   <#else>
                     <#-- this is a non-product item -->
-                    <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists}
+                    <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!}
                   </#if>
                     <#-- display the item's features -->
                    <#assign features = "">
@@ -117,7 +117,7 @@
             <#if cartLine.getRequirementId()?has_content>
                 <tr>
                     <td colspan="2">
-                      <div><b>${uiLabelMap.OrderRequirementId}</b>: ${cartLine.getRequirementId()?if_exists}</div>
+                      <div><b>${uiLabelMap.OrderRequirementId}</b>: ${cartLine.getRequirementId()!}</div>
                     </td>
                 </tr>
             </#if>
@@ -125,23 +125,23 @@
                 <#if cartLine.getQuoteItemSeqId()?has_content>
                   <tr>
                     <td colspan="2">
-                      <div><b>${uiLabelMap.OrderOrderQuoteId}</b>: ${cartLine.getQuoteId()?if_exists} - ${cartLine.getQuoteItemSeqId()?if_exists}</div>
+                      <div><b>${uiLabelMap.OrderOrderQuoteId}</b>: ${cartLine.getQuoteId()!} - ${cartLine.getQuoteItemSeqId()!}</div>
                     </td>
                   </tr>
                 </#if>
             </#if>
             <#if cartLine.getItemComment()?has_content>
               <tr><td><div>${uiLabelMap.CommonComment} : </div></td>
-                  <td><div>${cartLine.getItemComment()?if_exists}</div>
+                  <td><div>${cartLine.getItemComment()!}</div>
               </td></tr>
             </#if>
             <#if cartLine.getDesiredDeliveryDate()?has_content>
               <tr><td><div>${uiLabelMap.OrderDesiredDeliveryDate}: </div></td>
-                  <td><div>${cartLine.getDesiredDeliveryDate()?if_exists}</div>
+                  <td><div>${cartLine.getDesiredDeliveryDate()!}</div>
               </td></tr>
             </#if>
             <#-- inventory summary -->
-            <#if cartLine.getProductId()?exists>
+            <#if cartLine.getProductId()??>
               <#assign productId = cartLine.getProductId()>
               <#assign product = cartLine.getProduct()>
               <tr>
@@ -153,7 +153,7 @@
                     ${uiLabelMap.ProductMarketingPackageATP} = ${mktgPkgATPMap.get(productId)}, ${uiLabelMap.ProductMarketingPackageQOH} = ${mktgPkgQOHMap.get(productId)}
                     <#if ( mktgPkgATPMap.get(cartLine.getProductId()) < cartLine.getQuantity()) && (shoppingCart.getOrderType() == 'SALES_ORDER')>
                       <#assign backOrdered = cartLine.getQuantity() - mktgPkgATPMap.get(cartLine.getProductId())/>
-                      <span style="color: red; font-size: 15px;">[${backOrdered?if_exists}&nbsp;${uiLabelMap.OrderBackOrdered}]</span>
+                      <span style="color: red; font-size: 15px;">[${backOrdered!}&nbsp;${uiLabelMap.OrderBackOrdered}]</span>
                     </#if>
                     </#if>
                     <#if (availableToPromiseMap.get(cartLine.getProductId()) <= 0) && (shoppingCart.getOrderType() == 'SALES_ORDER') && product.productTypeId! != "DIGITAL_GOOD" && product.productTypeId! != "MARKETING_PKG_AUTO" && product.productTypeId! != "MARKETING_PKG_PICK">
@@ -161,7 +161,7 @@
                     <#else>
                       <#if (availableToPromiseMap.get(cartLine.getProductId()) < cartLine.getQuantity()) && (shoppingCart.getOrderType() == 'SALES_ORDER') && product.productTypeId != "DIGITAL_GOOD" && product.productTypeId != "MARKETING_PKG_AUTO" && product.productTypeId != "MARKETING_PKG_PICK">
                         <#assign backOrdered = cartLine.getQuantity() - availableToPromiseMap.get(cartLine.getProductId())/>
-                        <span style="color: red;">[${backOrdered?if_exists}&nbsp;${uiLabelMap.OrderBackOrdered}]</span>
+                        <span style="color: red;">[${backOrdered!}&nbsp;${uiLabelMap.OrderBackOrdered}]</span>
                       </#if>
                     </#if>
                   </div>
@@ -169,7 +169,7 @@
               </tr>
             </#if>
             <#if shoppingCart.getOrderType() == "PURCHASE_ORDER">
-              <#assign currentOrderItemType = cartLine.getItemTypeGenericValue()?if_exists/>
+              <#assign currentOrderItemType = cartLine.getItemTypeGenericValue()!/>
                 <tr>
                   <td>
                     <div>
@@ -211,17 +211,17 @@
             </tr>
 
             <#-- Show Associated Products (not for Variants) -->
-            <#if cartLine.getProductId()?exists>
-              <#assign itemProductAssocList = cartLine.getProduct().getRelated("MainProductAssoc", null, Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", "sequenceNum"), false)?if_exists/>
+            <#if cartLine.getProductId()??>
+              <#assign itemProductAssocList = cartLine.getProduct().getRelated("MainProductAssoc", null, Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", "sequenceNum"), false)!/>
             </#if>
-            <#if itemProductAssocList?exists && itemProductAssocList?has_content>
+            <#if itemProductAssocList?? && itemProductAssocList?has_content>
               <tr><td colspan="8"><hr /></td></tr>
               <tr>
                 <td>${uiLabelMap.OrderAssociatedProducts}</td>
-                <td><a href="<@ofbizUrl>LookupAssociatedProducts?productId=${cartLine.getProductId()?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderQuickLookup}</a></td>
+                <td><a href="<@ofbizUrl>LookupAssociatedProducts?productId=${cartLine.getProductId()!}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderQuickLookup}</a></td>
               </tr>
               <#assign relatedProdCount = 0/>
-              <#list itemProductAssocList?if_exists as itemProductAssoc>
+              <#list itemProductAssocList! as itemProductAssoc>
                 <tr>
                   <#if "PRODUCT_VARIANT" != itemProductAssoc.productAssocTypeId>
                     <#assign relatedProdCount = relatedProdCount + 1/>
@@ -238,7 +238,7 @@
                   <div>${uiLabelMap.OrderChooseFollowingForGift}:</div>
                   <#list cartLine.getAlternativeOptionProductIds() as alternativeOptionProductId>
                     <#assign alternativeOptionProduct = delegator.findOne("Product", Static["org.ofbiz.base.util.UtilMisc"].toMap("productId", alternativeOptionProductId), true)>
-                    <#assign alternativeOptionName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale, dispatcher)?if_exists>
+                    <#assign alternativeOptionName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale, dispatcher)!>
                     <div><a href="<@ofbizUrl>setDesiredAlternateGwpProductId?alternateGwpProductId=${alternativeOptionProductId}&amp;alternateGwpLine=${cartLineIndex}</@ofbizUrl>" class="buttontext">Select: ${alternativeOptionName?default(alternativeOptionProductId)}</a></div>
                   </#list>
                 </#if>
@@ -247,13 +247,13 @@
             <#-- gift wrap option -->
             <#assign showNoGiftWrapOptions = false>
             <td nowrap="nowrap" align="right">
-              <#assign giftWrapOption = lineOptionalFeatures.GIFT_WRAP?if_exists>
-              <#assign selectedOption = cartLine.getAdditionalProductFeatureAndAppl("GIFT_WRAP")?if_exists>
+              <#assign giftWrapOption = lineOptionalFeatures.GIFT_WRAP!>
+              <#assign selectedOption = cartLine.getAdditionalProductFeatureAndAppl("GIFT_WRAP")!>
               <#if giftWrapOption?has_content>
                 <select name="option^GIFT_WRAP_${cartLineIndex}" onchange="javascript:document.cartform.submit()">
                   <option value="NO^">${uiLabelMap.OrderNoGiftWrap}</option>
                   <#list giftWrapOption as option>
-                    <option value="${option.productFeatureId}" <#if ((selectedOption.productFeatureId)?exists && selectedOption.productFeatureId == option.productFeatureId)>selected="selected"</#if>>${option.description} : <@ofbizCurrency amount=option.amount?default(0) isoCode=currencyUomId/></option>
+                    <option value="${option.productFeatureId}" <#if ((selectedOption.productFeatureId)?? && selectedOption.productFeatureId == option.productFeatureId)>selected="selected"</#if>>${option.description} : <@ofbizCurrency amount=option.amount?default(0) isoCode=currencyUomId/></option>
                   </#list>
                 </select>
               <#elseif showNoGiftWrapOptions>
@@ -267,7 +267,7 @@
             <#-- end gift wrap option -->
             <td nowrap="nowrap" align="center">
               <div>
-                <#if cartLine.getIsPromo() || cartLine.getShoppingListId()?exists>
+                <#if cartLine.getIsPromo() || cartLine.getShoppingListId()??>
                     ${cartLine.getQuantity()?string.number}
                 <#else>
                     <input size="6" type="text" name="update_${cartLineIndex}" value="${cartLine.getQuantity()?string.number}"/>
@@ -309,7 +309,7 @@
               <tr>
                 <td colspan="4" nowrap="nowrap" align="right">
                   <div>
-                    <i>${uiLabelMap.OrderAdjustment}</i> - ${adjustmentType.get("description",locale)?if_exists}
+                    <i>${uiLabelMap.OrderAdjustment}</i> - ${adjustmentType.get("description",locale)!}
                     <#if cartAdjustment.productPromoId?has_content><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${cartAdjustment.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></#if>:
                   </div>
                 </td>
Index: applications/order/webapp/ordermgr/entry/cart/promotiondetails.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promotiondetails.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promotiondetails.ftl	(working copy)
@@ -22,7 +22,7 @@
         <div class="h3">${uiLabelMap.OrderPromotionDetails}:</div>
     </div>
     <div class="screenlet-body">
-        <div>${StringUtil.wrapString(productPromo.promoText?if_exists)}</div>
-        <div>${uiLabelMap.EcommerceGeneratedDescription}  ${promoAutoDescription?if_exists}</div>
+        <div>${StringUtil.wrapString(productPromo.promoText!)}</div>
+        <div>${uiLabelMap.EcommerceGeneratedDescription}  ${promoAutoDescription!}</div>
     </div>
 </div>
Index: applications/order/webapp/ordermgr/entry/cart/promotioncategories.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/cart/promotioncategories.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/cart/promotioncategories.ftl	(working copy)
@@ -28,7 +28,7 @@
             <#assign productCategory = productPromoCategory.getRelatedOne("ProductCategory", true)>
             <div>
                 -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
-                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
+                <#if productPromoCategory.includeSubCategories! = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
             </div>
           </#list>
         </#if>
@@ -38,7 +38,7 @@
             <#assign productCategory = productPromoCategory.getRelatedOne("ProductCategory", true)>
             <div>
                 -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
-                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
+                <#if productPromoCategory.includeSubCategories! = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
             </div>
           </#list>
         </#if>
@@ -48,7 +48,7 @@
             <#assign productCategory = productPromoCategory.getRelatedOne("ProductCategory", true)>
             <div>
                 -&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
-                <#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
+                <#if productPromoCategory.includeSubCategories! = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
             </div>
           </#list>
         </#if>
Index: applications/order/webapp/ordermgr/entry/checkoutshippingaddress.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/checkoutshippingaddress.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/checkoutshippingaddress.ftl	(working copy)
@@ -53,7 +53,7 @@
 
 //]]>
 </script>
-<#assign cart = shoppingCart?if_exists/>
+<#assign cart = shoppingCart!/>
 <form method="post" name="checkoutInfoForm" style="margin:0;">
     <input type="hidden" name="checkoutpage" value="shippingaddress"/>
     <div class="screenlet" style="height: 100%;">
@@ -100,7 +100,7 @@
               </table>
              <div>&nbsp;${uiLabelMap.AccountingAgreementInformation}</div>
                <table>
-                 <#if agreements?exists>
+                 <#if agreements??>
                    <#if agreements.size()!=1>
                      <tr>
                        <td>&nbsp;</td>
@@ -114,7 +114,7 @@
                          <div class='tabletext' valign='top'>
                            <select name="agreementId">
                              <#list agreements as agreement>
-                               <option value='${agreement.agreementId?if_exists}'>${agreement.agreementId} - ${agreement.description?if_exists}</option>
+                               <option value='${agreement.agreementId!}'>${agreement.agreementId} - ${agreement.description!}</option>
                              </#list>
                            </select>
                          </div>
@@ -122,7 +122,7 @@
                      </tr>
                    <#else>
                      <#list agreements as agreement>
-                        <input type="radio" name="agreementId" value="${agreement.agreementId?if_exists}"<#if checkThisAddress> checked="checked"</#if> />${agreement.description?if_exists} will be used for this order.
+                        <input type="radio" name="agreementId" value="${agreement.agreementId!}"<#if checkThisAddress> checked="checked"</#if> />${agreement.description!} will be used for this order.
                      </#list>
                    </#if>
                  </#if>
Index: applications/order/webapp/ordermgr/entry/SplitShip.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/SplitShip.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/SplitShip.ftl	(working copy)
@@ -83,7 +83,7 @@
                         </#list>
                       </select>
                     </div>
-                    <#if cart.getShipmentMethodTypeId(groupIdx)?exists>
+                    <#if cart.getShipmentMethodTypeId(groupIdx)??>
                       <#assign selectedShippingMethod = cart.getShipmentMethodTypeId(groupIdx) + "@" + cart.getCarrierPartyId(groupIdx)>
                     <#else>
                       <#assign selectedShippingMethod = "">
@@ -95,9 +95,9 @@
                         <#assign shippingMethod = carrierShipmentMethod.shipmentMethodTypeId + "@" + carrierShipmentMethod.partyId>
                         <option value="${shippingMethod}" <#if (shippingMethod == selectedShippingMethod)>selected="selected"</#if>>
                           <#if carrierShipmentMethod.partyId != "_NA_">
-                            ${carrierShipmentMethod.partyId?if_exists}&nbsp;
+                            ${carrierShipmentMethod.partyId!}&nbsp;
                           </#if>
-                          ${carrierShipmentMethod.description?if_exists}
+                          ${carrierShipmentMethod.description!}
                           <#if shippingEst?has_content>
                             &nbsp;-&nbsp;
                             <#if (shippingEst > -1)>
@@ -111,7 +111,7 @@
                     </select>
 
                     <h2>${uiLabelMap.OrderSpecialInstructions}</h2>
-                    <textarea class='textAreaBox' cols="35" rows="3" wrap="hard" name="shippingInstructions">${cart.getShippingInstructions(groupIdx)?if_exists}</textarea>
+                    <textarea class='textAreaBox' cols="35" rows="3" wrap="hard" name="shippingInstructions">${cart.getShippingInstructions(groupIdx)!}</textarea>
                   </td>
                   <td>
                     <div>
@@ -132,7 +132,7 @@
                     </div>
 
                     <h2>${uiLabelMap.OrderGiftMessage}</h2>
-                    <textarea class='textAreaBox' cols="30" rows="3" wrap="hard" name="giftMessage">${cart.getGiftMessage(groupIdx)?if_exists}</textarea>
+                    <textarea class='textAreaBox' cols="30" rows="3" wrap="hard" name="giftMessage">${cart.getGiftMessage(groupIdx)!}</textarea>
                   </td>
                   <td><input type="button" class="smallSubmit" value="${uiLabelMap.CommonSave}" onclick="javascript:submitForm(document.editgroupform${groupIdx}, 'SV', null);"/></td>
                 </tr>
@@ -173,19 +173,19 @@
                 <input type="hidden" name="itemIndex" value="${cartLineIndex}"/>
                 <td>
                   <div class="tabletext">
-                    <#if cartLine.getProductId()?exists>
+                    <#if cartLine.getProductId()??>
                       <#-- product item -->
                       <#-- start code to display a small image of the product -->
-                      <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists>
+                      <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)!>
                       <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
                       <#if smallImageUrl?string?has_content>
                         <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>">
-                          <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" alt="" />
+                          <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" alt="" />
                         </a>
                       </#if>
                       <#-- end code to display a small image of the product -->
                       <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" class="buttontext">${cartLine.getProductId()} -
-                      ${cartLine.getName()?if_exists}</a> : ${cartLine.getDescription()?if_exists}
+                      ${cartLine.getName()!}</a> : ${cartLine.getDescription()!}
 
                       <#-- display the registered ship groups and quantity -->
                       <#assign itemShipGroups = cart.getShipGroups(cartLine)>
@@ -205,7 +205,7 @@
 
                     <#else>
                       <#-- this is a non-product item -->
-                      <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists}
+                      <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!}
                     </#if>
                   </div>
 
Index: applications/order/webapp/ordermgr/entry/editShipAddress.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/editShipAddress.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/editShipAddress.ftl	(working copy)
@@ -25,7 +25,7 @@
           <td>
               <#if postalAddress?has_content>
               <form method="post" action="<@ofbizUrl>updatePostalAddressOrderEntry</@ofbizUrl>" name="checkoutsetupform">
-                <input type="hidden" name="contactMechId" value="${shipContactMechId?if_exists}"/>
+                <input type="hidden" name="contactMechId" value="${shipContactMechId!}"/>
               <#else>
               <form method="post" action="<@ofbizUrl>createPostalAddress</@ofbizUrl>" name="checkoutsetupform">
                 <input type="hidden" name="contactMechTypeId" value="POSTAL_ADDRESS"/>
@@ -33,14 +33,14 @@
               </#if>
                 <input type="hidden" name="partyId" value="${cart.getPartyId()?default("_NA_")}"/>
                 <input type="hidden" name="finalizeMode" value="ship"/>
-                <#if orderPerson?exists && orderPerson?has_content>
+                <#if orderPerson?? && orderPerson?has_content>
                   <#assign toName = "">
                   <#if orderPerson.personalTitle?has_content><#assign toName = orderPerson.personalTitle + " "></#if>
                   <#assign toName = toName + orderPerson.firstName + " ">
                   <#if orderPerson.middleName?has_content><#assign toName = toName + orderPerson.middleName + " "></#if>
                   <#assign toName = toName + orderPerson.lastName>
                   <#if orderPerson.suffix?has_content><#assign toName = toName + " " + orderPerson.suffix></#if>
-                <#elseif parameters.toName?exists>
+                <#elseif parameters.toName??>
                   <#assign toName = parameters.toName>
                 <#else>
                   <#assign toName = "">
@@ -57,28 +57,28 @@
                     <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAttentionName}</div></td>
                     <td width="5">&nbsp;</td>
                     <td width="74%">
-                      <input type="text" size="30" maxlength="60" name="attnName" value="${parameters.attnName?if_exists}"/>
+                      <input type="text" size="30" maxlength="60" name="attnName" value="${parameters.attnName!}"/>
                     </td>
                   </tr>
                   <tr>
                     <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 1</div></td>
                     <td width="5">&nbsp;</td>
                     <td width="74%">
-                      <input type="text" size="30" maxlength="30" name="address1" value="${parameters.address1?if_exists}"/>
+                      <input type="text" size="30" maxlength="30" name="address1" value="${parameters.address1!}"/>
                     *</td>
                   </tr>
                   <tr>
                     <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 2</div></td>
                     <td width="5">&nbsp;</td>
                     <td width="74%">
-                      <input type="text" size="30" maxlength="30" name="address2" value="${parameters.address2?if_exists}"/>
+                      <input type="text" size="30" maxlength="30" name="address2" value="${parameters.address2!}"/>
                     </td>
                   </tr>
                   <tr>
                     <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCity}</div></td>
                     <td width="5">&nbsp;</td>
                     <td width="74%">
-                      <input type="text" size="30" maxlength="30" name="city" value="${parameters.city?if_exists}"/>
+                      <input type="text" size="30" maxlength="30" name="city" value="${parameters.city!}"/>
                     *</td>
                   </tr>
                   <tr>
@@ -95,7 +95,7 @@
                     <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonZipPostalCode}</div></td>
                     <td width="5">&nbsp;</td>
                     <td width="74%">
-                      <input type="text" size="12" maxlength="10" name="postalCode" value="${parameters.postalCode?if_exists}"/>
+                      <input type="text" size="12" maxlength="10" name="postalCode" value="${parameters.postalCode!}"/>
                     *</td>
                   </tr>
                   <tr>
Index: applications/order/webapp/ordermgr/entry/checkoutoptions.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/checkoutoptions.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/checkoutoptions.ftl	(working copy)
@@ -177,16 +177,16 @@
                       </td>
                       <td valign="top">
                         <div>
-                          <#if shoppingCart.getShippingContactMechId()?exists>
+                          <#if shoppingCart.getShippingContactMechId()??>
                             <#assign shippingEst = shippingEstWpr.getShippingEstimate(carrierShipmentMethod)?default(-1)>
                           </#if>
-                          <#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId?if_exists}&nbsp;</#if>${carrierShipmentMethod.description?if_exists}
+                          <#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId!}&nbsp;</#if>${carrierShipmentMethod.description!}
                           <#if shippingEst?has_content> - <#if (shippingEst > -1)><@ofbizCurrency amount=shippingEst isoCode=shoppingCart.getCurrency()/><#else>${uiLabelMap.OrderCalculatedOffline}</#if></#if>
                         </div>
                       </td>
                     </tr>
                   </#list>
-                  <#if !carrierShipmentMethodList?exists || carrierShipmentMethodList?size == 0>
+                  <#if !carrierShipmentMethodList?? || carrierShipmentMethodList?size == 0>
                     <tr>
                       <td width="1%" valign="top">
                         <input type="radio" name="shipping_method" value="Default" checked="checked"/>
@@ -231,11 +231,11 @@
                   </tr>
                   <tr>
                     <td colspan="2">
-                      <textarea cols="30" rows="3" wrap="hard" name="shipping_instructions">${shoppingCart.getShippingInstructions()?if_exists}</textarea>
+                      <textarea cols="30" rows="3" wrap="hard" name="shipping_instructions">${shoppingCart.getShippingInstructions()!}</textarea>
                     </td>
                   </tr>
                  <#if shipping == true>
-                  <#if productStore.showCheckoutGiftOptions?if_exists != "N" && giftEnable?if_exists != "N">
+                  <#if productStore.showCheckoutGiftOptions! != "N" && giftEnable! != "N">
                   <tr><td colspan="2"><hr /></td></tr>
                   <tr>
                     <td colspan="2">
@@ -254,7 +254,7 @@
                   </tr>
                   <tr>
                     <td colspan="2">
-                      <textarea cols="30" rows="3" wrap="hard" name="gift_message">${shoppingCart.getGiftMessage()?if_exists}</textarea>
+                      <textarea cols="30" rows="3" wrap="hard" name="gift_message">${shoppingCart.getGiftMessage()!}</textarea>
                     </td>
                   </tr>
                   <#else/>
@@ -273,15 +273,15 @@
                       <div>
                       <b>
                       <#list emailList as email>
-                        ${email.infoString?if_exists}<#if email_has_next>,</#if>
+                        ${email.infoString!}<#if email_has_next>,</#if>
                       </#list>
                       </b>
                       </div>
-                      <div>${uiLabelMap.OrderUpdateEmailAddress} <a href="<#if customerDetailLink?exists>${customerDetailLink}${shoppingCart.getPartyId()}" target="partymgr"
+                      <div>${uiLabelMap.OrderUpdateEmailAddress} <a href="<#if customerDetailLink??>${customerDetailLink}${shoppingCart.getPartyId()}" target="partymgr"
                         <#else><@ofbizUrl>viewprofile?DONE_PAGE=quickcheckout</@ofbizUrl>"</#if> class="buttontext">${uiLabelMap.PartyProfile}</a>.</div>
                       <br />
                       <div>${uiLabelMap.OrderCommaSeperatedEmailAddresses}:</div>
-                      <input type="text" size="30" name="order_additional_emails" value="${shoppingCart.getOrderAdditionalEmails()?if_exists}"/>
+                      <input type="text" size="30" name="order_additional_emails" value="${shoppingCart.getOrderAdditionalEmails()!}"/>
                     </td>
                   </tr>
                 </table>
@@ -302,10 +302,10 @@
                   <tr>
                     <td colspan="2">
                       <span>${uiLabelMap.CommonAdd}:</span>
-                      <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
+                      <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD??>
                         <a href="javascript:submitForm(document.checkoutInfoForm, 'NC', '');" class="buttontext">${uiLabelMap.AccountingCreditCard}</a>
                       </#if>
-                      <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>
+                      <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT??>
                         <a href="javascript:submitForm(document.checkoutInfoForm, 'NE', '');" class="buttontext">${uiLabelMap.AccountingEFTAccount}</a>
                       </#if>
                     </td>
@@ -317,7 +317,7 @@
                     </td>
                   </tr>
                   <tr><td colspan="2"><hr /></td></tr>
-                  <#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE?exists>
+                  <#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE??>
                   <tr>
                     <td width="1%">
                       <input type="radio" name="checkOutPaymentId" value="EXT_OFFLINE" <#if "EXT_OFFLINE" == checkOutPaymentId>checked="checked"</#if>/>
@@ -327,7 +327,7 @@
                     </td>
                   </tr>
                   </#if>
-                  <#if productStorePaymentMethodTypeIdMap.EXT_COD?exists>
+                  <#if productStorePaymentMethodTypeIdMap.EXT_COD??>
                   <tr>
                     <td width="1%">
                       <input type="radio" name="checkOutPaymentId" value="EXT_COD" <#if "EXT_COD" == checkOutPaymentId>checked="checked"</#if>/>
@@ -337,7 +337,7 @@
                     </td>
                   </tr>
                   </#if>
-                  <#if productStorePaymentMethodTypeIdMap.EXT_WORLDPAY?exists>
+                  <#if productStorePaymentMethodTypeIdMap.EXT_WORLDPAY??>
                   <tr>
                     <td width="1%">
                       <input type="radio" name="checkOutPaymentId" value="EXT_WORLDPAY" <#if "EXT_WORLDPAY" == checkOutPaymentId>checked="checked"</#if>/>
@@ -347,7 +347,7 @@
                     </td>
                   </tr>
                   </#if>
-                  <#if productStorePaymentMethodTypeIdMap.EXT_PAYPAL?exists>
+                  <#if productStorePaymentMethodTypeIdMap.EXT_PAYPAL??>
                   <tr>
                     <td width="1%">
                       <input type="radio" name="checkOutPaymentId" value="EXT_PAYPAL" <#if "EXT_PAYPAL" == checkOutPaymentId>checked="checked"</#if>/>
@@ -382,7 +382,7 @@
                   <#else>
                   <#list paymentMethodList as paymentMethod>
                     <#if paymentMethod.paymentMethodTypeId == "CREDIT_CARD">
-                     <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
+                     <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD??>
                       <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false)>
                       <tr>
                         <td width="1%">
@@ -397,21 +397,21 @@
                       </tr>
                      </#if>
                     <#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT">
-                     <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>
+                     <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT??>
                       <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false)>
                       <tr>
                         <td width="1%">
                           <input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if shoppingCart.isPaymentSelected(paymentMethod.paymentMethodId)>checked="checked"</#if>/>
                         </td>
                         <td width="50%">
-                          <span>${uiLabelMap.AccountingEFTAccount}:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</span>
+                          <span>${uiLabelMap.AccountingEFTAccount}:&nbsp;${eftAccount.bankName!}: ${eftAccount.accountNumber!}</span>
                           <a href="javascript:submitForm(document.checkoutInfoForm, 'EE', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>
                           <#if paymentMethod.description?has_content><br /><span>(${paymentMethod.description})</span></#if>
                         </td>
                       </tr>
                      </#if>
                     <#elseif paymentMethod.paymentMethodTypeId == "GIFT_CARD">
-                     <#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>
+                     <#if productStorePaymentMethodTypeIdMap.GIFT_CARD??>
                       <#assign giftCard = paymentMethod.getRelatedOne("GiftCard", false)>
 
                       <#if giftCard?has_content && giftCard.cardNumber?has_content>
@@ -446,7 +446,7 @@
                   </#if>
 
                 <#-- special billing account functionality to allow use w/ a payment method -->
-                <#if productStorePaymentMethodTypeIdMap.EXT_BILLACT?exists>
+                <#if productStorePaymentMethodTypeIdMap.EXT_BILLACT??>
                   <#if billingAccountList?has_content>
                     <tr><td colspan="2"><hr /></td></tr>
                     <tr>
@@ -476,7 +476,7 @@
                 </#if>
                 <#-- end of special billing account functionality -->
 
-                <#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>
+                <#if productStorePaymentMethodTypeIdMap.GIFT_CARD??>
                   <tr><td colspan="2"><hr /></td></tr>
                   <tr>
                     <td width="1%">
@@ -491,7 +491,7 @@
                       <div>${uiLabelMap.AccountingNumber}</div>
                     </td>
                     <td width="50%">
-                      <input type="text" size="15" name="giftCardNumber" value="${(requestParameters.giftCardNumber)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
+                      <input type="text" size="15" name="giftCardNumber" value="${(requestParameters.giftCardNumber)!}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
                     </td>
                   </tr>
                   <#if shoppingCart.isPinRequiredForGC(delegator)>
@@ -500,7 +500,7 @@
                       <div>${uiLabelMap.AccountingPIN}</div>
                     </td>
                     <td width="50%">
-                      <input type="text" size="10" name="giftCardPin" value="${(requestParameters.giftCardPin)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
+                      <input type="text" size="10" name="giftCardPin" value="${(requestParameters.giftCardPin)!}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
                     </td>
                   </tr>
                   </#if>
@@ -509,7 +509,7 @@
                       <div>${uiLabelMap.AccountingAmount}</div>
                     </td>
                     <td width="50%">
-                      <input type="text" size="6" name="giftCardAmount" value="${(requestParameters.giftCardAmount)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
+                      <input type="text" size="6" name="giftCardAmount" value="${(requestParameters.giftCardAmount)!}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
                     </td>
                   </tr>
                 </#if>
Index: applications/order/webapp/ordermgr/entry/additionalPartyListing.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/additionalPartyListing.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/additionalPartyListing.ftl	(working copy)
@@ -38,16 +38,16 @@
               <td>
                 <div>
                   <#if partyData[party].type == "person">
-                    ${partyData[party].firstName?if_exists}
+                    ${partyData[party].firstName!}
                   <#else>
-                    ${partyData[party].groupName?if_exists}
+                    ${partyData[party].groupName!}
                   </#if>
                 </div>
               </td>
               <td>
                 <div>
                   <#if partyData[party].type == "person">
-                    ${partyData[party].lastName?if_exists}
+                    ${partyData[party].lastName!}
                   </#if>
                 </div>
               </td>
Index: applications/order/webapp/ordermgr/entry/checkinits.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/checkinits.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/checkinits.ftl	(working copy)
@@ -20,7 +20,7 @@
 <#assign shoppingCartOrderType = "">
 <#assign shoppingCartProductStore = "NA">
 <#assign shoppingCartChannelType = "">
-<#if shoppingCart?exists>
+<#if shoppingCart??>
   <#assign shoppingCartOrderType = shoppingCart.getOrderType()>
   <#assign shoppingCartProductStore = shoppingCart.getProductStoreId()?default("NA")>
   <#assign shoppingCartChannelType = shoppingCart.getChannelType()?default("")>
@@ -36,7 +36,7 @@
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
-      <li class="h3">${uiLabelMap.OrderSalesOrder}<#if shoppingCart?exists>&nbsp;${uiLabelMap.OrderInProgress}</#if></li>
+      <li class="h3">${uiLabelMap.OrderSalesOrder}<#if shoppingCart??>&nbsp;${uiLabelMap.OrderInProgress}</#if></li>
       <li><a href="javascript:document.salesentryform.submit();">${uiLabelMap.CommonContinue}</a></li>
       <li><a href="/partymgr/control/findparty?${StringUtil.wrapString(externalKeyParam)}">${uiLabelMap.PartyFindParty}</a></li>
     </ul>
@@ -44,7 +44,7 @@
   </div>
   <div class="screenlet-body">
       <form method="post" name="salesentryform" action="<@ofbizUrl>initorderentry</@ofbizUrl>">
-      <input type="hidden" name="originOrderId" value="${parameters.originOrderId?if_exists}"/>
+      <input type="hidden" name="originOrderId" value="${parameters.originOrderId!}"/>
       <input type="hidden" name="finalizeMode" value="type"/>
       <input type="hidden" name="orderMode" value="SALES_ORDER"/>
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
@@ -54,17 +54,17 @@
           <td >&nbsp;</td>
           <td valign='middle'>
             <div class='tabletext'>
-              <select name="productStoreId"<#if sessionAttributes.orderMode?exists> disabled</#if>>
+              <select name="productStoreId"<#if sessionAttributes.orderMode??> disabled</#if>>
                 <#assign currentStore = shoppingCartProductStore>
                 <#if defaultProductStore?has_content>
-                   <option value="${defaultProductStore.productStoreId}">${defaultProductStore.storeName?if_exists}</option>
+                   <option value="${defaultProductStore.productStoreId}">${defaultProductStore.storeName!}</option>
                    <option value="${defaultProductStore.productStoreId}">----</option>
                 </#if>
                 <#list productStores as productStore>
-                  <option value="${productStore.productStoreId}"<#if productStore.productStoreId == currentStore> selected="selected"</#if>>${productStore.storeName?if_exists}</option>
+                  <option value="${productStore.productStoreId}"<#if productStore.productStoreId == currentStore> selected="selected"</#if>>${productStore.storeName!}</option>
                 </#list>
               </select>
-              <#if sessionAttributes.orderMode?exists>${uiLabelMap.OrderCannotBeChanged}</#if>
+              <#if sessionAttributes.orderMode??>${uiLabelMap.OrderCannotBeChanged}</#if>
             </div>
           </td>
         </tr>
@@ -78,7 +78,7 @@
               <select name="salesChannelEnumId">
                 <#assign currentChannel = shoppingCartChannelType>
                 <#if defaultSalesChannel?has_content>
-                   <option value="${defaultSalesChannel.enumId}">${defaultSalesChannel.description?if_exists}</option>
+                   <option value="${defaultSalesChannel.enumId}">${defaultSalesChannel.description!}</option>
                    <option value="${defaultSalesChannel.enumId}"> ---- </option>
                 </#if>
                 <option value="">${uiLabelMap.OrderNoChannel}</option>
@@ -90,10 +90,10 @@
           </td>
         </tr>
         <tr><td colspan="4">&nbsp;</td></tr>
-        <#if partyId?exists>
+        <#if partyId??>
           <#assign thisPartyId = partyId>
         <#else>
-          <#assign thisPartyId = requestParameters.partyId?if_exists>
+          <#assign thisPartyId = requestParameters.partyId!>
         </#if>
         <tr>
           <td>&nbsp;</td>
@@ -111,7 +111,7 @@
           <td>&nbsp;</td>
           <td valign='middle'>
             <div class='tabletext'>
-              <@htmlTemplate.lookupField value='${thisPartyId?if_exists}' formName="salesentryform" name="partyId" id="partyId" fieldFormName="LookupCustomerName"/>
+              <@htmlTemplate.lookupField value='${thisPartyId!}' formName="salesentryform" name="partyId" id="partyId" fieldFormName="LookupCustomerName"/>
             </div>
           </td>
         </tr>
@@ -128,7 +128,7 @@
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <ul>
-        <li class="h3">${uiLabelMap.OrderPurchaseOrder}<#if shoppingCart?exists>&nbsp;${uiLabelMap.OrderInProgress}</#if></li>
+        <li class="h3">${uiLabelMap.OrderPurchaseOrder}<#if shoppingCart??>&nbsp;${uiLabelMap.OrderInProgress}</#if></li>
         <li><a href="javascript:document.poentryform.submit();">${uiLabelMap.CommonContinue}</a></li>
         <li><a href="/partymgr/control/findparty?${StringUtil.wrapString(externalKeyParam)}">${uiLabelMap.PartyFindParty}</a></li>
       </ul>
@@ -139,10 +139,10 @@
       <input type='hidden' name='finalizeMode' value='type'/>
       <input type='hidden' name='orderMode' value='PURCHASE_ORDER'/>
       <table width="100%" border='0' cellspacing='0' cellpadding='0'>
-        <#if partyId?exists>
+        <#if partyId??>
           <#assign thisPartyId = partyId>
         <#else>
-          <#assign thisPartyId = requestParameters.partyId?if_exists>
+          <#assign thisPartyId = requestParameters.partyId!>
         </#if>
         <tr>
           <td>&nbsp;</td>
Index: applications/order/webapp/ordermgr/entry/shipsettings.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/shipsettings.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/shipsettings.ftl	(working copy)
@@ -21,7 +21,7 @@
 
 <#-- Purchase Orders -->
 
-<#if facilityMaps?exists>
+<#if facilityMaps??>
             <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform">
             <input type="hidden" name="finalizeMode" value="ship"/>
             <#if (cart.getShipGroupSize() > 1)>
@@ -49,7 +49,7 @@
                 <#assign facilityContactMechList = facilityMap.facilityContactMechList>
                 <tr>
                   <td colspan="4">
-                    <div>${uiLabelMap.FacilityFacility}: ${facility.facilityName?if_exists} [${facility.facilityId}]</div>
+                    <div>${uiLabelMap.FacilityFacility}: ${facility.facilityName!} [${facility.facilityId}]</div>
                   </td>
                 </tr>
                 <tr><td colspan="4"><hr /></td></tr>
@@ -58,7 +58,7 @@
 
                 <#if facilityContactMechList?has_content>
                 <#list facilityContactMechList as shippingContactMech>
-                  <#if shippingContactMech.postalAddress?exists>
+                  <#if shippingContactMech.postalAddress??>
                   <#assign shippingAddress = shippingContactMech.postalAddress>
                   <tr>
                     <td valign="top" nowrap="nowrap">
@@ -127,9 +127,9 @@
 <#list 1..cart.getShipGroupSize() as currIndex>
 <#assign shipGroupIndex = currIndex - 1>
 
-<#assign currShipContactMechId = cart.getShippingContactMechId(shipGroupIndex)?if_exists>
-<#assign supplierPartyId = cart.getSupplierPartyId(shipGroupIndex)?if_exists>
-<#assign facilityId = cart.getShipGroupFacilityId(shipGroupIndex)?if_exists>
+<#assign currShipContactMechId = cart.getShippingContactMechId(shipGroupIndex)!>
+<#assign supplierPartyId = cart.getSupplierPartyId(shipGroupIndex)!>
+<#assign facilityId = cart.getShipGroupFacilityId(shipGroupIndex)!>
             <hr />
             <table width="100%" border="0" cellpadding="1" cellspacing="0">
               <tr>
@@ -144,7 +144,7 @@
                       <select name="${shipGroupIndex?default("0")}_supplierPartyId">
                         <option value=""></option>
                         <#list suppliers as supplier>
-                          <option value="${supplier.partyId}"<#if supplierPartyId?exists><#if supplier.partyId == supplierPartyId> selected="selected"</#if></#if>>${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(supplier, true)}</option>
+                          <option value="${supplier.partyId}"<#if supplierPartyId??><#if supplier.partyId == supplierPartyId> selected="selected"</#if></#if>>${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(supplier, true)}</option>
                         </#list>
                       </select>
                       ${uiLabelMap.ProductReserveInventoryFromFacility}:
@@ -152,7 +152,7 @@
                         <option value=""></option>
                         <#list productStoreFacilities as productStoreFacility>
                           <#assign facility = productStoreFacility.getRelatedOne("Facility", false)>
-                          <option value="${productStoreFacility.facilityId}"<#if facilityId?exists><#if productStoreFacility.facilityId == facilityId> selected="selected"</#if></#if>>${facility.facilityName?if_exists} </option>
+                          <option value="${productStoreFacility.facilityId}"<#if facilityId??><#if productStoreFacility.facilityId == facilityId> selected="selected"</#if></#if>>${facility.facilityName!} </option>
                         </#list>
                       </select>
                     </div>
@@ -163,7 +163,7 @@
                 <#assign i = 0>
                 <#list shippingContactMechList as shippingContactMech>
                   <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)>
-                  <#if currShipContactMechId?exists && currShipContactMechId?has_content>
+                  <#if currShipContactMechId?? && currShipContactMechId?has_content>
                       <#if currShipContactMechId == shippingContactMech.contactMechId>
                         <#assign checkedValue = "checked='checked'">
                       <#else>
@@ -262,7 +262,7 @@
               <td>&nbsp;</td>
               <td valign='middle'>
                 <div class='tabletext'>
-                  <@htmlTemplate.lookupField value='${thisPartyId?if_exists}' formName="partyshipform" name="shipToPartyId" id="shipToPartyId" fieldFormName="LookupPartyName"/>
+                  <@htmlTemplate.lookupField value='${thisPartyId!}' formName="partyshipform" name="shipToPartyId" id="shipToPartyId" fieldFormName="LookupPartyName"/>
                   <input type="submit" class="smallSubmit" value="Continue" />
                 </div>
               </td>
Index: applications/order/webapp/ordermgr/entry/catalog/keywordsearch.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/keywordsearch.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/keywordsearch.ftl	(working copy)
@@ -27,7 +27,7 @@
 <br />
 <div>${uiLabelMap.CommonSortedBy}: ${searchSortOrderString}</div>
 <br />
-<div><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(requestParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefineSearch}</a></div>
+<div><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(requestParameters.SEARCH_CATEGORY_ID)!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefineSearch}</a></div>
 
 <#if !productIds?has_content>
   <h2>&nbsp;${uiLabelMap.ProductNoResultsFound}.</h2>
Index: applications/order/webapp/ordermgr/entry/catalog/compareproducts.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/compareproducts.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/compareproducts.ftl	(working copy)
@@ -31,41 +31,41 @@
         <#assign smallImageUrl = "/images/defaultImage.jpg"/>
     </#if>
         <td style="width:${tdWidth?c}%;">
-            <img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/><br />
+            <img src="<@ofbizContentUrl>${contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/><br />
             ${productContentWrapper.get("PRODUCT_NAME")}<br />
-    <#if totalPrice?exists>
+    <#if totalPrice??>
             <div>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
     <#else>
-        <#if price.isSale?exists && price.isSale>
+        <#if price.isSale?? && price.isSale>
             <#assign priceStyle = "salePrice">
         <#else>
             <#assign priceStyle = "regularPrice">
         </#if>
 
         <#if (price.price?default(0) > 0 && product.requireAmount?default("N") == "N")>
-                <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+                <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
         </#if>
     </#if>
             <div class="productbuy">
     <#-- check to see if introductionDate hasn't passed yet -->
-    <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+    <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
                 <div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
     <#-- check to see if salesDiscontinuationDate has passed -->
-    <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)/>
+    <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)/>
                 <div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
     <#-- check to see if it is a rental item; will enter parameters on the detail screen-->
-    <#elseif product.productTypeId?if_exists == "ASSET_USAGE"/>
+    <#elseif product.productTypeId! == "ASSET_USAGE"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderMakeBooking}...</a>
-    <#elseif product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN"/>
+    <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderRent}...</a>
     <#-- check to see if it is an aggregated or configurable product; will enter parameters on the detail screen-->
-    <#elseif product.productTypeId?if_exists == "AGGREGATED" || product.productTypeId?if_exists == "AGGREGATED_SERVICE"/>
+    <#elseif product.productTypeId! == "AGGREGATED" || product.productTypeId! == "AGGREGATED_SERVICE"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderConfigure}...</a>
     <#-- check to see if the product is a virtual product -->
-    <#elseif product.isVirtual?exists && product.isVirtual == "Y"/>
+    <#elseif product.isVirtual?? && product.isVirtual == "Y"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
     <#-- check to see if the product requires an amount -->
-    <#elseif product.requireAmount?exists && product.requireAmount == "Y"/>
+    <#elseif product.requireAmount?? && product.requireAmount == "Y"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderChooseAmount}...</a>
     <#else/>
                 <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">additem</@ofbizUrl>" name="compareFormAdd${product_index}">
@@ -75,10 +75,10 @@
                 </form>
                 <a href="javascript:doPostViaParent('compareFormAdd${product_index}');" class="buttontext">${uiLabelMap.OrderAddToCart}</a>
 
-        <#if prodCatMem?exists && prodCatMem.quantity?exists && 0.00 < prodCatMem.quantity?double>
+        <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
                 <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">additem</@ofbizUrl>" name="compareFormAddDefault${product_index}" style="margin: 0;">
-                    <input type="hidden" name="add_product_id" value="${prodCatMem.productId?if_exists}"/>
-                    <input type="hidden" name="quantity" value="${prodCatMem.quantity?if_exists}"/>
+                    <input type="hidden" name="add_product_id" value="${prodCatMem.productId!}"/>
+                    <input type="hidden" name="quantity" value="${prodCatMem.quantity!}"/>
                     <input type="hidden" name="clearSearch" value="N"/>
                 </form>
                 <a href="javascript:doPostViaParent('compareFormAddDefault${product_index}');" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
@@ -119,7 +119,7 @@
         <td>${productFeatureType.get("description", locale)}</td>
     <#list compareList as product>
         <#assign productData = productDataMap[product.productId]/>
-        <#assign applMap = productData[productFeatureTypeId]?if_exists/>
+        <#assign applMap = productData[productFeatureTypeId]!/>
         <td>
         <#if applMap.STANDARD_FEATURE?has_content>
             <#assign features = applMap.STANDARD_FEATURE/>
@@ -152,24 +152,24 @@
         <td>
             <div class="productbuy">
     <#-- check to see if introductionDate hasn't passed yet -->
-    <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+    <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
                 <div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
     <#-- check to see if salesDiscontinuationDate has passed -->
-    <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)/>
+    <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)/>
                 <div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
     <#-- check to see if it is a rental item; will enter parameters on the detail screen-->
-    <#elseif product.productTypeId?if_exists == "ASSET_USAGE"/>
+    <#elseif product.productTypeId! == "ASSET_USAGE"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderMakeBooking}...</a>
-    <#elseif product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN"/>
+    <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderRent}...</a>
     <#-- check to see if it is an aggregated or configurable product; will enter parameters on the detail screen-->
-    <#elseif product.productTypeId?if_exists == "AGGREGATED" || product.productTypeId?if_exists == "AGGREGATED_SERVICE"/>
+    <#elseif product.productTypeId! == "AGGREGATED" || product.productTypeId! == "AGGREGATED_SERVICE"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderConfigure}...</a>
     <#-- check to see if the product is a virtual product -->
-    <#elseif product.isVirtual?exists && product.isVirtual == "Y"/>
+    <#elseif product.isVirtual?? && product.isVirtual == "Y"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
     <#-- check to see if the product requires an amount -->
-    <#elseif product.requireAmount?exists && product.requireAmount == "Y"/>
+    <#elseif product.requireAmount?? && product.requireAmount == "Y"/>
                 <a href="javascript:doGetViaParent('${productUrl}');" class="buttontext">${uiLabelMap.OrderChooseAmount}...</a>
     <#else/>
                 <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">additem</@ofbizUrl>" name="compare2FormAdd${product_index}">
@@ -178,7 +178,7 @@
                     <input type="hidden" name="clearSearch" value="N"/>
                 </form>
                 <a href="javascript:doPostViaParent('compare2FormAdd${product_index}');" class="buttontext">${uiLabelMap.OrderAddToCart}</a>
-        <#if prodCatMem?exists && prodCatMem.quantity?exists && 0.00 < prodCatMem.quantity?double>
+        <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
                 <a href="javascript:doPostViaParent('compareFormAddDefault${product_index}');" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
         </#if>
     </#if>
Index: applications/order/webapp/ordermgr/entry/catalog/category.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/category.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/category.ftl	(working copy)
@@ -21,7 +21,7 @@
 <#if productCategory?has_content>
   ${pages.get(detailTemplate)}
 <#else>
-  <center><h2>${uiLabelMap.ProductCategoryNotFoundForCategoryID} ${requestParameters.category_id?if_exists}!</h2></center>
+  <center><h2>${uiLabelMap.ProductCategoryNotFoundForCategoryID} ${requestParameters.category_id!}!</h2></center>
 </#if>
 
 
Index: applications/order/webapp/ordermgr/entry/catalog/product.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/product.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/product.ftl	(working copy)
@@ -20,6 +20,6 @@
 <#if requestAttributes.product?has_content>
   ${pages.get(requestAttributes.detailTemplate)}
 <#else>
-  <#assign productId = requestAttributes.productId?if_exists>
-  <center><h2>${uiLabelMap.ProductProductNotFound} ${productId?if_exists}!</h2></center>
+  <#assign productId = requestAttributes.productId!>
+  <center><h2>${uiLabelMap.ProductProductNotFound} ${productId!}!</h2></center>
 </#if>
Index: applications/order/webapp/ordermgr/entry/catalog/ProductUomDropDownOnly.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/ProductUomDropDownOnly.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/ProductUomDropDownOnly.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if product?exists && mainProducts?exists>
+<#if product?? && mainProducts??>
     <select name="parentProductId" onchange="javascript:displayProductVirtualVariantId(this.value);">
         <option value="">Select Unit Of Measure</option>
         <#list mainProducts as mainProduct>
Index: applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl	(working copy)
@@ -17,8 +17,8 @@
 under the License.
 -->
 <#-- variable setup and worker calls -->
-<#if (requestAttributes.topLevelList)?exists><#assign topLevelList = requestAttributes.topLevelList></#if>
-<#if (requestAttributes.curCategoryId)?exists><#assign curCategoryId = requestAttributes.curCategoryId></#if>
+<#if (requestAttributes.topLevelList)??><#assign topLevelList = requestAttributes.topLevelList></#if>
+<#if (requestAttributes.curCategoryId)??><#assign curCategoryId = requestAttributes.curCategoryId></#if>
 
 <#-- looping macro -->
 <#macro categoryList parentCategory category>
@@ -26,55 +26,55 @@
   <#--if parentCategory.productCategoryId != category.productCategoryId>
     <#local pStr = "/~pcategory=" + parentCategory.productCategoryId>
   </#if-->
-  <#if curCategoryId?exists && curCategoryId == category.productCategoryId>
+  <#if curCategoryId?? && curCategoryId == category.productCategoryId>
     <div class="browsecategorytext">
-     <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
-       <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-         <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
+     <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
+       <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+         <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
        <#else>
-         <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
+         <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
        </#if>
-     <#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
-       <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-         <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
+     <#elseif catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
+       <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+         <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
        <#else>
-         <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
+         <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
        </#if>
      <#else>
-      <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName?if_exists}</a>
+      <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName!}</a>
       <#else>
-        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName?default(category.description)?default(category.productCategoryId)}</a>
+        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName?default(category.description)?default(category.productCategoryId)}</a>
       </#if>
      </#if>
     </div>
   <#else>
     <div class="browsecategorytext">
      <#if catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
-      <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
+      <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
       <#else>
-        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
+        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
       </#if>
      <#elseif catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
-      <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
+      <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
       <#else>
-        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
+        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
       </#if>
      <#else>
-      <#if sessionAttributes.shoppingCart?exists && sessionAttributes.shoppingCart.isPurchaseOrder()>
-        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId?if_exists}/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName?if_exists}</a>
+      <#if sessionAttributes.shoppingCart?? && sessionAttributes.shoppingCart.isPurchaseOrder()>
+        <a href="<@ofbizUrl>keywordsearch/~SEARCH_CATEGORY_ID=${category.productCategoryId}/~SEARCH_SUPPLIER_ID=${sessionAttributes.shoppingCart.partyId!}/~category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName!}</a>
       <#else>
-        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName?default(category.description)?default(category.productCategoryId)}</a>
+        <a href="<@ofbizUrl>category?category_id=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName?default(category.description)?default(category.productCategoryId)}</a>
       </#if>
      </#if>
     </div>
   </#if>
 
-  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
+  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?? && curCategoryId == category.productCategoryId)>
     <#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
-    <#if subCatList?exists>
+    <#if subCatList??>
       <#list subCatList as subCat>
         <div class="browsecategorylist">
           <@categoryList parentCategory=category category=subCat/>
Index: applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl	(working copy)
@@ -30,22 +30,22 @@
         <input type="hidden" name="VIEW_SIZE" value="10" />
         <input type="hidden" name="PAGING" value="Y" />
         <div>
-          <input type="text" name="SEARCH_STRING" size="14" maxlength="50" value="${requestParameters.SEARCH_STRING?if_exists}" />
+          <input type="text" name="SEARCH_STRING" size="14" maxlength="50" value="${requestParameters.SEARCH_STRING!}" />
         </div>
         <#if 0 &lt; otherSearchProdCatalogCategories?size>
           <div>
             <select name="SEARCH_CATEGORY_ID" size="1">
-              <option value="${searchCategoryId?if_exists}">${uiLabelMap.ProductEntireCatalog}</option>
+              <option value="${searchCategoryId!}">${uiLabelMap.ProductEntireCatalog}</option>
               <#list otherSearchProdCatalogCategories as otherSearchProdCatalogCategory>
                 <#assign searchProductCategory = otherSearchProdCatalogCategory.getRelatedOne("ProductCategory", true)>
-                <#if searchProductCategory?exists>
+                <#if searchProductCategory??>
                   <option value="${searchProductCategory.productCategoryId}">${searchProductCategory.description?default("No Description " + searchProductCategory.productCategoryId)}</option>
                 </#if>
               </#list>
             </select>
           </div>
         <#else>
-          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}" />
+          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId!}" />
         </#if>
         <div>
           <input type="radio" name="SEARCH_OPERATOR" id="SEARCH_OPERATOR_OR" value="OR" <#if searchOperator == "OR">checked="checked"</#if> /><label for="SEARCH_OPERATOR_OR">${uiLabelMap.CommonAny}</label>
@@ -59,16 +59,16 @@
         <#if 0 &lt; otherSearchProdCatalogCategories?size>
             <label for="SEARCH_CATEGORY_ID">${uiLabelMap.ProductAdvancedSearchIn}: </label>
             <select name="SEARCH_CATEGORY_ID" id="SEARCH_CATEGORY_ID" size="1">
-              <option value="${searchCategoryId?if_exists}">${uiLabelMap.ProductEntireCatalog}</option>
+              <option value="${searchCategoryId!}">${uiLabelMap.ProductEntireCatalog}</option>
               <#list otherSearchProdCatalogCategories as otherSearchProdCatalogCategory>
                 <#assign searchProductCategory = otherSearchProdCatalogCategory.getRelatedOne("ProductCategory", true)>
-                <#if searchProductCategory?exists>
+                <#if searchProductCategory??>
                   <option value="${searchProductCategory.productCategoryId}">${searchProductCategory.description?default("No Description " + searchProductCategory.productCategoryId)}</option>
                 </#if>
               </#list>
             </select>
         <#else>
-          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}" />
+          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId!}" />
         </#if>
           <input type="submit" value="${uiLabelMap.ProductAdvancedSearch}" class="button" />
       </fieldset>
Index: applications/order/webapp/ordermgr/entry/catalog/quickadd.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/quickadd.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/quickadd.ftl	(working copy)
@@ -21,17 +21,17 @@
   <table border='0'  cellpadding='3' cellspacing='0'>
     <tr>
       <td>
-        <h2>${productCategory.categoryName?if_exists}</h2>
+        <h2>${productCategory.categoryName!}</h2>
       </td>
       <td align="right">
         <form name="choosequickaddform" method="post" action="<@ofbizUrl>quickadd</@ofbizUrl>" style='margin: 0;'>
           <select name='category_id'>
-            <option value='${productCategory.productCategoryId}'>${productCategory.categoryName?if_exists}</option>
+            <option value='${productCategory.productCategoryId}'>${productCategory.categoryName!}</option>
             <option value='${productCategory.productCategoryId}'>--</option>
             <#list quickAddCats as quickAddCatalogId>
               <#assign loopCategory = delegator.findOne("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", quickAddCatalogId), true)>
               <#if loopCategory?has_content>
-                <option value='${quickAddCatalogId}'>${loopCategory.categoryName?if_exists}</option>
+                <option value='${quickAddCatalogId}'>${loopCategory.categoryName!}</option>
               </#if>
             </#list>
           </select>
@@ -39,15 +39,15 @@
         </form>
       </td>
     </tr>
-    <#if productCategory.categoryImageUrl?exists || productCategory.longDescription?exists>
+    <#if productCategory.categoryImageUrl?? || productCategory.longDescription??>
       <tr><td colspan='2'><hr class='sepbar'/></td></tr>
       <tr>
         <td valign="top" width="0" colspan='2'>
           <div>
-            <#if productCategory.categoryImageUrl?exists>
+            <#if productCategory.categoryImageUrl??>
               <img src="<@ofbizContentUrl>${productCategory.categoryImageUrl}</@ofbizContentUrl>" vspace="5" hspace="5" class="cssImgLarge" alt="" />
             </#if>
-            ${productCategory.longDescription?if_exists}
+            ${productCategory.longDescription!}
           </div>
         </td>
       </tr>
@@ -55,7 +55,7 @@
   </table>
 </#if>
 
-<#if productCategoryMembers?exists && 0 < productCategoryMembers?size>
+<#if productCategoryMembers?? && 0 < productCategoryMembers?size>
   <br />
   <center>
   <form method="post" action="<@ofbizUrl>addtocartbulk</@ofbizUrl>" name="bulkaddform" style='margin: 0;'>
Index: applications/order/webapp/ordermgr/entry/catalog/editProduct.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/editProduct.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/editProduct.ftl	(working copy)
@@ -19,6 +19,6 @@
 
 <#if security.hasEntityPermission("CATALOG", "_CREATE", session)>
 <div>
-<a href="/catalog/control/EditProduct?productId=${productId}${externalKeyParam?if_exists}" target="catalog" class="buttontext">${uiLabelMap.ProductEditProduct}</a>
+<a href="/catalog/control/EditProduct?productId=${productId}${externalKeyParam!}" target="catalog" class="buttontext">${uiLabelMap.ProductEditProduct}</a>
 </div>
 </#if>
Index: applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl	(working copy)
@@ -17,12 +17,12 @@
 under the License.
 -->
 <#-- variable setup -->
-<#assign productContentWrapper = productContentWrapper?if_exists>
-<#assign price = priceMap?if_exists>
+<#assign productContentWrapper = productContentWrapper!>
+<#assign price = priceMap!>
 <#-- end variable setup -->
 
 <#-- virtual product javascript -->
-${virtualJavaScript?if_exists}
+${virtualJavaScript!}
 <script language="JavaScript" type="text/javascript">
 <!--
     var detailImageUrl = null;
@@ -37,7 +37,7 @@
      }
      function isVirtual(product) {
         var isVirtual = false;
-        <#if virtualJavaScript?exists>
+        <#if virtualJavaScript??>
         for (i = 0; i < VIR.length; i++) {
             if (VIR[i] == product) {
                 isVirtual = true;
@@ -174,15 +174,15 @@
 <table border="0" cellpadding="2" cellspacing="0" width="100%">
 
   <#-- Category next/previous -->
-  <#if category?exists>
+  <#if category??>
     <tr>
       <td colspan="2" align="right">
-        <#if previousProductId?exists>
-          <a href='<@ofbizUrl>product/~category_id=${categoryId?if_exists}/~product_id=${previousProductId?if_exists}</@ofbizUrl>' class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
+        <#if previousProductId??>
+          <a href='<@ofbizUrl>product/~category_id=${categoryId!}/~product_id=${previousProductId!}</@ofbizUrl>' class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
         </#if>
-        <a href="<@ofbizUrl>category/~category_id=${categoryId?if_exists}</@ofbizUrl>" class="buttontext">${(category.categoryName)?default(category.description)?if_exists}</a>
-        <#if nextProductId?exists>
-          &nbsp;|&nbsp;<a href='<@ofbizUrl>product/~category_id=${categoryId?if_exists}/~product_id=${nextProductId?if_exists}</@ofbizUrl>' class="buttontext">${uiLabelMap.CommonNext}</a>
+        <a href="<@ofbizUrl>category/~category_id=${categoryId!}</@ofbizUrl>" class="buttontext">${(category.categoryName)?default(category.description)!}</a>
+        <#if nextProductId??>
+          &nbsp;|&nbsp;<a href='<@ofbizUrl>product/~category_id=${categoryId!}/~product_id=${nextProductId!}</@ofbizUrl>' class="buttontext">${uiLabelMap.CommonNext}</a>
         </#if>
       </td>
     </tr>
@@ -193,19 +193,19 @@
   <#-- Product image/name/price -->
   <tr>
     <td valign="top" width="0">
-      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")?if_exists>
+      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")!>
       <#-- remove the next two lines to always display the virtual image first (virtual images must exist) -->
       <#if firstLargeImage?has_content>
         <#assign productLargeImageUrl = firstLargeImage>
       </#if>
       <#if productLargeImageUrl?string?has_content>
-        <a href="javascript:popupDetail();"><img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${productLargeImageUrl?if_exists}</@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' class='cssImgLarge' align='left' alt="" /></a>
+        <a href="javascript:popupDetail();"><img src='<@ofbizContentUrl>${contentPathPrefix!}${productLargeImageUrl!}</@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' class='cssImgLarge' align='left' alt="" /></a>
       </#if>
     </td>
     <td align="right" valign="top">
-      <h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>
-      <div>${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
-      <div><b>${product.productId?if_exists}</b></div>
+      <h2>${productContentWrapper.get("PRODUCT_NAME")!}</h2>
+      <div>${productContentWrapper.get("DESCRIPTION")!}</div>
+      <div><b>${product.productId!}</b></div>
       <#-- example of showing a certain type of feature with the product -->
       <#if sizeProductFeatureAndAppls?has_content>
         <div>
@@ -228,30 +228,30 @@
               - if price < defaultPrice and defaultPrice < listPrice, show default
               - if isSale show price with salePrice style and print "On Sale!"
       -->
-      <#if totalPrice?exists>
+      <#if totalPrice??>
         <div>${uiLabelMap.ProductAggregatedPrice}: <span id='totalPrice' class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
       <#else>
-      <#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
+      <#if price.competitivePrice?? && price.price?? && price.price?double < price.competitivePrice?double>
         <div>${uiLabelMap.ProductCompareAtPrice}: <span class='basePrice'><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
       </#if>
-      <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+      <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
         <div>${uiLabelMap.ProductListPrice}: <span class='basePrice'><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
       </#if>
-      <#if price.listPrice?exists && price.defaultPrice?exists && price.price?exists && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
+      <#if price.listPrice?? && price.defaultPrice?? && price.price?? && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
         <div>${uiLabelMap.ProductRegularPrice}: <span class='basePrice'><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
       </#if>
       <div>
         <b>
-          <#if price.isSale?exists && price.isSale>
+          <#if price.isSale?? && price.isSale>
             <span class='salePrice'>${uiLabelMap.OrderOnSale}!</span>
             <#assign priceStyle = "salePrice">
           <#else>
             <#assign priceStyle = "regularPrice">
           </#if>
-            ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual?if_exists> from </#if><span class='${priceStyle}'><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+            ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual!> from </#if><span class='${priceStyle}'><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
         </b>
       </div>
-      <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+      <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
         <#assign priceSaved = price.listPrice?double - price.price?double>
         <#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
         <div>${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
@@ -259,22 +259,22 @@
       </#if>
 
       <#-- Included quantities/pieces -->
-      <#if product.quantityIncluded?exists && product.quantityIncluded?double != 0>
+      <#if product.quantityIncluded?? && product.quantityIncluded?double != 0>
         <div>${uiLabelMap.OrderIncludes}:
-          ${product.quantityIncluded?if_exists}
-          ${product.quantityUomId?if_exists}
+          ${product.quantityIncluded!}
+          ${product.quantityUomId!}
         </div>
       </#if>
-      <#if product.piecesIncluded?exists && product.piecesIncluded?long != 0>
+      <#if product.piecesIncluded?? && product.piecesIncluded?long != 0>
         <div>${uiLabelMap.OrderPieces}:
           ${product.piecesIncluded}
         </div>
       </#if>
-      <#if daysToShip?exists>
+      <#if daysToShip??>
         <div><b>${uiLabelMap.ProductUsuallyShipsIn} <font color='red'>${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
       </#if>
 
-      <#if disFeatureList?exists && 0 < disFeatureList.size()>
+      <#if disFeatureList?? && 0 < disFeatureList.size()>
         <p>&nbsp;</p>
         <#list disFeatureList as currentFeature>
             <div>
@@ -284,11 +284,11 @@
             <div>&nbsp;</div>
       </#if>
 
-      <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform" style='margin: 0;'>
+      <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform" style='margin: 0;'>
         <#assign inStock = true>
         <#-- Variant Selection -->
-        <#if product.isVirtual?exists && product.isVirtual?upper_case == "Y">
-          <#if variantTree?exists && 0 < variantTree.size()>
+        <#if product.isVirtual?? && product.isVirtual?upper_case == "Y">
+          <#if variantTree?? && 0 < variantTree.size()>
             <#list featureSet as currentType>
               <div>
                 <select name="FT${currentType}" onchange="javascript:getList(this.name, (this.selectedIndex-1), 1);">
@@ -307,13 +307,13 @@
         <#else>
           <input type='hidden' name="product_id" value='${product.productId}' />
           <input type='hidden' name="add_product_id" value='${product.productId}' />
-          <#if productNotAvailable?exists>
+          <#if productNotAvailable??>
             <#assign isStoreInventoryRequired = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequired(request, product)>
             <#if isStoreInventoryRequired>
               <div class='tabletext'><b>${uiLabelMap.ProductItemOutOfStock}.</b></div>
               <#assign inStock = false>
             <#else>
-              <div class='tabletext'><b>${product.inventoryMessage?if_exists}</b></div>
+              <div class='tabletext'><b>${product.inventoryMessage!}</b></div>
             </#if>
           </#if>
         </#if>
@@ -321,11 +321,11 @@
         </td></tr><tr><td colspan="2" align="right">
 
         <#-- check to see if introductionDate hasn't passed yet -->
-        <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+        <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
           <p>&nbsp;</p>
           <div class='tabletext' style='color: red;'>${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
         <#-- check to see if salesDiscontinuationDate has passed -->
-        <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
+        <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
           <div class='tabletext' style='color: red;'>${uiLabelMap.ProductProductNoLongerAvailable}.</div>
         <#-- check to see if the product requires inventory check and has inventory -->
         <#else>
@@ -347,7 +347,7 @@
               <input type="text" size="5" name="quantity" value="1" />
             </#if>
           </#if>
-          <#if requestParameters.category_id?exists>
+          <#if requestParameters.category_id??>
             <input type='hidden' name='category_id' value='${requestParameters.category_id}' />
           </#if>
         </#if>
@@ -355,10 +355,10 @@
     <div>
       <#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
         <hr />
-        <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
+        <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
           <input type="hidden" name="productId" value="${product.productId}" />
           <input type="hidden" name="product_id" value="${product.productId}" />
-          <input type="hidden" name="configId" value="${configId?if_exists}" />
+          <input type="hidden" name="configId" value="${configId!}" />
           <select name="shoppingListId">
             <#if shoppingLists?has_content>
               <#list shoppingLists as shoppingList>
@@ -378,12 +378,12 @@
       </#if>
       </div>
       <#-- Prefill first select box (virtual products only) -->
-      <#if variantTree?exists && 0 < variantTree.size()>
+      <#if variantTree?? && 0 < variantTree.size()>
         <script language="JavaScript" type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script>
       </#if>
 
       <#-- Swatches (virtual products only) -->
-      <#if variantSample?exists && 0 < variantSample.size()>
+      <#if variantSample?? && 0 < variantSample.size()>
         <#assign imageKeys = variantSample.keySet()>
         <#assign imageMap = variantSample>
         <p>&nbsp;</p>
@@ -394,15 +394,15 @@
             <#list imageKeys as key>
               <#assign swatchProduct = imageMap.get(key)>
               <#if swatchProduct?has_content && indexer < maxIndex>
-                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)?if_exists>
+                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)!>
                 <#if !imageUrl?string?has_content>
-                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")?if_exists>
+                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")!>
                 </#if>
                 <#if !imageUrl?string?has_content>
                   <#assign imageUrl = "/images/defaultImage.jpg">
                 </#if>
                 <td align="center" valign="bottom">
-                  <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${imageUrl}</@ofbizContentUrl>" class='cssImgStandard' alt="" /></a>
+                  <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix!}${imageUrl}</@ofbizContentUrl>" class='cssImgStandard' alt="" /></a>
                   <br />
                   <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);" class="buttontext">${key}</a>
                 </td>
@@ -423,7 +423,7 @@
   <#-- Long description of product -->
   <tr>
     <td colspan="2">
-      <div>${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
+      <div>${productContentWrapper.get("LONG_DESCRIPTION")!}</div>
     </td>
   </tr>
 
@@ -433,7 +433,7 @@
   <#-- Product Configurator -->
   <tr>
     <td colspan="2">
-      <form name="configform" id="configFormId" method="post" action="<@ofbizUrl>product<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
+      <form name="configform" id="configFormId" method="post" action="<@ofbizUrl>product<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
         <input type='hidden' name='add_product_id' value='${product.productId}' />
         <input type='hidden' name='add_category_id' value='' />
         <input type='hidden' name='quantity' value='1' />
@@ -456,14 +456,14 @@
               <div>${question.question}</div>
               <#if question.isFirst()>
                 <a name='#${question.getConfigItem().getString("configItemId")}'></a>
-                <div>${question.description?if_exists}</div>
-                <#assign instructions = question.content.get("INSTRUCTIONS")?if_exists>
+                <div>${question.description!}</div>
+                <#assign instructions = question.content.get("INSTRUCTIONS")!>
                 <#if instructions?has_content>
                   <a href="javascript:showErrorAlert("${uiLabelMap.CommonErrorMessage2}","${instructions}");" class="buttontext">Instructions</a>
                 </#if>
-                <#assign image = question.content.get("IMAGE_URL")?if_exists>
+                <#assign image = question.content.get("IMAGE_URL")!>
                 <#if image?has_content>
-                  <img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${image?if_exists}</@ofbizContentUrl>' vspace='5' hspace='5' class='cssImgSmall' align='left' alt="" />
+                  <img src='<@ofbizContentUrl>${contentPathPrefix!}${image!}</@ofbizContentUrl>' vspace='5' hspace='5' class='cssImgSmall' align='left' alt="" />
                 </#if>
               <#else>
                 <div><a href='#${question.getConfigItem().getString("configItemId")}' class="buttontext">Details</a></div>
@@ -478,20 +478,20 @@
               <#assign optionCounter = 0>
               <#list options as option>
                 <div>${option.description} <#if !option.isAvailable()> (*)</#if></div>
-                <div>${uiLabelMap.CommonComments}: <input type='text' name='comments_${counter}_${optionCounter}' id='comments_${counter}_${optionCounter}' value='${option.comments?if_exists}' /></div>
+                <div>${uiLabelMap.CommonComments}: <input type='text' name='comments_${counter}_${optionCounter}' id='comments_${counter}_${optionCounter}' value='${option.comments!}' /></div>
                 <#assign optionCounter = optionCounter + 1>
               </#list>
             <#else>
               <#if question.isSingleChoice()>
                 <#-- Single choice question -->
                 <#assign options = question.options>
-                <#assign selectedOption = question.getSelected()?if_exists>
+                <#assign selectedOption = question.getSelected()!>
                 <#assign selectedPrice = 0.0>
                 <#if selectedOption?has_content>
                   <#assign selectedPrice = selectedOption.getPrice()>
                 </#if>
                 <#-- The single choice input can be implemented with radio buttons or a select field -->
-                <#if renderSingleChoiceWithRadioButtons?exists && "Y" == renderSingleChoiceWithRadioButtons>
+                <#if renderSingleChoiceWithRadioButtons?? && "Y" == renderSingleChoiceWithRadioButtons>
                 <#-- This is the radio button implementation -->
                 <#if !question.isMandatory()>
                   <div><input type="radio" name='${counter}' value='<#if !question.isSelected()>checked="checked"</#if>' /> No option</div>
@@ -500,13 +500,13 @@
                 <#assign optionCounter = 0>
                 <#list options as option>
                   <#assign componentCounter = 0>
-                  <#if showOffsetPrice?exists && "Y" == showOffsetPrice>
+                  <#if showOffsetPrice?? && "Y" == showOffsetPrice>
                     <#assign shownPrice = option.price - selectedPrice>
                   <#else>
                     <#assign shownPrice = option.price>
                   </#if>
                   <#if option.isSelected()>
-                    <#assign optionComment = option.getComments()?if_exists>
+                    <#assign optionComment = option.getComments()!>
                   </#if>
                     <#-- Render virtual compoennts -->
                     <#if option.hasVirtualComponent()>
@@ -535,7 +535,7 @@
                     </#if>
                   <#assign optionCounter = optionCounter + 1>
                 </#list>
-                <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_0' id='comments_${counter}_0' value='${optionComment?if_exists}' /></div>
+                <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_0' id='comments_${counter}_0' value='${optionComment!}' /></div>
                 <#else>
                 <#-- And this is the select box implementation -->
                 <select name='${counter}'>
@@ -546,7 +546,7 @@
                 <#assign optionCounter = 0>
                 <#assign optionComment = "">
                 <#list options as option>
-                  <#if showOffsetPrice?exists && "Y" == showOffsetPrice>
+                  <#if showOffsetPrice?? && "Y" == showOffsetPrice>
                     <#assign shownPrice = option.price - selectedPrice>
                   <#else>
                     <#assign shownPrice = option.price>
@@ -564,7 +564,7 @@
                   <#assign optionCounter = optionCounter + 1>
                 </#list>
                 </select>
-                <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_0' id='comments_${counter}_0' value='${optionComment?if_exists}' /></div>
+                <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_0' id='comments_${counter}_0' value='${optionComment!}' /></div>
                 </#if>
               <#else>
                 <#-- Multi choice question -->
@@ -594,7 +594,7 @@
                       ${option.description} +<@ofbizCurrency amount=option.price isoCode=price.currencyUsed/><#if !option.isAvailable()> (*)</#if>
                     </div>
                     </#if>
-                    <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_${optionCounter}' id='comments_${counter}_${optionCounter}' value='${option.comments?if_exists}' /></div>
+                    <div>${uiLabelMap.CommonComments}: <input type="text" name='comments_${counter}_${optionCounter}' id='comments_${counter}_${optionCounter}' value='${option.comments!}' /></div>
                   <#assign optionCounter = optionCounter + 1>
                 </#list>
               </#if>
@@ -620,15 +620,15 @@
   </#if>
   <#if assocProducts?has_content>
     <tr><td>&nbsp;</td></tr>
-    <tr><td colspan="2"><h2>${beforeName?if_exists}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</#if>${afterName?if_exists}</h2></td></tr>
+    <tr><td colspan="2"><h2>${beforeName!}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")!}</#if>${afterName!}</h2></td></tr>
     <tr><td><hr /></td></tr>
     <#list assocProducts as productAssoc>
       <tr><td>
         <div>
-          <a href='<@ofbizUrl>${targetRequest}/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo?if_exists}</@ofbizUrl>' class="buttontext">
-            ${productAssoc.productIdTo?if_exists}
+          <a href='<@ofbizUrl>${targetRequest}/<#if categoryId??>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo!}</@ofbizUrl>' class="buttontext">
+            ${productAssoc.productIdTo!}
           </a>
-          - <b>${productAssoc.reason?if_exists}</b>
+          - <b>${productAssoc.reason!}</b>
         </div>
       </td></tr>
       ${setRequestAttribute("optProductId", productAssoc.productIdTo)}
Index: applications/order/webapp/ordermgr/entry/catalog/breadcrumbs.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/breadcrumbs.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/breadcrumbs.ftl	(working copy)
@@ -29,13 +29,13 @@
     <#-- Show the category branch -->
     <#assign crumbs = Static["org.ofbiz.product.category.CategoryWorker"].getTrail(request)/>
     <#list crumbs as crumb>
-         <#if catContentWrappers?exists && catContentWrappers[crumb]?exists>
+         <#if catContentWrappers?? && catContentWrappers[crumb]??>
             <#if !isDefaultTheme>         
               <li>
                  <a href="<@ofbizCatalogUrl currentCategoryId=crumb previousCategoryId=previousCategoryId!""/>" class="<#if crumb_has_next>linktext<#else>buttontextdisabled</#if>">
-                   <#if catContentWrappers[crumb].get("CATEGORY_NAME")?exists>
+                   <#if catContentWrappers[crumb].get("CATEGORY_NAME")??>
                      ${catContentWrappers[crumb].get("CATEGORY_NAME")}
-                   <#elseif catContentWrappers[crumb].get("DESCRIPTION")?exists>
+                   <#elseif catContentWrappers[crumb].get("DESCRIPTION")??>
                      ${catContentWrappers[crumb].get("DESCRIPTION")}
                    <#else>
                      ${crumb}
@@ -44,9 +44,9 @@
               </li>
             <#else>  
                <a href="<@ofbizCatalogUrl currentCategoryId=crumb previousCategoryId=previousCategoryId!""/>" class="<#if crumb_has_next>linktext<#else>buttontextdisabled</#if>">
-                 <#if catContentWrappers[crumb].get("CATEGORY_NAME")?exists>
+                 <#if catContentWrappers[crumb].get("CATEGORY_NAME")??>
                    ${catContentWrappers[crumb].get("CATEGORY_NAME")}
-                 <#elseif catContentWrappers[crumb].get("DESCRIPTION")?exists>
+                 <#elseif catContentWrappers[crumb].get("DESCRIPTION")??>
                    ${catContentWrappers[crumb].get("DESCRIPTION")}
                  <#else>
                    ${crumb}
@@ -58,11 +58,11 @@
          </#if>
     </#list>    
     <#-- Show the product, if there is one -->
-    <#if productContentWrapper?exists>
+    <#if productContentWrapper??>
       <#if isDefaultTheme>        
-         &nbsp;&gt; ${productContentWrapper.get("PRODUCT_NAME")?if_exists}
+         &nbsp;&gt; ${productContentWrapper.get("PRODUCT_NAME")!}
       <#else>
-          <li>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</li>
+          <li>${productContentWrapper.get("PRODUCT_NAME")!}</li>
         </ul>  
       </#if>
     </#if>
Index: applications/order/webapp/ordermgr/entry/catalog/advancedsearch.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/advancedsearch.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/advancedsearch.ftl	(working copy)
@@ -25,14 +25,14 @@
   <table border="0" wdith="100%">
     <input type="hidden" name="SEARCH_CATALOG_ID" value="${currentCatalogId}" />
     <#if searchCategory?has_content>
-        <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}" />
+        <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId!}" />
         <tr>
           <td align="right" valign="middle">
             <div>${uiLabelMap.ProductCategory}:</div>
           </td>
           <td valign="middle">
             <div>
-              <b>"${(searchCategory.description)?if_exists}"</b>${uiLabelMap.ProductIncludeSubCategories}
+              <b>"${(searchCategory.description)!}"</b>${uiLabelMap.ProductIncludeSubCategories}
               ${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked" />
               ${uiLabelMap.CommonNo}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="N" />
             </div>
@@ -45,7 +45,7 @@
       </td>
       <td valign="middle">
         <div>
-          <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}" />&nbsp;
+          <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}" />&nbsp;
           ${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if> />
           ${uiLabelMap.CommonAll}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if> />
         </div>
@@ -57,7 +57,7 @@
       <#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId]>
       <tr>
         <td align="right" valign="middle">
-          <div>${(productFeatureType.get("description",locale))?if_exists}:</div>
+          <div>${(productFeatureType.get("description",locale))!}:</div>
         </td>
         <td valign="middle">
           <div>
@@ -80,7 +80,7 @@
           <select name="SEARCH_SUPPLIER_ID">
             <option value="">- ${uiLabelMap.CommonSelectAny} -</option>
             <#list supplerPartyRoleAndPartyDetails as supplerPartyRoleAndPartyDetail>
-              <option value="${supplerPartyRoleAndPartyDetail.partyId}"<#if (sessionAttributes.orderPartyId?exists & sessionAttributes.orderPartyId = supplerPartyRoleAndPartyDetail.partyId)> selected="selected"</#if>>${supplerPartyRoleAndPartyDetail.groupName?if_exists} ${supplerPartyRoleAndPartyDetail.firstName?if_exists} ${supplerPartyRoleAndPartyDetail.lastName?if_exists} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
+              <option value="${supplerPartyRoleAndPartyDetail.partyId}"<#if (sessionAttributes.orderPartyId?? & sessionAttributes.orderPartyId = supplerPartyRoleAndPartyDetail.partyId)> selected="selected"</#if>>${supplerPartyRoleAndPartyDetail.groupName!} ${supplerPartyRoleAndPartyDetail.firstName!} ${supplerPartyRoleAndPartyDetail.lastName!} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
             </#list>
           </select>
         </div>
Index: applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-${virtualJavaScript?if_exists}
+${virtualJavaScript!}
 <script type="text/javascript">
 <!--
     function displayProductVirtualId(variantId, virtualProductId, pForm) {
@@ -51,7 +51,7 @@
     }
 //-->
 </script>
-<#if product?exists>
+<#if product??>
     <#-- variable setup -->
     <#if backendPath?default("N") == "Y">
         <#assign productUrl><@ofbizCatalogUrl productId=product.productId productCategoryId=categoryId/></#assign>
@@ -59,10 +59,10 @@
         <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId productCategoryId=categoryId/></#assign>
     </#if>
 
-    <#if requestAttributes.productCategoryMember?exists>
+    <#if requestAttributes.productCategoryMember??>
         <#assign prodCatMem = requestAttributes.productCategoryMember>
     </#if>
-    <#assign smallImageUrl = productContentWrapper.get("SMALL_IMAGE_URL")?if_exists>
+    <#assign smallImageUrl = productContentWrapper.get("SMALL_IMAGE_URL")!>
     <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
     <#-- end variable setup -->
     <#assign productInfoLinkId = "productInfoLink">
@@ -72,17 +72,17 @@
     <div class="productsummary">
         <div class="smallimage">
             <a href="${productUrl}">
-                <span id="${productInfoLinkId}" class="popup_link"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/></span>
+                <span id="${productInfoLinkId}" class="popup_link"><img src="<@ofbizContentUrl>${contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/></span>
             </a>
         </div>
         <div id="${productDetailId}" class="popup" style="display:none;">
           <table>
             <tr valign="top">
               <td>
-                <img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/><br />
-                ${uiLabelMap.ProductProductId}   : ${product.productId?if_exists}<br />
-                ${uiLabelMap.ProductProductName} : ${product.productName?if_exists}<br />
-                ${uiLabelMap.CommonDescription}  : ${product.description?if_exists}
+                <img src="<@ofbizContentUrl>${contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image"/><br />
+                ${uiLabelMap.ProductProductId}   : ${product.productId!}<br />
+                ${uiLabelMap.ProductProductName} : ${product.productName!}<br />
+                ${uiLabelMap.CommonDescription}  : ${product.description!}
               </td>
             </tr>
           </table>
@@ -96,32 +96,32 @@
         </script>
         <div class="productbuy">
           <#-- check to see if introductionDate hasn't passed yet -->
-          <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+          <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
             <div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
           <#-- check to see if salesDiscontinuationDate has passed -->
-          <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
+          <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
             <div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
           <#-- check to see if it is a rental item; will enter parameters on the detail screen-->
-          <#elseif product.productTypeId?if_exists == "ASSET_USAGE">
+          <#elseif product.productTypeId! == "ASSET_USAGE">
             <a href="${productUrl}" class="buttontext">${uiLabelMap.OrderMakeBooking}...</a>
           <#-- check to see if it is an aggregated or configurable product; will enter parameters on the detail screen-->
-          <#elseif product.productTypeId?if_exists == "AGGREGATED" || product.productTypeId?if_exists == "AGGREGATED_SERVICE">
+          <#elseif product.productTypeId! == "AGGREGATED" || product.productTypeId! == "AGGREGATED_SERVICE">
             <a href="${productUrl}" class="buttontext">${uiLabelMap.OrderConfigure}...</a>
           <#-- check to see if the product is a virtual product -->
-          <#elseif product.isVirtual?exists && product.isVirtual == "Y">
+          <#elseif product.isVirtual?? && product.isVirtual == "Y">
             <a href="${productUrl}" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
           <#-- check to see if the product requires an amount -->
-          <#elseif product.requireAmount?exists && product.requireAmount == "Y">
+          <#elseif product.requireAmount?? && product.requireAmount == "Y">
             <a href="${productUrl}" class="buttontext">${uiLabelMap.OrderChooseAmount}...</a>
-          <#elseif product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+          <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN">
             <a href="${productUrl}" class="buttontext">${uiLabelMap.OrderRent}...</a>
           <#else>
-            <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}form" style="margin: 0;">
+            <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}form" style="margin: 0;">
               <input type="hidden" name="add_product_id" value="${product.productId}"/>
               <input type="text" size="5" name="quantity" value="1"/>
               <input type="hidden" name="clearSearch" value="N"/>
               <input type="hidden" name="mainSubmitted" value="Y"/>
-              <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}form.submit()" class="buttontext">${uiLabelMap.OrderAddToCart}</a>
+              <a href="javascript:document.the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}form.submit()" class="buttontext">${uiLabelMap.OrderAddToCart}</a>
             <#if mainProducts?has_content>
                 <input type="hidden" name="product_id" value=""/>
                 <select name="productVariantId" onchange="javascript:displayProductVirtualId(this.value, '${product.productId}', this.form);">
@@ -137,22 +137,22 @@
             </#if>
             </form>
             
-              <#if prodCatMem?exists && prodCatMem.quantity?exists && 0.00 < prodCatMem.quantity?double>
-                <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform" style="margin: 0;">
-                  <input type="hidden" name="add_product_id" value="${prodCatMem.productId?if_exists}"/>
-                  <input type="hidden" name="quantity" value="${prodCatMem.quantity?if_exists}"/>
+              <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
+                <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}defaultform" style="margin: 0;">
+                  <input type="hidden" name="add_product_id" value="${prodCatMem.productId!}"/>
+                  <input type="hidden" name="quantity" value="${prodCatMem.quantity!}"/>
                   <input type="hidden" name="clearSearch" value="N"/>
                   <input type="hidden" name="mainSubmitted" value="Y"/>
-                  <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
+                  <a href="javascript:document.the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
                 </form>
                 <#assign productCategory = delegator.findOne("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", prodCatMem.productCategoryId), false)/>
                 <#if productCategory.productCategoryTypeId != "BEST_SELL_CATEGORY">
-                    <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform" style="margin: 0;">
-                      <input type="hidden" name="add_product_id" value="${prodCatMem.productId?if_exists}"/>
-                      <input type="hidden" name="quantity" value="${prodCatMem.quantity?if_exists}"/>
+                    <form method="post" action="<@ofbizUrl>additem</@ofbizUrl>" name="the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}defaultform" style="margin: 0;">
+                      <input type="hidden" name="add_product_id" value="${prodCatMem.productId!}"/>
+                      <input type="hidden" name="quantity" value="${prodCatMem.quantity!}"/>
                       <input type="hidden" name="clearSearch" value="N"/>
                       <input type="hidden" name="mainSubmitted" value="Y"/>
-                      <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
+                      <a href="javascript:document.the${requestAttributes.formNamePrefix!}${requestAttributes.listIndex!}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a>
                     </form>
                 </#if>
               </#if>
@@ -160,12 +160,12 @@
         </div>
         <div class="productinfo">
           <div>
-            <a href="${productUrl}" class="linktext">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</a>
+            <a href="${productUrl}" class="linktext">${productContentWrapper.get("PRODUCT_NAME")!}</a>
           </div>
-          <div>${productContentWrapper.get("DESCRIPTION")?if_exists}<#if daysToShip?exists>&nbsp;-&nbsp;${uiLabelMap.ProductUsuallyShipsIn} <b>${daysToShip}</b> ${uiLabelMap.CommonDays}!</#if></div>
+          <div>${productContentWrapper.get("DESCRIPTION")!}<#if daysToShip??>&nbsp;-&nbsp;${uiLabelMap.ProductUsuallyShipsIn} <b>${daysToShip}</b> ${uiLabelMap.CommonDays}!</#if></div>
 
           <#-- Display category-specific product comments -->
-          <#if prodCatMem?exists && prodCatMem.comments?has_content>
+          <#if prodCatMem?? && prodCatMem.comments?has_content>
           <div>${prodCatMem.comments}</div>
           </#if>
 
@@ -183,18 +183,18 @@
             </div>
           </#if>
           <div>
-              <b>${product.productId?if_exists}</b>
-                <#if totalPrice?exists>
+              <b>${product.productId!}</b>
+                <#if totalPrice??>
                   <div>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
                 <#else>
-                <#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
+                <#if price.competitivePrice?? && price.price?? && price.price?double < price.competitivePrice?double>
                   ${uiLabelMap.ProductCompareAtPrice}: <span class='basePrice'><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span>
                 </#if>
-                <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+                <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
                   ${uiLabelMap.ProductListPrice}: <span class="basePrice"><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span>
                 </#if>
                 <b>
-                  <#if price.isSale?exists && price.isSale>
+                  <#if price.isSale?? && price.isSale>
                     <span class="salePrice">${uiLabelMap.OrderOnSale}!</span>
                     <#assign priceStyle = "salePrice">
                   <#else>
@@ -202,32 +202,32 @@
                   </#if>
 
                   <#if (price.price?default(0) > 0 && product.requireAmount?default("N") == "N")>
-                    ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+                    ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
                   </#if>
                 </b>
-                <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+                <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
                   <#assign priceSaved = price.listPrice?double - price.price?double>
                   <#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
                     ${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span>
                 </#if>
                 </#if>
                 <#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
-                <#if (showPriceDetails?exists && showPriceDetails?default("N") == "Y")>
-                    <#if price.orderItemPriceInfos?exists>
+                <#if (showPriceDetails?? && showPriceDetails?default("N") == "Y")>
+                    <#if price.orderItemPriceInfos??>
                         <#list price.orderItemPriceInfos as orderItemPriceInfo>
-                            <div>${orderItemPriceInfo.description?if_exists}</div>
+                            <div>${orderItemPriceInfo.description!}</div>
                         </#list>
                     </#if>
                 </#if>
           </div>
-          <#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?long > 2)>
+          <#if averageRating?? && (averageRating?double > 0) && numRatings?? && (numRatings?long > 2)>
               <div>${uiLabelMap.OrderAverageRating}: ${averageRating} (${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</div>
           </#if>
-          <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">addToCompare</@ofbizUrl>" name="addToCompare${requestAttributes.listIndex?if_exists}form">
+          <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">addToCompare</@ofbizUrl>" name="addToCompare${requestAttributes.listIndex!}form">
               <input type="hidden" name="productId" value="${product.productId}"/>
               <input type="hidden" name="mainSubmitted" value="Y"/>
           </form>
-          <a href="javascript:document.addToCompare${requestAttributes.listIndex?if_exists}form.submit()" class="buttontext">${uiLabelMap.ProductAddToCompare}</a>
+          <a href="javascript:document.addToCompare${requestAttributes.listIndex!}form.submit()" class="buttontext">${uiLabelMap.ProductAddToCompare}</a>
         </div>
     </div>
 <#else>
Index: applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl	(working copy)
@@ -67,31 +67,31 @@
 </#macro>
 
 
-<#if productCategory?exists>
-    <#assign categoryName = categoryContentWrapper.get("CATEGORY_NAME")?if_exists/>
-    <#assign categoryDescription = categoryContentWrapper.get("DESCRIPTION")?if_exists/>
+<#if productCategory??>
+    <#assign categoryName = categoryContentWrapper.get("CATEGORY_NAME")!/>
+    <#assign categoryDescription = categoryContentWrapper.get("DESCRIPTION")!/>
     <#if categoryName?has_content>
         <h1>${categoryName}</h1>
     </#if>
     <#if categoryDescription?has_content>
         <h1>${categoryDescription}</h1>
     </#if>
-    <#if hasQuantities?exists>
-      <form method="post" action="<@ofbizUrl>addCategoryDefaults<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="thecategoryform" style='margin: 0;'>
+    <#if hasQuantities??>
+      <form method="post" action="<@ofbizUrl>addCategoryDefaults<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="thecategoryform" style='margin: 0;'>
         <input type='hidden' name='add_category_id' value='${productCategory.productCategoryId}'/>
-        <#if requestParameters.product_id?exists><input type='hidden' name='product_id' value='${requestParameters.product_id}'/></#if>
-        <#if requestParameters.category_id?exists><input type='hidden' name='category_id' value='${requestParameters.category_id}'/></#if>
-        <#if requestParameters.VIEW_INDEX?exists><input type='hidden' name='VIEW_INDEX' value='${requestParameters.VIEW_INDEX}'/></#if>
-        <#if requestParameters.SEARCH_STRING?exists><input type='hidden' name='SEARCH_STRING' value='${requestParameters.SEARCH_STRING}'/></#if>
-        <#if requestParameters.SEARCH_CATEGORY_ID?exists><input type='hidden' name='SEARCH_CATEGORY_ID' value='${requestParameters.SEARCH_CATEGORY_ID}'/></#if>
+        <#if requestParameters.product_id??><input type='hidden' name='product_id' value='${requestParameters.product_id}'/></#if>
+        <#if requestParameters.category_id??><input type='hidden' name='category_id' value='${requestParameters.category_id}'/></#if>
+        <#if requestParameters.VIEW_INDEX??><input type='hidden' name='VIEW_INDEX' value='${requestParameters.VIEW_INDEX}'/></#if>
+        <#if requestParameters.SEARCH_STRING??><input type='hidden' name='SEARCH_STRING' value='${requestParameters.SEARCH_STRING}'/></#if>
+        <#if requestParameters.SEARCH_CATEGORY_ID??><input type='hidden' name='SEARCH_CATEGORY_ID' value='${requestParameters.SEARCH_CATEGORY_ID}'/></#if>
         <a href="javascript:document.thecategoryform.submit()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.ProductAddProductsUsingDefaultQuantities}</span></a>
       </form>
     </#if>
     <#if searchInCategory?default("Y") == "Y">
         <a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${productCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductSearchInCategory}</a>
     </#if>
-    <#assign longDescription = categoryContentWrapper.get("LONG_DESCRIPTION")?if_exists/>
-    <#assign categoryImageUrl = categoryContentWrapper.get("CATEGORY_IMAGE_URL")?if_exists/>
+    <#assign longDescription = categoryContentWrapper.get("LONG_DESCRIPTION")!/>
+    <#assign categoryImageUrl = categoryContentWrapper.get("CATEGORY_IMAGE_URL")!/>
     <#if categoryImageUrl?string?has_content || longDescription?has_content>
       <div>
         <#if categoryImageUrl?string?has_content>
@@ -116,11 +116,11 @@
 
 <#if productCategoryMembers?has_content>
     <#-- Pagination -->
-    <#if paginateEcommerceStyle?exists>
+    <#if paginateEcommerceStyle??>
         <@paginationControls/>
     <#else>
         <#include "component://common/webcommon/includes/htmlTemplate.ftl"/>
-        <#assign commonUrl = "category?category_id="+ parameters.category_id?if_exists + "&"/>
+        <#assign commonUrl = "category?category_id="+ parameters.category_id! + "&"/>
         <#--assign viewIndex = viewIndex - 1/-->
         <#assign viewIndexFirst = 0/>
         <#assign viewIndexPrevious = viewIndex - 1/>
@@ -163,7 +163,7 @@
         </table>
       </#if>
       </div>
-    <#if paginateEcommerceStyle?exists>
+    <#if paginateEcommerceStyle??>
         <@paginationControls/>
     </#if>
 <#else>
Index: applications/order/webapp/ordermgr/entry/catalog/inlineProductDetail.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/inlineProductDetail.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/inlineProductDetail.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-${virtualJavaScript?if_exists}
+${virtualJavaScript!}
 <#assign addedJavaScript = requestAttributes.addedJavaScript?default("N")/>
 <#if ("N" == addedJavaScript)>
   ${setRequestAttribute("addedJavaScript", "Y")}
@@ -104,7 +104,7 @@
     function isVirtualInline(inlineCounter, product) {
         var isVirtual = false;
         var fieldName = 'VIR' + inlineCounter;
-        <#if virtualJavaScript?exists>
+        <#if virtualJavaScript??>
         for (i = 0; i < window[fieldName].length; i++) {
             if (window[fieldName][i] == product) {
                 isVirtual = true;
@@ -230,7 +230,7 @@
  </script>
 </#if>
 
-<#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+<#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
   <script language="JavaScript" type="text/javascript">
         function checkRadioButtoninline${inlineCounter}(inlineCounter, productId) {
         var add_product_id = 'add_product_id' + inlineCounter;
@@ -253,32 +253,32 @@
 </#if>
 
 
-<#assign price = priceMap?if_exists/>
+<#assign price = priceMap!/>
 <div id="inlineproductdetail${inlineCounter}">
 <table border="0" cellpadding="2" cellspacing="0" width="100%">
   <tr>
     <td align="left" valign="top" width="0">
-      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")?if_exists>
+      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")!>
       <#if firstLargeImage?has_content>
         <#assign productLargeImageUrl = firstLargeImage>
       </#if>
       <#if productLargeImageUrl?string?has_content>
         <input type="hidden" name="detailImage${inlineCounter}" value="${firstDetailImage?default(mainDetailImageUrl?default("_NONE_"))}"/>
-        <a href="javascript:popupDetailInline('${inlineCounter}');"><img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${productLargeImageUrl?if_exists}</@ofbizContentUrl>' name='mainImage${inlineCounter}' vspace='5' hspace='5' class='cssImgLarge' align='left' alt="" /></a>
+        <a href="javascript:popupDetailInline('${inlineCounter}');"><img src='<@ofbizContentUrl>${contentPathPrefix!}${productLargeImageUrl!}</@ofbizContentUrl>' name='mainImage${inlineCounter}' vspace='5' hspace='5' class='cssImgLarge' align='left' alt="" /></a>
       </#if>
     </td>
     <td align="right" valign="top" width="100%">
-    <#--    <h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>  -->
+    <#--    <h2>${productContentWrapper.get("PRODUCT_NAME")!}</h2>  -->
         <#assign inStock = true>
-        <#if product.isVirtual?if_exists?upper_case == "Y">
-        <#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+        <#if product.isVirtual!?upper_case == "Y">
+        <#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
             <#list featureLists as featureList>
                 <#list featureList as feature>
                     <#if feature_index == 0>
                         <div>${feature.description}: <select id="FT${inlineCounter}${feature.productFeatureTypeId}" name="FT${inlineCounter}${feature.productFeatureTypeId}" onchange="javascript:checkRadioButtoninline${inlineCounter}('${inlineCounter}', '${product.productId}');">
                         <option value="select" selected="selected"> select option </option>
                     <#else>
-                        <option value="${feature.productFeatureId}">${feature.description} <#if feature.price?exists>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId/>)</#if></option>
+                        <option value="${feature.productFeatureId}">${feature.description} <#if feature.price??>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId/>)</#if></option>
                     </#if>
                 </#list>
                 </select>
@@ -287,8 +287,8 @@
               <input type="hidden" name="product_id${inlineCounter}" value="${product.productId}"/>
               <input type="hidden" name="add_product_id${inlineCounter}" value="NULL"/>
           </#if>
-          <#if !product.virtualVariantMethodEnum?exists || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
-           <#if variantTree?exists && (variantTree.size() > 0)>
+          <#if !product.virtualVariantMethodEnum?? || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
+           <#if variantTree?? && (variantTree.size() > 0)>
             <#list featureSet as currentType>
               <div>
                 <select name="FT${inlineCounter}${currentType}" onchange="javascript:getListInline('${inlineCounter}', this.name, (this.selectedIndex-1), 1);">
@@ -319,21 +319,21 @@
               <div><b>${uiLabelMap.ProductItemOutOfStock}.</b></div>
               <#assign inStock = false>
             <#else>
-              <div><b>${product.inventoryMessage?if_exists}</b></div>
+              <div><b>${product.inventoryMessage!}</b></div>
             </#if>
           </#if>
         </#if>
       </td></tr>
       <tr><td COLSPAN="2" align="right">
         <#-- check to see if introductionDate hasnt passed yet -->
-        <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+        <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
         <p>&nbsp;</p>
           <div style="color: red;">${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
         <#-- check to see if salesDiscontinuationDate has passed -->
-        <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
+        <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
           <div style="color: red;">${uiLabelMap.ProductProductNoLongerAvailable}.</div>
         <#-- check to see if the product requires inventory check and has inventory -->
-        <#elseif product.virtualVariantMethodEnum?if_exists != "VV_FEATURETREE">
+        <#elseif product.virtualVariantMethodEnum! != "VV_FEATURETREE">
           <#if inStock>
             <#if product.requireAmount?default("N") == "Y">
               <#assign hiddenStyle = "visible">
@@ -349,12 +349,12 @@
       </td></tr>
 
       <tr><td COLSPAN="2" align="right">
-      <#if variantTree?exists && 0 < variantTree.size()>
+      <#if variantTree?? && 0 < variantTree.size()>
         <script language="JavaScript" type="text/javascript">eval("list"+ "${inlineCounter}" + "${featureOrderFirst}" + "()");</script>
       </#if>
 
       <#-- Swatches (virtual products only) . For now commented out, before fixing a bug
-      <#if variantSample?exists && 0 < variantSample.size()>
+      <#if variantSample?? && 0 < variantSample.size()>
         <#assign imageKeys = variantSample.keySet()>
         <#assign imageMap = variantSample>
         <p>&nbsp;</p>
@@ -365,15 +365,15 @@
             <#list imageKeys as key>
               <#assign swatchProduct = imageMap.get(key)>
               <#if swatchProduct?has_content && indexer < maxIndex>
-                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)?if_exists>
+                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)!>
                 <#if !imageUrl?string?has_content>
-                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")?if_exists>
+                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")!>
                 </#if>
                 <#if !imageUrl?string?has_content>
                   <#assign imageUrl = "/images/defaultImage.jpg">
                 </#if>
                 <td align="center" valign="bottom">
-                  <a href="javascript:getListInline('${inlineCounter}', 'FT${inlineCounter}${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${imageUrl}</@ofbizContentUrl>" border="0" width="60" height="60" alt="" /></a>
+                  <a href="javascript:getListInline('${inlineCounter}', 'FT${inlineCounter}${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix!}${imageUrl}</@ofbizContentUrl>" border="0" width="60" height="60" alt="" /></a>
                   <br />
                   <a href="javascript:getListInline('${inlineCounter}', 'FT${inlineCounter}${featureOrderFirst}','${indexer}',1);" class="linktext">${key}</a>
                 </td>
Index: applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl	(working copy)
@@ -17,11 +17,11 @@
 under the License.
 -->
 <#-- variable setup -->
-<#assign price = priceMap?if_exists/>
+<#assign price = priceMap!/>
 <#-- end variable setup -->
 
 <#-- virtual product javascript -->
-${virtualJavaScript?if_exists}
+${virtualJavaScript!}
 <script language="JavaScript" type="text/javascript">
 <!--
     var detailImageUrl = null;
@@ -71,7 +71,7 @@
     }
     function isVirtual(product) {
         var isVirtual = false;
-        <#if virtualJavaScript?exists>
+        <#if virtualJavaScript??>
         for (i = 0; i < VIR.length; i++) {
             if (VIR[i] == product) {
                 isVirtual = true;
@@ -86,7 +86,7 @@
            return;
        } else {
            if (isVirtual(document.addform.add_product_id.value)) {
-               document.location = '<@ofbizUrl>product?category_id=${categoryId?if_exists}&amp;product_id=</@ofbizUrl>' + document.addform.add_product_id.value;
+               document.location = '<@ofbizUrl>product?category_id=${categoryId!}&amp;product_id=</@ofbizUrl>' + document.addform.add_product_id.value;
                return;
            } else {
                document.addform.submit();
@@ -153,7 +153,7 @@
             // eval the next list if there are more
             var selectedValue = document.forms["addform"].elements[name].options[(index*1)+1].value;
             if (index == -1) {
-              <#if featureOrderFirst?exists>
+              <#if featureOrderFirst??>
                 var Variable1 = eval("list" + "${featureOrderFirst}" + "()");
               </#if>
             } else {
@@ -212,7 +212,7 @@
     }
 
     function additemSubmit(){
-        <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+        <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
         newdatevalue = validate(document.addform.reservStart.value);
         if (newdatevalue == false) {
             document.addform.reservStart.focus();
@@ -226,7 +226,7 @@
     }
 
     function addShoplistSubmit(){
-        <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+        <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
         if (document.addToShoppingList.reservStartStr.value == "") {
             document.addToShoppingList.submit();
         } else {
@@ -245,7 +245,7 @@
         </#if>
     }
 
-    <#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+    <#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
         function checkRadioButton() {
             var block1 = document.getElementById("addCart1");
             var block2 = document.getElementById("addCart2");
@@ -285,15 +285,15 @@
 
 <table border="0" cellpadding="2" cellspacing="0" width="100%">
   <#-- Category next/previous -->
-  <#if category?exists>
+  <#if category??>
     <tr>
       <td colspan="2" align="right">
-        <#if previousProductId?exists>
-          <a href="<@ofbizUrl>product/~category_id=${categoryId?if_exists}/~product_id=${previousProductId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
+        <#if previousProductId??>
+          <a href="<@ofbizUrl>product/~category_id=${categoryId!}/~product_id=${previousProductId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
         </#if>
-        <a href="<@ofbizUrl>category/~category_id=${categoryId?if_exists}</@ofbizUrl>" class="linktext">${(category.categoryName)?default(category.description)?if_exists}</a>
-        <#if nextProductId?exists>
-          &nbsp;|&nbsp;<a href="<@ofbizUrl>product/~category_id=${categoryId?if_exists}/~product_id=${nextProductId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
+        <a href="<@ofbizUrl>category/~category_id=${categoryId!}</@ofbizUrl>" class="linktext">${(category.categoryName)?default(category.description)!}</a>
+        <#if nextProductId??>
+          &nbsp;|&nbsp;<a href="<@ofbizUrl>product/~category_id=${categoryId!}/~product_id=${nextProductId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
         </#if>
       </td>
     </tr>
@@ -304,19 +304,19 @@
   <#-- Product image/name/price -->
   <tr>
     <td valign="top" width="0">
-      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")?if_exists>
+      <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")!>
       <#-- remove the next two lines to always display the virtual image first (virtual images must exist) -->
       <#if firstLargeImage?has_content>
         <#assign productLargeImageUrl = firstLargeImage>
       </#if>
       <#if productLargeImageUrl?string?has_content>
-        <a href="javascript:popupDetail();"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${productLargeImageUrl?if_exists}</@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class='cssImgLarge' alt="" /></a>
+        <a href="javascript:popupDetail();"><img src="<@ofbizContentUrl>${contentPathPrefix!}${productLargeImageUrl!}</@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class='cssImgLarge' alt="" /></a>
       </#if>
     </td>
     <td align="right" valign="top">
-      <h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>
-      <div>${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
-      <div><b>${product.productId?if_exists}</b></div>
+      <h2>${productContentWrapper.get("PRODUCT_NAME")!}</h2>
+      <div>${productContentWrapper.get("DESCRIPTION")!}</div>
+      <div><b>${product.productId!}</b></div>
       <#-- example of showing a certain type of feature with the product -->
       <#if sizeProductFeatureAndAppls?has_content>
         <div>
@@ -337,119 +337,119 @@
               - if price < defaultPrice and defaultPrice < listPrice, show default
               - if isSale show price with salePrice style and print "On Sale!"
       -->
-      <#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
+      <#if price.competitivePrice?? && price.price?? && price.price?double < price.competitivePrice?double>
         <div>${uiLabelMap.ProductCompareAtPrice}: <span class="basePrice"><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
       </#if>
-      <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+      <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
         <div>${uiLabelMap.ProductListPrice}: <span class="basePrice"><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
       </#if>
-      <#if price.listPrice?exists && price.defaultPrice?exists && price.price?exists && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
+      <#if price.listPrice?? && price.defaultPrice?? && price.price?? && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
         <div>${uiLabelMap.ProductRegularPrice}: <span class="basePrice"><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
       </#if>
-      <#if price.specialPromoPrice?exists>
+      <#if price.specialPromoPrice??>
         <div>${uiLabelMap.ProductSpecialPromoPrice}: <span class="basePrice"><@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed/></span></div>
       </#if>
       <div>
         <b>
-          <#if price.isSale?exists && price.isSale>
+          <#if price.isSale?? && price.isSale>
             <span class="salePrice">${uiLabelMap.OrderOnSale}!</span>
             <#assign priceStyle = "salePrice">
           <#else>
             <#assign priceStyle = "regularPrice">
           </#if>
-            ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
-             <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
-            <#if product.reserv2ndPPPerc?exists && product.reserv2ndPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReserv2ndPPPerc}<#if !product.reservNthPPPerc?exists || product.reservNthPPPerc == 0>${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}</#if> <@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed/></span></#if>
-            <#if product.reservNthPPPerc?exists &&product.reservNthPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReservNthPPPerc} <#if !product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0>${uiLabelMap.ProductReservSecond} <#else> ${uiLabelMap.ProductReservThird} </#if> ${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}, ${uiLabelMap.ProductEach}: <@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed/></span></#if>
-            <#if (!product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?exists || product.reservNthPPPerc == 0)><br />${uiLabelMap.ProductMaximum} ${product.reservMaxPersons!1} ${uiLabelMap.ProductPersons}.</#if>
+            ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></span>
+             <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
+            <#if product.reserv2ndPPPerc?? && product.reserv2ndPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReserv2ndPPPerc}<#if !product.reservNthPPPerc?? || product.reservNthPPPerc == 0>${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}</#if> <@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed/></span></#if>
+            <#if product.reservNthPPPerc?? &&product.reservNthPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReservNthPPPerc} <#if !product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0>${uiLabelMap.ProductReservSecond} <#else> ${uiLabelMap.ProductReservThird} </#if> ${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}, ${uiLabelMap.ProductEach}: <@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed/></span></#if>
+            <#if (!product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?? || product.reservNthPPPerc == 0)><br />${uiLabelMap.ProductMaximum} ${product.reservMaxPersons!1} ${uiLabelMap.ProductPersons}.</#if>
              </#if>
          </b>
       </div>
-      <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+      <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
         <#assign priceSaved = price.listPrice?double - price.price?double>
         <#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
         <div>${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
       </#if>
       <#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
-      <#if (showPriceDetails?exists && showPriceDetails?default("N") == "Y")>
-          <#if price.orderItemPriceInfos?exists>
+      <#if (showPriceDetails?? && showPriceDetails?default("N") == "Y")>
+          <#if price.orderItemPriceInfos??>
               <#list price.orderItemPriceInfos as orderItemPriceInfo>
-                  <div>${orderItemPriceInfo.description?if_exists}</div>
+                  <div>${orderItemPriceInfo.description!}</div>
               </#list>
           </#if>
       </#if>
 
       <#-- Included quantities/pieces -->
-      <#if product.piecesIncluded?exists && product.piecesIncluded?long != 0>
+      <#if product.piecesIncluded?? && product.piecesIncluded?long != 0>
         <div>
           ${uiLabelMap.OrderPieces}: ${product.piecesIncluded}
         </div>
       </#if>
-      <#if (product.quantityIncluded?exists && product.quantityIncluded?double != 0) || product.quantityUomId?has_content>
-        <#assign quantityUom = product.getRelatedOne("QuantityUom", true)?if_exists/>
+      <#if (product.quantityIncluded?? && product.quantityIncluded?double != 0) || product.quantityUomId?has_content>
+        <#assign quantityUom = product.getRelatedOne("QuantityUom", true)!/>
         <div>
-          ${uiLabelMap.CommonQuantity}: ${product.quantityIncluded?if_exists} ${((quantityUom.abbreviation)?default(product.quantityUomId))?if_exists}
+          ${uiLabelMap.CommonQuantity}: ${product.quantityIncluded!} ${((quantityUom.abbreviation)?default(product.quantityUomId))!}
         </div>
       </#if>
 
-      <#if (product.weight?exists && product.weight?double != 0) || product.weightUomId?has_content>
-        <#assign weightUom = product.getRelatedOne("WeightUom", true)?if_exists/>
+      <#if (product.weight?? && product.weight?double != 0) || product.weightUomId?has_content>
+        <#assign weightUom = product.getRelatedOne("WeightUom", true)!/>
         <div>
-          ${uiLabelMap.CommonWeight}: ${product.weight?if_exists} ${((weightUom.abbreviation)?default(product.weightUomId))?if_exists}
+          ${uiLabelMap.CommonWeight}: ${product.weight!} ${((weightUom.abbreviation)?default(product.weightUomId))!}
         </div>
       </#if>
-      <#if (product.productHeight?exists && product.productHeight?double != 0) || product.heightUomId?has_content>
-        <#assign heightUom = product.getRelatedOne("HeightUom", true)?if_exists/>
+      <#if (product.productHeight?? && product.productHeight?double != 0) || product.heightUomId?has_content>
+        <#assign heightUom = product.getRelatedOne("HeightUom", true)!/>
         <div>
-          ${uiLabelMap.CommonHeight}: ${product.productHeight?if_exists} ${((heightUom.abbreviation)?default(product.heightUomId))?if_exists}
+          ${uiLabelMap.CommonHeight}: ${product.productHeight!} ${((heightUom.abbreviation)?default(product.heightUomId))!}
         </div>
       </#if>
-      <#if (product.productWidth?exists && product.productWidth?double != 0) || product.widthUomId?has_content>
-        <#assign widthUom = product.getRelatedOne("WidthUom", true)?if_exists/>
+      <#if (product.productWidth?? && product.productWidth?double != 0) || product.widthUomId?has_content>
+        <#assign widthUom = product.getRelatedOne("WidthUom", true)!/>
         <div>
-          ${uiLabelMap.CommonWidth}: ${product.productWidth?if_exists} ${((widthUom.abbreviation)?default(product.widthUomId))?if_exists}
+          ${uiLabelMap.CommonWidth}: ${product.productWidth!} ${((widthUom.abbreviation)?default(product.widthUomId))!}
         </div>
       </#if>
-      <#if (product.productDepth?exists && product.productDepth?double != 0) || product.depthUomId?has_content>
-        <#assign depthUom = product.getRelatedOne("DepthUom", true)?if_exists/>
+      <#if (product.productDepth?? && product.productDepth?double != 0) || product.depthUomId?has_content>
+        <#assign depthUom = product.getRelatedOne("DepthUom", true)!/>
         <div>
-          ${uiLabelMap.CommonDepth}: ${product.productDepth?if_exists} ${((depthUom.abbreviation)?default(product.depthUomId))?if_exists}
+          ${uiLabelMap.CommonDepth}: ${product.productDepth!} ${((depthUom.abbreviation)?default(product.depthUomId))!}
         </div>
       </#if>
 
-      <#if daysToShip?exists>
+      <#if daysToShip??>
         <div><b>${uiLabelMap.ProductUsuallyShipsIn} <font color="red">${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
       </#if>
 
-      <#if disFeatureList?exists && 0 < disFeatureList.size()>
+      <#if disFeatureList?? && 0 < disFeatureList.size()>
       <p>&nbsp;</p>
         <#list disFeatureList as currentFeature>
             <#assign disFeatureType = currentFeature.getRelatedOne("ProductFeatureType", true)/>
             <div>
-                <#if disFeatureType.description?exists>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
+                <#if disFeatureType.description??>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
             </div>
         </#list>
             <div>&nbsp;</div>
       </#if>
 
-      <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform"  style="margin: 0;">
+      <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform"  style="margin: 0;">
         <#if requestAttributes.paramMap?has_content>
-          <input type="hidden" name="itemComment" value="${requestAttributes.paramMap.itemComment?if_exists}" />
-          <input type="hidden" name="shipBeforeDate" value="${requestAttributes.paramMap.shipBeforeDate?if_exists}" />
-          <input type="hidden" name="shipAfterDate" value="${requestAttributes.paramMap.shipAfterDate?if_exists}" />
-          <input type="hidden" name="itemDesiredDeliveryDate" value="${requestAttributes.paramMap.itemDesiredDeliveryDate?if_exists}" />
+          <input type="hidden" name="itemComment" value="${requestAttributes.paramMap.itemComment!}" />
+          <input type="hidden" name="shipBeforeDate" value="${requestAttributes.paramMap.shipBeforeDate!}" />
+          <input type="hidden" name="shipAfterDate" value="${requestAttributes.paramMap.shipAfterDate!}" />
+          <input type="hidden" name="itemDesiredDeliveryDate" value="${requestAttributes.paramMap.itemDesiredDeliveryDate!}" />
         </#if>
         <#assign inStock = true>
         <#-- Variant Selection -->
-        <#if product.isVirtual?if_exists?upper_case == "Y">
-          <#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+        <#if product.isVirtual!?upper_case == "Y">
+          <#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
             <#list featureLists as featureList>
                 <#list featureList as feature>
                     <#if feature_index == 0>
                         <div>${feature.description}: <select id="FT${feature.productFeatureTypeId}" name="FT${feature.productFeatureTypeId}" onchange="javascript:checkRadioButton();">
                         <option value="select" selected="selected"> select option </option>
                     <#else>
-                        <option value="${feature.productFeatureId}">${feature.description} <#if feature.price?exists>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId/>)</#if></option>
+                        <option value="${feature.productFeatureId}">${feature.description} <#if feature.price??>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId/>)</#if></option>
                     </#if>
                 </#list>
                 </select>
@@ -470,8 +470,8 @@
               &nbsp;
             </div>
           </#if>
-          <#if !product.virtualVariantMethodEnum?exists || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
-           <#if variantTree?exists && (variantTree.size() > 0)>
+          <#if !product.virtualVariantMethodEnum?? || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
+           <#if variantTree?? && (variantTree.size() > 0)>
             <#list featureSet as currentType>
               <div>
                 <select name="FT${currentType}" onchange="javascript:getList(this.name, (this.selectedIndex-1), 1);">
@@ -496,7 +496,7 @@
         <#else>
           <input type="hidden" name="product_id" value="${product.productId}"/>
           <input type="hidden" name="add_product_id" value="${product.productId}"/>
-          <#if productStoreId?exists>
+          <#if productStoreId??>
             <#assign isStoreInventoryNotAvailable = !(Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryAvailable(request, product, 1.0?double))>
             <#assign isStoreInventoryRequired = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequired(request, product)>
             <#if isStoreInventoryNotAvailable>
@@ -504,21 +504,21 @@
                 <div><b>${uiLabelMap.ProductItemOutOfStock}.</b></div>
                 <#assign inStock = false>
               <#else>
-                <div><b>${product.inventoryMessage?if_exists}</b></div>
+                <div><b>${product.inventoryMessage!}</b></div>
               </#if>
             </#if>
           </#if>
         </#if>
       </td></tr><tr><td colspan="2" align="right">
         <#-- check to see if introductionDate hasnt passed yet -->
-        <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+        <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
         <p>&nbsp;</p>
           <div style="color: red;">${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
         <#-- check to see if salesDiscontinuationDate has passed -->
-        <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
+        <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
           <div style="color: red;">${uiLabelMap.ProductProductNoLongerAvailable}.</div>
         <#-- check to see if the product requires inventory check and has inventory -->
-        <#elseif product.virtualVariantMethodEnum?if_exists != "VV_FEATURETREE">
+        <#elseif product.virtualVariantMethodEnum! != "VV_FEATURETREE">
           <#if inStock>
             <#if product.requireAmount?default("N") == "Y">
               <#assign hiddenStyle = "visible">
@@ -529,7 +529,7 @@
               <span style="white-space: nowrap;"><b>${uiLabelMap.CommonAmount}:</b></span>&nbsp;
               <input type="text" size="5" name="add_amount" value=""/>
             </div>
-            <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+            <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
                 <table width="100%"><tr>
                     <@htmlTemplate.renderDateTimeField name="reservStart" event="" action="" value="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="startDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <@htmlTemplate.renderDateTimeField name="reservEnd" event="" action="" value="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="endDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
@@ -538,12 +538,12 @@
                 <td nowrap="nowrap" align="right">Number of persons</td><td><input type="text" size="4" name="reservPersons" value="2"/></td>
                 <td nowrap="nowrap" align="right">Number of rooms</td><td><input type="text" size="5" name="quantity" value="1"/></td></tr></table>
             <#else/>
-                <input type="text" size="5" name="quantity" value="1"<#if product.isVirtual?if_exists?upper_case == "Y"> disabled="disabled"</#if>/>
+                <input type="text" size="5" name="quantity" value="1"<#if product.isVirtual!?upper_case == "Y"> disabled="disabled"</#if>/>
             </#if>
             <#-- This calls addItem() so that variants of virtual products cant be added before distinguishing features are selected, it should not be changed to additemSubmit() -->
             <a href="javascript:addItem()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.OrderAddToCart}</span></a>&nbsp;
           </#if>
-          <#if requestParameters.category_id?exists>
+          <#if requestParameters.category_id??>
             <input type="hidden" name="category_id" value="${requestParameters.category_id}"/>
           </#if>
         </#if>
@@ -551,10 +551,10 @@
     <div>
       <#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
         <hr />
-        <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
+        <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
           <input type="hidden" name="productId" value="${product.productId}"/>
           <input type="hidden" name="product_id" value="${product.productId}"/>
-          <input type="hidden" name="productStoreId" value="${productStoreId?if_exists}"/>
+          <input type="hidden" name="productStoreId" value="${productStoreId!}"/>
           <input type="hidden" name="reservStart" value= ""/>
           <select name="shoppingListId">
             <#if shoppingLists?has_content>
@@ -566,7 +566,7 @@
             <option value="">${uiLabelMap.OrderNewShoppingList}</option>
           </select>
           &nbsp;&nbsp;
-          <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+          <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
               <table><tr><td>&nbsp;</td><td align="right">${uiLabelMap.CommonStartDate} (yyyy-mm-dd)</td><td><input type="text" size="10" name="reservStartStr" /></td><td>Number of&nbsp;days</td><td><input type="text" size="4" name="reservLength" /></td><td>&nbsp;</td><td align="right">Number of&nbsp;persons</td><td><input type="text" size="4" name="reservPersons" value="1" /></td><td align="right">Qty&nbsp;</td><td><input type="text" size="5" name="quantity" value="1" /></td></tr></table>
           <#else>
               <input type="text" size="5" name="quantity" value="1"/>
@@ -580,12 +580,12 @@
       </#if>
       </div>
       <#-- Prefill first select box (virtual products only) -->
-      <#if variantTree?exists && 0 < variantTree.size()>
+      <#if variantTree?? && 0 < variantTree.size()>
         <script language="JavaScript" type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script>
       </#if>
 
       <#-- Swatches (virtual products only) -->
-      <#if variantSample?exists && 0 < variantSample.size()>
+      <#if variantSample?? && 0 < variantSample.size()>
         <#assign imageKeys = variantSample.keySet()>
         <#assign imageMap = variantSample>
         <p>&nbsp;</p>
@@ -596,15 +596,15 @@
             <#list imageKeys as key>
               <#assign swatchProduct = imageMap.get(key)>
               <#if swatchProduct?has_content && indexer < maxIndex>
-                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)?if_exists>
+                <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)!>
                 <#if !imageUrl?string?has_content>
-                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")?if_exists>
+                  <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")!>
                 </#if>
                 <#if !imageUrl?string?has_content>
                   <#assign imageUrl = "/images/defaultImage.jpg">
                 </#if>
                 <td align="center" valign="bottom">
-                  <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${imageUrl}</@ofbizContentUrl>" class='cssImgSmall' alt="" /></a>
+                  <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix!}${imageUrl}</@ofbizContentUrl>" class='cssImgSmall' alt="" /></a>
                   <br />
                   <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);" class="linktext">${key}</a>
                 </td>
@@ -633,8 +633,8 @@
 
   <#-- Long description of product -->
   <div id="long-description">
-      <div>${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
-      <div>${productContentWrapper.get("WARNINGS")?if_exists}</div>
+      <div>${productContentWrapper.get("LONG_DESCRIPTION")!}</div>
+      <div>${productContentWrapper.get("WARNINGS")!}</div>
   </div>
 
   <#-- Any attributes/etc may go here -->
@@ -646,15 +646,15 @@
     <#assign targetRequest = targetRequestName>
   </#if>
   <#if assocProducts?has_content>
-    <h2>${beforeName?if_exists}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</#if>${afterName?if_exists}</h2>
+    <h2>${beforeName!}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")!}</#if>${afterName!}</h2>
 
     <div class="productsummary-container">
     <#list assocProducts as productAssoc>
         <div>
-          <a href="<@ofbizUrl>${targetRequest}/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo?if_exists}</@ofbizUrl>" class="buttontext">
-            ${productAssoc.productIdTo?if_exists}
+          <a href="<@ofbizUrl>${targetRequest}/<#if categoryId??>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo!}</@ofbizUrl>" class="buttontext">
+            ${productAssoc.productIdTo!}
           </a>
-          - <b>${productAssoc.reason?if_exists}</b>
+          - <b>${productAssoc.reason!}</b>
         </div>
       ${setRequestAttribute("optProductId", productAssoc.productIdTo)}
       ${setRequestAttribute("listIndex", listIndex)}
Index: applications/order/webapp/ordermgr/entry/catalog/quickaddsummary.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/catalog/quickaddsummary.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/catalog/quickaddsummary.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if product?exists>
+<#if product??>
   <span class="pid">
     <div>
       <b>${product.productId}</b>
@@ -25,12 +25,12 @@
   </span>
   <span class="name">
     <div>
-      <a href="<@ofbizUrl>product?product_id=${product.productId}</@ofbizUrl>" class="buttontext">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</a>
+      <a href="<@ofbizUrl>product?product_id=${product.productId}</@ofbizUrl>" class="buttontext">${productContentWrapper.get("PRODUCT_NAME")!}</a>
     </div>
   </span>
   <span class="listPrice">
     <div>
-      <#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
+      <#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
         ${uiLabelMap.ProductListPrice}: <@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/>
       <#else>
         &nbsp;
@@ -38,25 +38,25 @@
     </div>
   </span>
   <span class="totalPrice">
-    <#if totalPrice?exists>
+    <#if totalPrice??>
         <div>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
     <#else>
-      <div class="<#if price.isSale?exists && price.isSale>salePrice<#else>normalPrice</#if>">
+      <div class="<#if price.isSale?? && price.isSale>salePrice<#else>normalPrice</#if>">
         <b><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></b>
       </div>
     </#if>
   </span>
   <span class="qty">
     <#-- check to see if introductionDate hasn't passed yet -->
-    <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+    <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
       <div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
     <#-- check to see if salesDiscontinuationDate has passed -->
-    <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.before(product.salesDiscontinuationDate)>
+    <#elseif product.salesDiscontinuationDate?? && nowTimestamp.before(product.salesDiscontinuationDate)>
       <div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
     <#-- check to see if the product is a virtual product -->
     <#elseif product.isVirtual?default("N") == "Y">
       <div>
-        <a href="<@ofbizUrl>product?<#if categoryId?exists>category_id=${categoryId}&amp;</#if>product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
+        <a href="<@ofbizUrl>product?<#if categoryId??>category_id=${categoryId}&amp;</#if>product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
       </div>
     <#else>
       <div>
Index: applications/order/webapp/ordermgr/entry/orderagreements.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/orderagreements.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/orderagreements.ftl	(working copy)
@@ -30,7 +30,7 @@
   <div class="screenlet-body">
     <table>
 
-      <#if agreements?exists>
+      <#if agreements??>
       <tr><td colspan="4">&nbsp;<input type='hidden' name='hasAgreements' value='Y'/></td></tr>
       
       <tr>
@@ -46,7 +46,7 @@
             <select name="agreementId">
             <option value="">${uiLabelMap.CommonNone}</option>
             <#list agreements as agreement>
-            <option value='${agreement.agreementId}' >${agreement.agreementId} - ${agreement.description?if_exists}</option>
+            <option value='${agreement.agreementId}' >${agreement.agreementId} - ${agreement.description!}</option>
             </#list>
             </select>
           </div>
@@ -55,7 +55,7 @@
       <#else>
       <tr><td colspan="4">&nbsp;<input type='hidden' name='hasAgreements' value='N'/></td></tr>
       </#if>
-      <#if agreementRoles?exists>
+      <#if agreementRoles??>
         <tr>
           <td>&nbsp;</td>
           <td align='right' valign='top' nowrap="nowrap">
@@ -69,7 +69,7 @@
               <select name="agreementId">
               <option value="">${uiLabelMap.CommonNone}</option>
               <#list agreementRoles as agreementRole>
-                  <option value='${agreementRole.agreementId?if_exists}' >${agreementRole.agreementId?if_exists} - ${agreementRole.roleTypeId?if_exists}</option>
+                  <option value='${agreementRole.agreementId!}' >${agreementRole.agreementId!} - ${agreementRole.roleTypeId!}</option>
               </#list>
               </select>
             </div>
@@ -118,7 +118,7 @@
         <td>&nbsp;</td>
         <td align='right' valign='middle' nowrap="nowrap">
           <div class='tableheadtext'>
-            <#if agreements?exists>${uiLabelMap.OrderSelectCurrencyOr}
+            <#if agreements??>${uiLabelMap.OrderSelectCurrencyOr}
             <#else>${uiLabelMap.OrderSelectCurrency}
             </#if>
           </div>
@@ -145,7 +145,7 @@
         <td>
            <#if catalogCol?has_content>
            <select name='CURRENT_CATALOG_ID'>
-            <#list catalogCol?if_exists as catalogId>
+            <#list catalogCol! as catalogId>
               <#assign thisCatalogName = Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
               <option value="${catalogId}" <#if currentCatalogId?default('') == catalogId>selected="selected"</#if> >${thisCatalogName}</option>
             </#list>
Index: applications/order/webapp/ordermgr/entry/orderterms.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/orderterms.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/orderterms.ftl	(working copy)
@@ -39,9 +39,9 @@
                                 <#list orderTerms as orderTerm>
                                     <tr <#if orderTerm_index % 2 != 0>class="alternate-row"</#if> >
                                         <td nowrap="nowrap">${orderTerm.getRelatedOne('TermType', false).get('description', locale)}</td>
-                                        <td align="center">${orderTerm.termValue?if_exists}</td>
-                                        <td align="center">${orderTerm.termDays?if_exists}</td>
-                                        <td nowrap="nowrap">${orderTerm.textValue?if_exists}</td>
+                                        <td align="center">${orderTerm.termValue!}</td>
+                                        <td align="center">${orderTerm.termDays!}</td>
+                                        <td nowrap="nowrap">${orderTerm.textValue!}</td>
                                         <td align="right">
                                             <a href="<@ofbizUrl>setOrderTerm?termIndex=${orderTerm_index}&amp;createNew=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonUpdate}</a>
                                             <a href="<@ofbizUrl>removeCartOrderTerm?termIndex=${orderTerm_index}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRemove}</a>
@@ -56,7 +56,7 @@
                             </table>
                         <#else>
                             <form method="post" action="<@ofbizUrl>addOrderTerm</@ofbizUrl>" name="termform">
-                                <input type="hidden" name="termIndex" value="${termIndex?if_exists}" />
+                                <input type="hidden" name="termIndex" value="${termIndex!}" />
                                 <table class="basic-table">
                                     <tr>
                                         <td width="26%" align="right" valign="top">
@@ -66,7 +66,7 @@
                                         <td width="74%">
                                             <select name="termTypeId">
                                                 <option value=""></option>
-                                                <#list termTypes?if_exists as termType>
+                                                <#list termTypes! as termType>
                                                     <option value="${termType.termTypeId}"
                                                         <#if termTypeId?default('') == termType.termTypeId>selected="selected"</#if>
                                                     >${termType.get('description', locale)}</option>
@@ -80,7 +80,7 @@
                                     </td>
                                     <td width="5">&nbsp;</td>
                                     <td width="74%">
-                                        <input type="text" size="30" maxlength="60" name="termValue" value="${termValue?if_exists}" />
+                                        <input type="text" size="30" maxlength="60" name="termValue" value="${termValue!}" />
                                     </td>
                                     </tr>
                                     <tr>
@@ -89,7 +89,7 @@
                                         </td>
                                         <td width="5">&nbsp;</td>
                                         <td width="74%">
-                                            <input type="text" size="30" maxlength="60" name="termDays" value="${termDays?if_exists}" />
+                                            <input type="text" size="30" maxlength="60" name="termDays" value="${termDays!}" />
                                         </td>
                                     </tr>
                                     <tr>
@@ -98,7 +98,7 @@
                                         </td>
                                         <td width="5">&nbsp;</td>
                                         <td width="74%">
-                                            <input type="text" size="30" maxlength="255" name="textValue" value="${textValue?if_exists}" />
+                                            <input type="text" size="30" maxlength="255" name="textValue" value="${textValue!}" />
                                         </td>
                                     </tr>
                                     <tr>
Index: applications/order/webapp/ordermgr/entry/order/orderitems.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/order/orderitems.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/order/orderitems.ftl	(working copy)
@@ -36,21 +36,21 @@
             <td width="10%" align="right"><span><b>${uiLabelMap.OrderAdjustments}</b></span></td>
             <td width="10%" align="right"><span><b>${uiLabelMap.OrderSubTotal}</b></span></td>
           </tr>
-          <#list orderItems?if_exists as orderItem>
-            <#assign itemType = orderItem.getRelatedOne("OrderItemType", false)?if_exists>
+          <#list orderItems! as orderItem>
+            <#assign itemType = orderItem.getRelatedOne("OrderItemType", false)!>
             <tr><td colspan="6"><hr /></td></tr>
             <tr>
-              <#if orderItem.productId?exists && orderItem.productId == "_?_">
+              <#if orderItem.productId?? && orderItem.productId == "_?_">
                 <td colspan="1" valign="top">
                   <b><div> &gt;&gt; ${orderItem.itemDescription}</div></b>
                 </td>
               <#else>
                 <td valign="top">
                   <div>
-                    <#if orderItem.productId?exists>
+                    <#if orderItem.productId??>
                       <a href="<@ofbizUrl>product?product_id=${orderItem.productId}</@ofbizUrl>" class="buttontext">${orderItem.productId} - ${orderItem.itemDescription}</a>
                     <#else>
-                      <b>${itemType?if_exists.description?if_exists}</b> : ${orderItem.itemDescription?if_exists}
+                      <b>${(itemType.description)!}</b> : ${orderItem.itemDescription!}
                     </#if>
                   </div>
 
@@ -75,11 +75,11 @@
               </#if>
             </tr>
             <#-- show info from workeffort if it was a rental item -->
-            <#if orderItem.orderItemTypeId?exists && orderItem.orderItemTypeId == "RENTAL_ORDER_ITEM">
-                <#assign WorkOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)?if_exists>
+            <#if orderItem.orderItemTypeId?? && orderItem.orderItemTypeId == "RENTAL_ORDER_ITEM">
+                <#assign WorkOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)!>
                 <#if WorkOrderItemFulfillments?has_content>
                     <#list WorkOrderItemFulfillments as WorkOrderItemFulfillment>
-                        <#assign workEffort = WorkOrderItemFulfillment.getRelatedOne("WorkEffort", true)?if_exists>
+                        <#assign workEffort = WorkOrderItemFulfillment.getRelatedOne("WorkEffort", true)!>
                           <tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="8"><div>${uiLabelMap.CommonFrom}: ${workEffort.estimatedStartDate?string("yyyy-MM-dd")} ${uiLabelMap.CommonTo}: ${workEffort.estimatedCompletionDate?string("yyyy-MM-dd")} ${uiLabelMap.OrderNbrPersons}: ${workEffort.reservPersons}</div></td></tr>
                         <#break><#-- need only the first one -->
                     </#list>
@@ -99,16 +99,16 @@
                       <#if orderItemAdjustment.primaryGeoId?has_content>
                         <#assign primaryGeo = orderItemAdjustment.getRelatedOne("PrimaryGeo", true)/>
                         <#if primaryGeo.geoName?has_content>
-                            <b>${uiLabelMap.OrderJurisdiction}:</b> ${primaryGeo.geoName} [${primaryGeo.abbreviation?if_exists}]
+                            <b>${uiLabelMap.OrderJurisdiction}:</b> ${primaryGeo.geoName} [${primaryGeo.abbreviation!}]
                         </#if>
                         <#if orderItemAdjustment.secondaryGeoId?has_content>
                           <#assign secondaryGeo = orderItemAdjustment.getRelatedOne("SecondaryGeo", true)/>
-                          (<b>in:</b> ${secondaryGeo.geoName} [${secondaryGeo.abbreviation?if_exists}])
+                          (<b>in:</b> ${secondaryGeo.geoName} [${secondaryGeo.abbreviation!}])
                         </#if>
                       </#if>
-                      <#if orderItemAdjustment.sourcePercentage?exists><b>${uiLabelMap.OrderRate}:</b> ${orderItemAdjustment.sourcePercentage}%</#if>
+                      <#if orderItemAdjustment.sourcePercentage??><b>${uiLabelMap.OrderRate}:</b> ${orderItemAdjustment.sourcePercentage}%</#if>
                       <#if orderItemAdjustment.customerReferenceId?has_content><b>${uiLabelMap.OrderCustomerTaxId}:</b> ${orderItemAdjustment.customerReferenceId}</#if>
-                      <#if orderItemAdjustment.exemptAmount?exists><b>${uiLabelMap.OrderExemptAmount}:</b> ${orderItemAdjustment.exemptAmount}</#if>
+                      <#if orderItemAdjustment.exemptAmount??><b>${uiLabelMap.OrderExemptAmount}:</b> ${orderItemAdjustment.exemptAmount}</#if>
                     </#if>
                   </div>
                 </td>
@@ -130,9 +130,9 @@
           <tr><td colspan="8"><hr /></td></tr>
           <tr>
             <td align="right" colspan="4"><div><b>${uiLabelMap.OrderSubTotal}</b></div></td>
-            <td align="right" nowrap="nowrap"><div>&nbsp;<#if orderSubTotal?exists><@ofbizCurrency amount=orderSubTotal isoCode=currencyUomId/></#if></div></td>
+            <td align="right" nowrap="nowrap"><div>&nbsp;<#if orderSubTotal??><@ofbizCurrency amount=orderSubTotal isoCode=currencyUomId/></#if></div></td>
           </tr>
-          <#list headerAdjustmentsToShow?if_exists as orderHeaderAdjustment>
+          <#list headerAdjustmentsToShow! as orderHeaderAdjustment>
             <tr>
               <td align="right" colspan="4"><div><b>${localOrderReadHelper.getAdjustmentType(orderHeaderAdjustment)}</b></div></td>
               <td align="right" nowrap="nowrap"><div><@ofbizCurrency amount=localOrderReadHelper.getOrderAdjustmentTotal(orderHeaderAdjustment) isoCode=currencyUomId/></div></td>
@@ -140,18 +140,18 @@
           </#list>
           <tr>
             <td align="right" colspan="4"><div><b>${uiLabelMap.FacilityShippingAndHandling}</b></div></td>
-            <td align="right" nowrap="nowrap"><div><#if orderShippingTotal?exists><@ofbizCurrency amount=orderShippingTotal isoCode=currencyUomId/></#if></div></td>
+            <td align="right" nowrap="nowrap"><div><#if orderShippingTotal??><@ofbizCurrency amount=orderShippingTotal isoCode=currencyUomId/></#if></div></td>
           </tr>
           <tr>
             <td align="right" colspan="4"><div><b>${uiLabelMap.OrderSalesTax}</b></div></td>
-            <td align="right" nowrap="nowrap"><div><#if orderTaxTotal?exists><@ofbizCurrency amount=orderTaxTotal isoCode=currencyUomId/></#if></div></td>
+            <td align="right" nowrap="nowrap"><div><#if orderTaxTotal??><@ofbizCurrency amount=orderTaxTotal isoCode=currencyUomId/></#if></div></td>
           </tr>
 
           <tr><td colspan=2></td><td colspan="8"><hr /></td></tr>
           <tr>
             <td align="right" colspan="4"><div><b>${uiLabelMap.OrderGrandTotal}</b></div></td>
             <td align="right" nowrap="nowrap">
-              <div><#if orderGrandTotal?exists><@ofbizCurrency amount=orderGrandTotal isoCode=currencyUomId/></#if></div>
+              <div><#if orderGrandTotal??><@ofbizCurrency amount=orderGrandTotal isoCode=currencyUomId/></#if></div>
             </td>
           </tr>
         </table>
Index: applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/order/orderheaderinfo.ftl	(working copy)
@@ -34,7 +34,7 @@
             <tr><td colspan="7"><hr /></td></tr>
         </#if>
         <#-- order for party -->
-        <#if (orderForParty?exists)>
+        <#if (orderForParty??)>
             <tr>
                 <td align="right" valign="top" width="15%">
                     <span>&nbsp;<b>${uiLabelMap.OrderOrderFor}</b> </span>
@@ -132,7 +132,7 @@
             </tr>
         </#if>
             <tr><td colspan="7"><hr /></td></tr>
-        <#if orderType != "PURCHASE_ORDER" && (productStore.showCheckoutGiftOptions)?if_exists != "N">
+        <#if orderType != "PURCHASE_ORDER" && (productStore.showCheckoutGiftOptions)! != "N">
         <#-- gift settings -->
             <tr>
                 <td align="right" valign="top" width="15%">
Index: applications/order/webapp/ordermgr/entry/order/orderpaymentinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/order/orderpaymentinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/order/orderpaymentinfo.ftl	(working copy)
@@ -105,7 +105,7 @@
             <td width="5">&nbsp;</td>
             <td valign="top" width="80%">
               <div>
-                #${billingAccount.billingAccountId?if_exists} - ${billingAccount.description?if_exists}
+                #${billingAccount.billingAccountId!} - ${billingAccount.description!}
               </div>
             </td>
           </tr>
Index: applications/order/webapp/ordermgr/entry/order/shipGroupConfirmSummary.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/order/shipGroupConfirmSummary.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/order/shipGroupConfirmSummary.ftl	(working copy)
@@ -24,9 +24,9 @@
 standard order confirmation page and to be re-usable by other screens.
 -->
 
-<#if !(cart?exists)><#assign cart = shoppingCart?if_exists/></#if>
+<#if !(cart??)><#assign cart = shoppingCart!/></#if>
 
-<#if cart?exists>
+<#if cart??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <div class="h3">${uiLabelMap.OrderShippingInformation}</div>
@@ -63,34 +63,34 @@
         <#-- address destination column (spans a number of rows = number of cart items in it) -->
 
         <td rowspan="${numberOfItems}">
-          <#assign contactMech = delegator.findOne("ContactMech", Static["org.ofbiz.base.util.UtilMisc"].toMap("contactMechId", cartShipInfo.contactMechId), false)?if_exists />
+          <#assign contactMech = delegator.findOne("ContactMech", Static["org.ofbiz.base.util.UtilMisc"].toMap("contactMechId", cartShipInfo.contactMechId), false)! />
           <#if contactMech?has_content>
-            <#assign address = contactMech.getRelatedOne("PostalAddress", false)?if_exists />
+            <#assign address = contactMech.getRelatedOne("PostalAddress", false)! />
           </#if>
 
-          <#if address?exists>
+          <#if address??>
             <#if address.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${address.toName}<br /></#if>
             <#if address.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b>&nbsp;${address.attnName}<br /></#if>
             <#if address.address1?has_content>${address.address1}<br /></#if>
             <#if address.address2?has_content>${address.address2}<br /></#if>
             <#if address.city?has_content>${address.city}</#if>
             <#if address.stateProvinceGeoId?has_content>&nbsp;${address.stateProvinceGeoId}</#if>
-            <#if address.postalCode?has_content>, ${address.postalCode?if_exists}</#if>
+            <#if address.postalCode?has_content>, ${address.postalCode!}</#if>
           </#if>
         </td>
 
         <#-- supplier id (for drop shipments) (also spans rows = number of items) -->
 
         <td rowspan="${numberOfItems}" valign="top">
-          <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getSupplierPartyId()), false)?if_exists />
+          <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getSupplierPartyId()), false)! />
           <#if supplier?has_content>${supplier.groupName?default(supplier.partyId)}</#if>
         </td>
 
         <#-- carrier column (also spans rows = number of items) -->
 
         <td rowspan="${numberOfItems}" valign="top">
-          <#assign carrier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getCarrierPartyId()), false)?if_exists />
-          <#assign method =  delegator.findOne("ShipmentMethodType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentMethodTypeId", cartShipInfo.getShipmentMethodTypeId()), false)?if_exists />
+          <#assign carrier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getCarrierPartyId()), false)! />
+          <#assign method =  delegator.findOne("ShipmentMethodType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentMethodTypeId", cartShipInfo.getShipmentMethodTypeId()), false)! />
           <#if carrier?has_content>${carrier.groupName?default(carrier.partyId)}</#if>
           <#if method?has_content>${method.description?default(method.shipmentMethodTypeId)}</#if>
         </td>
Index: applications/order/webapp/ordermgr/entry/poheader.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/poheader.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/poheader.ftl	(working copy)
@@ -25,7 +25,7 @@
       <#-- header box -->
         <div class="screenlet">
             <div class="screenlet-title-bar">
-                <div class="h3">PO For ${partyId?if_exists}</div>
+                <div class="h3">PO For ${partyId!}</div>
             </div>
             <div class="screenlet-body">
                 <table width="100%" border="0" cellpadding="1" cellspacing="0">
Index: applications/order/webapp/ordermgr/entry/optionsettings.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/optionsettings.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/optionsettings.ftl	(working copy)
@@ -37,10 +37,10 @@
               </tr>
               <tr>
                 <td colspan="2">
-                  <textarea cols="30" rows="3" name="internal_order_notes"><#if (cart.getInternalOrderNotes().size()>0)>${(cart.getInternalOrderNotes()[0])?if_exists}</#if></textarea>
+                  <textarea cols="30" rows="3" name="internal_order_notes"><#if (cart.getInternalOrderNotes().size()>0)>${(cart.getInternalOrderNotes()[0])!}</#if></textarea>
                 </td>
                 <td colspan="2">
-                  <textarea cols="30" rows="3" name="shippingNotes"><#if (cart.getOrderNotes().size()>0)>${(cart.getOrderNotes()[0])?if_exists}</#if></textarea>
+                  <textarea cols="30" rows="3" name="shippingNotes"><#if (cart.getOrderNotes().size()>0)>${(cart.getOrderNotes()[0])!}</#if></textarea>
                 </td>
               </tr>
             </table>
@@ -52,11 +52,11 @@
 <#list 1..cart.getShipGroupSize() as currIndex>
 <#assign shipGroupIndex = currIndex - 1>
 
-<#if cart.getShipmentMethodTypeId(shipGroupIndex)?exists && cart.getCarrierPartyId(shipGroupIndex)?exists>
+<#if cart.getShipmentMethodTypeId(shipGroupIndex)?? && cart.getCarrierPartyId(shipGroupIndex)??>
     <#assign chosenShippingMethod = cart.getShipmentMethodTypeId(shipGroupIndex) + '@' + cart.getCarrierPartyId(shipGroupIndex)>
 </#if>
-<#assign supplierPartyId = cart.getSupplierPartyId(shipGroupIndex)?if_exists>
-<#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", supplierPartyId), false)?if_exists />
+<#assign supplierPartyId = cart.getSupplierPartyId(shipGroupIndex)!>
+<#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", supplierPartyId), false)! />
 
               <table width="100%" cellpadding="1" border="0" cellpadding="0" cellspacing="0">
               <tr><td colspan="2"><hr /></td></tr>
@@ -81,8 +81,8 @@
                   </td>
                   <td valign="top">
                     <label for="${shipGroupIndex?default("0")}_shipping_method_${shippingMethod}">
-                      <#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId?if_exists}&nbsp;</#if>${carrierShipmentMethod.description?if_exists}
-                      <#if cart.getShippingContactMechId(shipGroupIndex)?exists>
+                      <#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId!}&nbsp;</#if>${carrierShipmentMethod.description!}
+                      <#if cart.getShippingContactMechId(shipGroupIndex)??>
                         <#assign shippingEst = shipEstimateWrapper.getShippingEstimate(carrierShipmentMethod)?default(-1)>
                         <#if shippingEst?has_content>
                           &nbsp;-&nbsp;
@@ -97,7 +97,7 @@
                   </td>
                 </tr>
                 </#list>
-                <#if !carrierShipmentMethodList?exists || carrierShipmentMethodList?size == 0>
+                <#if !carrierShipmentMethodList?? || carrierShipmentMethodList?size == 0>
                 <tr>
                   <td width='1%' valign="top">
                     <input type='radio' name='${shipGroupIndex?default("0")}_shipping_method' value="Default" checked="checked" />
@@ -116,7 +116,7 @@
                    <tr>
                      <input type='hidden' name='${shipGroupIndex?default("0")}_shipping_method' value="STANDARD@_NA_" />
                      <td>
-                       <input type='text' name='${shipGroupIndex?default("0")}_ship_estimate' value="${cart.getItemShipGroupEstimate(shipGroupIndex?default('0'))?if_exists}"/>
+                       <input type='text' name='${shipGroupIndex?default("0")}_ship_estimate' value="${cart.getItemShipGroupEstimate(shipGroupIndex?default('0'))!}"/>
                      </td>
                    </tr>
                </#if>
@@ -149,7 +149,7 @@
                 <tr>
                     <td colspan="2">
                     <div>
-                      <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipBeforeDate" event="" action="" value="${(cart.getShipBeforeDate(shipGroupIndex))?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipBeforeDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                      <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipBeforeDate" event="" action="" value="${(cart.getShipBeforeDate(shipGroupIndex))!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipBeforeDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     </div>
                     </td>
                 </tr>
@@ -161,7 +161,7 @@
                 <tr>
                     <td colspan="2">
                     <div>
-                      <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipAfterDate" event="" action="" value="${(cart.getShipAfterDate(shipGroupIndex))?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipAfterDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                      <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipAfterDate" event="" action="" value="${(cart.getShipAfterDate(shipGroupIndex))!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipAfterDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     </div>
                     </td>
                 </tr>
@@ -172,7 +172,7 @@
                 </tr>
                 <tr>
                   <td colspan="2">
-                    <textarea cols="30" rows="3" name="${shipGroupIndex?default("0")}_shipping_instructions">${cart.getShippingInstructions(shipGroupIndex)?if_exists}</textarea>
+                    <textarea cols="30" rows="3" name="${shipGroupIndex?default("0")}_shipping_instructions">${cart.getShippingInstructions(shipGroupIndex)!}</textarea>
                   </td>
                 </tr>
 
@@ -197,7 +197,7 @@
                     </tr>
                     <tr>
                         <td colspan="2">
-                            <textarea cols="30" rows="3" name="${shipGroupIndex?default('0')}_gift_message">${cart.getGiftMessage(shipGroupIndex)?if_exists}</textarea>
+                            <textarea cols="30" rows="3" name="${shipGroupIndex?default('0')}_gift_message">${cart.getGiftMessage(shipGroupIndex)!}</textarea>
                         </td>
                     </tr>
                 </#if>
Index: applications/order/webapp/ordermgr/entry/customertaxinfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/customertaxinfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/customertaxinfo.ftl	(working copy)
@@ -16,11 +16,11 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if partyTaxAuthInfoAndDetailList?exists>
+<#if partyTaxAuthInfoAndDetailList??>
     <#list partyTaxAuthInfoAndDetailList as partyTaxAuthInfoAndDetail>
         <div>
             <a href="<@ofbizUrl>deleteCustomerTaxAuthInfo?partyId=${partyId}&amp;taxAuthPartyId=${partyTaxAuthInfoAndDetail.taxAuthPartyId}&amp;taxAuthGeoId=${partyTaxAuthInfoAndDetail.taxAuthGeoId}&amp;fromDate=${partyTaxAuthInfoAndDetail.fromDate}</@ofbizUrl>" class="buttontext">X</a>
-            [${partyTaxAuthInfoAndDetail.geoCode}] ${partyTaxAuthInfoAndDetail.geoName} (${partyTaxAuthInfoAndDetail.groupName?if_exists}): ${uiLabelMap.PartyTaxId} [${partyTaxAuthInfoAndDetail.partyTaxId?default("N/A")}], ${uiLabelMap.PartyTaxIsExempt} [${partyTaxAuthInfoAndDetail.isExempt?default("N")}]
+            [${partyTaxAuthInfoAndDetail.geoCode}] ${partyTaxAuthInfoAndDetail.geoName} (${partyTaxAuthInfoAndDetail.groupName!}): ${uiLabelMap.PartyTaxId} [${partyTaxAuthInfoAndDetail.partyTaxId?default("N/A")}], ${uiLabelMap.PartyTaxIsExempt} [${partyTaxAuthInfoAndDetail.isExempt?default("N")}]
         </div>
     </#list>
     <div>
@@ -28,7 +28,7 @@
         <select name="taxAuthPartyGeoIds">
           <option></option>
           <#list taxAuthorityAndDetailList as taxAuthorityAndDetail>
-            <option value="${taxAuthorityAndDetail.taxAuthPartyId}::${taxAuthorityAndDetail.taxAuthGeoId}">[${taxAuthorityAndDetail.geoCode}] ${taxAuthorityAndDetail.geoName} (${taxAuthorityAndDetail.groupName?if_exists})</option>
+            <option value="${taxAuthorityAndDetail.taxAuthPartyId}::${taxAuthorityAndDetail.taxAuthGeoId}">[${taxAuthorityAndDetail.geoCode}] ${taxAuthorityAndDetail.geoName} (${taxAuthorityAndDetail.groupName!})</option>
           </#list>
         </select>
         <span>${uiLabelMap.CommonId}: </span><input type="text" name="partyTaxId" size="12" maxlength="40"/>
Index: applications/order/webapp/ordermgr/entry/orderShortcuts.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/orderShortcuts.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/orderShortcuts.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#assign shoppingCart = sessionAttributes.shoppingCart?if_exists>
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
 
 <div class="screenlet">
     <div class="screenlet-title-bar">
@@ -35,16 +35,16 @@
             <#if shoppingCart.getOrderType() == "SALES_ORDER">
               <li><a href="<@ofbizUrl>createCustRequestFromCart?destroyCart=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateCustRequestFromCart}</a></li>
             </#if>
-            <li><a href="/partymgr/control/findparty?${externalKeyParam?if_exists}" class="buttontext">${uiLabelMap.PartyFindParty}</a></li>
+            <li><a href="/partymgr/control/findparty?${externalKeyParam!}" class="buttontext">${uiLabelMap.PartyFindParty}</a></li>
             <#if shoppingCart.getOrderType() == "SALES_ORDER">
               <li><a href="<@ofbizUrl>setCustomer</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyCreateNewCustomer}</a></li>
             </#if>
             <li><a href="<@ofbizUrl>checkinits</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyChangeParty}</a></li>
             <#if security.hasEntityPermission("CATALOG", "_CREATE", session)>
-               <li><a href="/catalog/control/EditProduct?${externalKeyParam?if_exists}" target="catalog" class="buttontext">${uiLabelMap.ProductCreateNewProduct}</a></li>
+               <li><a href="/catalog/control/EditProduct?${externalKeyParam!}" target="catalog" class="buttontext">${uiLabelMap.ProductCreateNewProduct}</a></li>
             </#if>
             <li><a href="<@ofbizUrl>quickadd</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderQuickAdd}</a></li>
-            <#if shoppingLists?exists>
+            <#if shoppingLists??>
               <li><a href="<@ofbizUrl>viewPartyShoppingLists?partyId=${partyId}</@ofbizUrl>" class="buttontext">${uiLabelMap.PageTitleShoppingList}</a></li>
             </#if>
         </ul>
Index: applications/order/webapp/ordermgr/entry/addrsettings.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/addrsettings.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/addrsettings.ftl	(working copy)
@@ -39,13 +39,13 @@
 
         <#-- postal addresses for chosen id -->
 
-        <#if partyContactMechPurposes?exists>
+        <#if partyContactMechPurposes??>
           <#list partyContactMechPurposes as partyContactMechPurpose>
             <#assign shippingAddress = partyContactMechPurpose.getRelatedOne("PostalAddress", false)/>
 
             <#-- skip non-postal addresses -->
 
-            <#if shippingAddress.toName?exists>
+            <#if shippingAddress.toName??>
               <tr>
                 <td valign="top" nowrap="nowrap">
                   <input type="radio" name="shipping_contact_mech_id" value="${partyContactMechPurpose.contactMechId}" />
Index: applications/order/webapp/ordermgr/entry/orderparty.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/orderparty.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/orderparty.ftl	(working copy)
@@ -36,12 +36,12 @@
         <tr>
           <td align="center">
             <#if person?has_content>
-              <div><a href="${customerDetailLink}${partyId}" class="buttontext">${person.firstName?if_exists}&nbsp;${person.lastName?if_exists}</a></div>
+              <div><a href="${customerDetailLink}${partyId}" class="buttontext">${person.firstName!}&nbsp;${person.lastName!}</a></div>
             <#elseif partyGroup?has_content>
-                              <div class='tabletext'><a href="${customerDetailLink}${partyId}" class="buttontext">${partyGroup.groupName?if_exists}</a></div>
+                              <div class='tabletext'><a href="${customerDetailLink}${partyId}" class="buttontext">${partyGroup.groupName!}</a></div>
             </#if>
             <form method="post" action="<@ofbizUrl>orderentry</@ofbizUrl>" name="setpartyform">
-              <div><input type="text" name="partyId" size='10' value="${partyId?if_exists}" /></div>
+              <div><input type="text" name="partyId" size='10' value="${partyId!}" /></div>
               <div>
                 <a href="javascript:document.setpartyform.submit();" class="buttontext">${uiLabelMap.CommonSet}</a>&nbsp;|&nbsp;<a href="/partymgr/control/findparty" class="buttontext">${uiLabelMap.CommonFind}</a><#if partyId?default("_NA_") != "_NA_" && partyId?default("_NA_") != "">&nbsp;|&nbsp;<a href="${customerDetailLink}${partyId}" class="buttontext">${uiLabelMap.CommonView}</a></#if>
               </div>
Index: applications/order/webapp/ordermgr/entry/survey.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/survey.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/survey.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 
 <#-- Render the survey -->
-<#if requestAttributes.surveyWrapper?exists && requestAttributes.surveyAction?exists>
+<#if requestAttributes.surveyWrapper?? && requestAttributes.surveyAction??>
   <form method="post" enctype="multipart/form-data" action="<@ofbizUrl>${requestAttributes.surveyAction}</@ofbizUrl>" style="margin: 0;">
     ${requestAttributes.surveyWrapper.renderSurvey()}
   </form>
Index: applications/order/webapp/ordermgr/entry/SetItemShipGroups.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/SetItemShipGroups.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/SetItemShipGroups.ftl	(working copy)
@@ -30,7 +30,7 @@
           <td>
             <#list 1..shoppingCart.getShipGroupSize() as currIndex>
               <#assign shipGroupIndex = currIndex - 1>
-              <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", shoppingCart.getSupplierPartyId(shipGroupIndex)), false)?if_exists />
+              <#assign supplier =  delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", shoppingCart.getSupplierPartyId(shipGroupIndex)), false)! />
               <table width="100%" cellpadding="1" border="0" cellpadding="0" cellspacing="0">
               <tr>
                 <td colspan="2">
@@ -65,7 +65,7 @@
                 <input type="hidden" name="fromGroupIndex_o_${rowCount}" value="${shipGroupIndex}"/>
                 <tr>
                   <td>
-                    <div>[${shoppingCartItem.getProductId()}] ${shoppingCartItem.getName()?if_exists}: ${shoppingCartItem.getDescription()?if_exists}</div>
+                    <div>[${shoppingCartItem.getProductId()}] ${shoppingCartItem.getName()!}: ${shoppingCartItem.getDescription()!}</div>
                   </td>
                   <td>
                     <div>${shipGroupItemQuantity}</div>
Index: applications/order/webapp/ordermgr/entry/custsettings.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/custsettings.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/custsettings.ftl	(working copy)
@@ -30,35 +30,35 @@
                 <td width="26%" align="right"><div>${uiLabelMap.CommonTitle}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="personalTitle" value="${requestParameters.personalTitle?if_exists}" size="10" maxlength="30"/>
+                  <input type="text" name="personalTitle" value="${requestParameters.personalTitle!}" size="10" maxlength="30"/>
                 </td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>${uiLabelMap.PartyFirstName}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="firstName" value="${requestParameters.firstName?if_exists}" size="30" maxlength="30"/>
+                  <input type="text" name="firstName" value="${requestParameters.firstName!}" size="30" maxlength="30"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>${uiLabelMap.PartyMiddleInitial}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="middleName" value="${requestParameters.middleName?if_exists}" size="4" maxlength="4"/>
+                  <input type="text" name="middleName" value="${requestParameters.middleName!}" size="4" maxlength="4"/>
                 </td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>${uiLabelMap.PartyLastName}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="lastName" value="${requestParameters.lastName?if_exists}" size="30" maxlength="30"/>
+                  <input type="text" name="lastName" value="${requestParameters.lastName!}" size="30" maxlength="30"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right"><div>${uiLabelMap.PartySuffix}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="suffix" value="${requestParameters.suffix?if_exists}" size="10" maxlength="30"/>
+                  <input type="text" name="suffix" value="${requestParameters.suffix!}" size="10" maxlength="30"/>
                 </td>
               </tr>
               <tr>
@@ -68,10 +68,10 @@
                 <td width="26%" align="right"><div>${uiLabelMap.PartyHomePhone}<br/>${uiLabelMap.OrderAllowSolicitation}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="homeCountryCode" value="${requestParameters.homeCountryCode?if_exists}" size="4" maxlength="10"/>
-                  -&nbsp;<input type="text" name="homeAreaCode" value="${requestParameters.homeAreaCode?if_exists}" size="4" maxlength="10"/>*
-                  -&nbsp;<input type="text" name="homeContactNumber" value="${requestParameters.homeContactNumber?if_exists}" size="15" maxlength="15"/>*
-                  &nbsp;ext&nbsp;<input type="text" name="homeExt" value="${requestParameters.homeExt?if_exists}" size="6" maxlength="10"/>
+                  <input type="text" name="homeCountryCode" value="${requestParameters.homeCountryCode!}" size="4" maxlength="10"/>
+                  -&nbsp;<input type="text" name="homeAreaCode" value="${requestParameters.homeAreaCode!}" size="4" maxlength="10"/>*
+                  -&nbsp;<input type="text" name="homeContactNumber" value="${requestParameters.homeContactNumber!}" size="15" maxlength="15"/>*
+                  &nbsp;ext&nbsp;<input type="text" name="homeExt" value="${requestParameters.homeExt!}" size="6" maxlength="10"/>
                   <br/>
                   <select name="homeSol">
                     <#if (((requestParameters.homeSol)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
@@ -86,10 +86,10 @@
                 <td width="26%" align="right"><div>${uiLabelMap.PartyBusinessPhone}<br/>${uiLabelMap.OrderAllowSolicitation}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="workCountryCode" value="${requestParameters.CUSTOMER_WORK_COUNTRY?if_exists}" size="4" maxlength="10"/>
-                  -&nbsp;<input type="text" name="workAreaCode" value="${requestParameters.CUSTOMER_WORK_AREA?if_exists}" size="4" maxlength="10"/>
-                  -&nbsp;<input type="text" name="workContactNumber" value="${requestParameters.CUSTOMER_WORK_CONTACT?if_exists}" size="15" maxlength="15"/>
-                  &nbsp;ext&nbsp;<input type="text" name="workExt" value="${requestParameters.CUSTOMER_WORK_EXT?if_exists}" size="6" maxlength="10"/>
+                  <input type="text" name="workCountryCode" value="${requestParameters.CUSTOMER_WORK_COUNTRY!}" size="4" maxlength="10"/>
+                  -&nbsp;<input type="text" name="workAreaCode" value="${requestParameters.CUSTOMER_WORK_AREA!}" size="4" maxlength="10"/>
+                  -&nbsp;<input type="text" name="workContactNumber" value="${requestParameters.CUSTOMER_WORK_CONTACT!}" size="15" maxlength="15"/>
+                  &nbsp;ext&nbsp;<input type="text" name="workExt" value="${requestParameters.CUSTOMER_WORK_EXT!}" size="6" maxlength="10"/>
                   <br/>
                   <select name="workSol">
                     <#if (((requestParameters.workSol)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
@@ -125,7 +125,7 @@
                 <td width="26%" align="right"><div>${uiLabelMap.CommonUsername}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" name="userLoginId" value="${requestParameters.USERNAME?if_exists}" size="20" maxlength="250"/>
+                  <input type="text" name="userLoginId" value="${requestParameters.USERNAME!}" size="20" maxlength="250"/>
                 </td>
               </tr>
               </form>
Index: applications/order/webapp/ordermgr/entry/OrderEntryCheckOutTabBar.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/OrderEntryCheckOutTabBar.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/OrderEntryCheckOutTabBar.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if stepTitleId?exists>
+<#if stepTitleId??>
     <#assign stepTitle = uiLabelMap.get(stepTitleId)>
 </#if>
 <div class="screenlet">
@@ -29,7 +29,7 @@
         <#else>
             ${uiLabelMap.OrderSalesOrder}
         </#if>
-        :&nbsp;${stepTitle?if_exists}
+        :&nbsp;${stepTitle!}
       </li>
 
       <#if isLastStep == "N">
Index: applications/order/webapp/ordermgr/entry/orderHeaderInfo.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/orderHeaderInfo.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/orderHeaderInfo.ftl	(working copy)
@@ -17,12 +17,12 @@
 under the License.
 -->
 
-<#assign shoppingCart = sessionAttributes.shoppingCart?if_exists>
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
 <#assign currencyUomId = shoppingCart.getCurrency()>
 <#assign partyId = shoppingCart.getPartyId()>
 <#assign partyMap = Static["org.ofbiz.party.party.PartyWorker"].getPartyOtherValues(request, partyId, "party", "person", "partyGroup")>
-<#assign agreementId = shoppingCart.getAgreementId()?if_exists>
-<#assign quoteId = shoppingCart.getQuoteId()?if_exists>
+<#assign agreementId = shoppingCart.getAgreementId()!>
+<#assign quoteId = shoppingCart.getQuoteId()!>
 
 <#if shoppingCart?has_content>
     <#assign shoppingCartSize = shoppingCart.size()>
@@ -44,12 +44,12 @@
               </form>
               <p>
               <strong>${uiLabelMap.Party}</strong>:
-                  <a href="${customerDetailLink}${partyId}${externalKeyParam?if_exists}" target="partymgr" class="buttontext">${partyId}</a>
-                  <#if partyMap.person?exists>
-                    ${partyMap.person.firstName?if_exists}&nbsp;${partyMap.person.lastName?if_exists}
+                  <a href="${customerDetailLink}${partyId}${externalKeyParam!}" target="partymgr" class="buttontext">${partyId}</a>
+                  <#if partyMap.person??>
+                    ${partyMap.person.firstName!}&nbsp;${partyMap.person.lastName!}
                   </#if>
-                  <#if partyMap.partyGroup?exists>
-                    ${partyMap.partyGroup.groupName?if_exists}
+                  <#if partyMap.partyGroup??>
+                    ${partyMap.partyGroup.groupName!}
                   </#if>
               </p>
             <#if shoppingCart.getOrderType() != "PURCHASE_ORDER">
Index: applications/order/webapp/ordermgr/entry/billsettings.ftl
===================================================================
--- applications/order/webapp/ordermgr/entry/billsettings.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/entry/billsettings.ftl	(working copy)
@@ -21,9 +21,9 @@
 //<![CDATA[
 function shipBillAddr() {
     if (document.checkoutsetupform.useShipAddr.checked) {
-        window.location = "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType?if_exists}&useShipAddr=Y</@ofbizUrl>";
+        window.location = "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType!}&useShipAddr=Y</@ofbizUrl>";
     } else {
-        window.location = "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType?if_exists}</@ofbizUrl>";
+        window.location = "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType!}</@ofbizUrl>";
     }
 }
 
@@ -36,7 +36,7 @@
 <#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
 <div class="screenlet">
     <div class="screenlet-body">
-        <#if request.getAttribute("paymentMethodId")?exists || ( (paymentMethodList?has_content || billingAccountList?has_content) && !requestParameters.createNew?exists)>
+        <#if request.getAttribute("paymentMethodId")?? || ( (paymentMethodList?has_content || billingAccountList?has_content) && !requestParameters.createNew??)>
           <#-- initial screen when we have a associated party -->
           <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform">
             <input type="hidden" name="finalizeMode" value="payment"/>
@@ -54,7 +54,7 @@
                       <option value=""></option>
                         <#list billingAccountList as billingAccount>
                           <#assign availableAmount = billingAccount.accountBalance?double>
-                          <#if (billingAccount.accountLimit)?exists>
+                          <#if (billingAccount.accountLimit)??>
                               <#assign accountLimit = billingAccount.accountLimit?double />
                           <#else>
                               <#assign accountLimit = 0.00 />
@@ -81,7 +81,7 @@
               </#if>
               <tr>
                 <td width="1%">
-                  <input type="radio" id="checkOutPaymentId_EXT_OFFLINE" name="checkOutPaymentId" value="EXT_OFFLINE" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if>/>
+                  <input type="radio" id="checkOutPaymentId_EXT_OFFLINE" name="checkOutPaymentId" value="EXT_OFFLINE" <#if checkOutPaymentId?? && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if>/>
                 </td>
                 <td colspan="2" width="50%">
                   <label for="checkOutPaymentId_EXT_OFFLINE">${uiLabelMap.OrderPaymentOfflineCheckMoney}</label>
@@ -90,7 +90,7 @@
              <tr><td colspan="3"><hr /></td></tr>
               <tr>
                 <td width="1%">
-                  <input type="radio" id="checkOutPaymentId_EXT_COD" name="checkOutPaymentId" value="EXT_COD" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_COD">checked="checked"</#if>/>
+                  <input type="radio" id="checkOutPaymentId_EXT_COD" name="checkOutPaymentId" value="EXT_COD" <#if checkOutPaymentId?? && checkOutPaymentId == "EXT_COD">checked="checked"</#if>/>
                 </td>
                 <td colspan="2" width="50%">
                   <label for="checkOutPaymentId_EXT_COD">${uiLabelMap.OrderCOD}</label>
@@ -103,7 +103,7 @@
                     <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false)>
                     <tr>
                       <td width="1%">
-                        <input type="radio" id="checkOutPaymentId_CREDIT_CARD_${paymentMethod.paymentMethodId}" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?exists && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
+                        <input type="radio" id="checkOutPaymentId_CREDIT_CARD_${paymentMethod.paymentMethodId}" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?? && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
                       </td>
                       <td width="50%">
                         <label for="checkOutPaymentId_CREDIT_CARD_${paymentMethod.paymentMethodId}">
@@ -120,11 +120,11 @@
                     <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false)>
                     <tr>
                       <td width="1%">
-                        <input type="radio" id="checkOutPaymentId_EFT_ACCOUNT_${paymentMethod.paymentMethodId}" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?exists && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
+                        <input type="radio" id="checkOutPaymentId_EFT_ACCOUNT_${paymentMethod.paymentMethodId}" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?? && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
                       </td>
                       <td width="50%">
                         <label for="checkOutPaymentId_EFT_ACCOUNT_${paymentMethod.paymentMethodId}">
-                          EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}
+                          EFT:&nbsp;${eftAccount.bankName!}: ${eftAccount.accountNumber!}
                           <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
                         </label>
                       </td>
@@ -138,14 +138,14 @@
               </#if>
             </table>
           </form>
-        <#elseif paymentMethodType?exists || finalizeMode?default("") == "payment">
+        <#elseif paymentMethodType?? || finalizeMode?default("") == "payment">
           <#-- after initial screen; show detailed screens for selected type -->
           <#if paymentMethodType == "CC">
             <#if postalAddress?has_content>
               <form method="post" action="<@ofbizUrl>updateCreditCardAndPostalAddress</@ofbizUrl>" name="checkoutsetupform">
-                <input type="hidden" name="paymentMethodId" value="${creditCard.paymentMethodId?if_exists}"/>
-                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}"/>
-            <#elseif requestParameters.useShipAddr?exists>
+                <input type="hidden" name="paymentMethodId" value="${creditCard.paymentMethodId!}"/>
+                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId!}"/>
+            <#elseif requestParameters.useShipAddr??>
               <form method="post" action="<@ofbizUrl>createCreditCardOrderEntry</@ofbizUrl>" name="checkoutsetupform">
             <#else>
               <form method="post" action="<@ofbizUrl>createCreditCardAndPostalAddress</@ofbizUrl>" name="checkoutsetupform">
@@ -154,9 +154,9 @@
           <#if paymentMethodType == "EFT">
             <#if postalAddress?has_content>
               <form method="post" action="<@ofbizUrl>updateEftAndPostalAddress</@ofbizUrl>" name="checkoutsetupform">
-                <input type="hidden" name="paymentMethodId" value="${eftAccount.paymentMethodId?if_exists}"/>
-                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}"/>
-            <#elseif requestParameters.useShipAddr?exists>
+                <input type="hidden" name="paymentMethodId" value="${eftAccount.paymentMethodId!}"/>
+                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId!}"/>
+            <#elseif requestParameters.useShipAddr??>
               <form method="post" action="<@ofbizUrl>createEftAccount</@ofbizUrl>" name="checkoutsetupform">
             <#else>
               <form method="post" action="<@ofbizUrl>createEftAndPostalAddress</@ofbizUrl>" name="checkoutsetupform">
@@ -168,15 +168,15 @@
           <input type="hidden" name="paymentMethodType" value="${paymentMethodType}"/>
           <input type="hidden" name="finalizeMode" value="payment"/>
           <input type="hidden" name="createNew" value="Y"/>
-          <#if requestParameters.useShipAddr?exists>
+          <#if requestParameters.useShipAddr??>
             <input type="hidden" name="contactMechId" value="${postalFields.contactMechId}"/>
           </#if>
 
           <table width="100%" border="0" cellpadding="1" cellspacing="0">
-            <#if cart.getShippingContactMechId()?exists>
+            <#if cart.getShippingContactMechId()??>
             <tr>
               <td width="26%" align="right"= valign="top">
-                <input type="checkbox" name="useShipAddr" value="Y" onclick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr?exists>checked="checked"</#if>/>
+                <input type="checkbox" name="useShipAddr" value="Y" onclick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr??>checked="checked"</#if>/>
               </td>
               <td colspan="2" valign="center">
                 <div>${uiLabelMap.FacilityBillingAddressSameShipping}</div>
@@ -203,43 +203,43 @@
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonToName}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="30" maxlength="60" name="toName" value="${toName}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="30" maxlength="60" name="toName" value="${toName}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               </td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAttentionName}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="30" maxlength="60" name="attnName" value="${postalFields.attnName?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="30" maxlength="60" name="attnName" value="${postalFields.attnName!}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               </td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 1</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="30" maxlength="30" name="address1" value="${postalFields.address1?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="30" maxlength="30" name="address1" value="${postalFields.address1!}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               *</td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 2</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="30" maxlength="30" name="address2" value="${postalFields.address2?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="30" maxlength="30" name="address2" value="${postalFields.address2!}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               </td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCity}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="30" maxlength="30" name="city" value="${postalFields.city?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="30" maxlength="30" name="city" value="${postalFields.city!}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               *</td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonStateProvince}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <select name="stateProvinceGeoId" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>>
-                  <#if postalFields.stateProvinceGeoId?exists>
+                <select name="stateProvinceGeoId" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>>
+                  <#if postalFields.stateProvinceGeoId??>
                   <option>${postalFields.stateProvinceGeoId}</option>
                   <option value="${postalFields.stateProvinceGeoId}">---</option>
                   </#if>
@@ -252,15 +252,15 @@
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonZipPostalCode}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <input type="text" size="12" maxlength="10" name="postalCode" value="${postalFields.postalCode?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
+                <input type="text" size="12" maxlength="10" name="postalCode" value="${postalFields.postalCode!}" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>/>
               *</td>
             </tr>
             <tr>
               <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCountry}</div></td>
               <td width="5">&nbsp;</td>
               <td width="74%">
-                <select name="countryGeoId" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>>
-                  <#if postalFields.countryGeoId?exists>
+                <select name="countryGeoId" <#if requestParameters.useShipAddr??>disabled="disabled"</#if>>
+                  <#if postalFields.countryGeoId??>
                   <option>${postalFields.countryGeoId}</option>
                   <option value="${postalFields.countryGeoId}">---</option>
                   </#if>
@@ -274,7 +274,7 @@
               <#if !creditCard?has_content>
                 <#assign creditCard = requestParameters>
               </#if>
-              <input type="hidden" name="expireDate" value="${creditCard.expireDate?if_exists}"/>
+              <input type="hidden" name="expireDate" value="${creditCard.expireDate!}"/>
               <tr>
                 <td colspan="3"><hr /></td>
               </tr>
@@ -283,7 +283,7 @@
                 <td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingCompanyNameCard}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" class='inputBox' size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard?if_exists}"/>
+                  <input type="text" class='inputBox' size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard!}"/>
                 </td>
               </tr>
               <tr>
@@ -303,21 +303,21 @@
                 <td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingFirstNameCard}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)?if_exists}"/>
+                  <input type="text" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)!}"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingMiddleNameCard}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)?if_exists}"/>
+                  <input type="text" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)!}"/>
                 </td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingLastNameCard}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)?if_exists}"/>
+                  <input type="text" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)!}"/>
                 *</td>
               </tr>
               <tr>
@@ -342,7 +342,7 @@
                 <td width="5">&nbsp;</td>
                 <td width="74%">
                   <select name="cardType">
-                    <#if creditCard.cartType?exists>
+                    <#if creditCard.cartType??>
                     <option>${creditCard.cardType}</option>
                     <option value="${creditCard.cardType}">---</option>
                     </#if>
@@ -360,7 +360,7 @@
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingCardNumber}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber?if_exists}"/>
+                  <input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber!}"/>
                 *</td>
               </tr>
               <#--<tr>
@@ -376,24 +376,24 @@
                 <td width="74%">
                   <#assign expMonth = "">
                   <#assign expYear = "">
-                  <#if creditCard?exists && creditCard.expDate?exists>
+                  <#if creditCard?? && creditCard.expDate??>
                     <#assign expDate = creditCard.expireDate>
-                    <#if (expDate?exists && expDate.indexOf("/") > 0)>
+                    <#if (expDate?? && expDate.indexOf("/") > 0)>
                       <#assign expMonth = expDate.substring(0,expDate.indexOf("/"))>
                       <#assign expYear = expDate.substring(expDate.indexOf("/")+1)>
                     </#if>
                   </#if>
                   <select name="expMonth" onchange="javascript:makeExpDate();">
-                    <#if creditCard?has_content && expMonth?has_content><#assign ccExprMonth = expMonth><#else><#assign ccExprMonth = requestParameters.expMonth?if_exists></#if>
+                    <#if creditCard?has_content && expMonth?has_content><#assign ccExprMonth = expMonth><#else><#assign ccExprMonth = requestParameters.expMonth!></#if>
                     <#if ccExprMonth?has_content>
-                      <option value="${ccExprMonth?if_exists}">${ccExprMonth?if_exists}</option>
+                      <option value="${ccExprMonth!}">${ccExprMonth!}</option>
                     </#if>
                     ${screens.render("component://common/widget/CommonScreens.xml#ccmonths")}
                   </select>
                   <select name="expYear" onchange="javascript:makeExpDate();">
-                    <#if creditCard?has_content && expYear?has_content><#assign ccExprYear = expYear><#else><#assign ccExprYear = requestParameters.expYear?if_exists></#if>
+                    <#if creditCard?has_content && expYear?has_content><#assign ccExprYear = expYear><#else><#assign ccExprYear = requestParameters.expYear!></#if>
                     <#if ccExprYear?has_content>
-                      <option value="${ccExprYear?if_exists}">${ccExprYear?if_exists}</option>
+                      <option value="${ccExprYear!}">${ccExprYear!}</option>
                     </#if>
                     ${screens.render("component://common/widget/CommonScreens.xml#ccyears")}
                   </select>
@@ -403,7 +403,7 @@
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonDescription}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="20" maxlength="30" name="description" value="${creditCard.description?if_exists}"/>
+                  <input type="text" size="20" maxlength="30" name="description" value="${creditCard.description!}"/>
                 </td>
               </tr>
                 </#if>
@@ -420,28 +420,28 @@
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingNameAccount}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="30" maxlength="60" name="nameOnAccount" value="${eftAccount.nameOnAccount?if_exists}"/>
+                  <input type="text" size="30" maxlength="60" name="nameOnAccount" value="${eftAccount.nameOnAccount!}"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingCompanyNameAccount}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccount.companyNameOnAccount?if_exists}"/>
+                  <input type="text" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccount.companyNameOnAccount!}"/>
                 </td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingBankName}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="30" maxlength="60" name="bankName" value="${eftAccount.bankName?if_exists}"/>
+                  <input type="text" size="30" maxlength="60" name="bankName" value="${eftAccount.bankName!}"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingRoutingNumber}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="10" maxlength="30" name="routingNumber" value="${eftAccount.routingNumber?if_exists}"/>
+                  <input type="text" size="10" maxlength="30" name="routingNumber" value="${eftAccount.routingNumber!}"/>
                 *</td>
               </tr>
               <tr>
@@ -449,7 +449,7 @@
                 <td width="5">&nbsp;</td>
                 <td width="74%">
                   <select name="accountType">
-                    <option>${eftAccount.accountType?if_exists}</option>
+                    <option>${eftAccount.accountType!}</option>
                     <option></option>
                     <option>Checking</option>
                     <option>Savings</option>
@@ -460,14 +460,14 @@
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingAccountNumber}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="20" maxlength="40" name="accountNumber" value="${eftAccount.accountNumber?if_exists}"/>
+                  <input type="text" size="20" maxlength="40" name="accountNumber" value="${eftAccount.accountNumber!}"/>
                 *</td>
               </tr>
               <tr>
                 <td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonDescription}</div></td>
                 <td width="5">&nbsp;</td>
                 <td width="74%">
-                  <input type="text" size="30" maxlength="60" name="description" value="${eftAccount.description?if_exists}"/>
+                  <input type="text" size="30" maxlength="60" name="description" value="${eftAccount.description!}"/>
                 </td>
               </tr>
             </#if>
@@ -491,14 +491,14 @@
             <input type="hidden" name="finalizeMode" value="payment"/>
             <input type="hidden" name="createNew" value="Y"/>
             <table width="100%" border="0" cellpadding="1" cellspacing="0">
-              <#if !requestParameters.createNew?exists>
+              <#if !requestParameters.createNew??>
               <tr>
-                <td width='1%' nowrap="nowrap"><input type="radio" name="paymentMethodTypeAndId" value="EXT_OFFLINE" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onclick="setCheckoutPaymentId(this.value)"/></td>
+                <td width='1%' nowrap="nowrap"><input type="radio" name="paymentMethodTypeAndId" value="EXT_OFFLINE" <#if checkOutPaymentId?? && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onclick="setCheckoutPaymentId(this.value)"/></td>
                 <td width='50%' nowrap="nowrap"><div>${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>
               </tr>
               <tr><td colspan="2"><hr /></td></tr>
               <tr>
-                <td width="1%" nowrap="nowrap"><input type="radio" name="paymentMethodTypeAndId" value="EXT_COD" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_COD">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onclick="setCheckoutPaymentId(this.value)"/></td>
+                <td width="1%" nowrap="nowrap"><input type="radio" name="paymentMethodTypeAndId" value="EXT_COD" <#if checkOutPaymentId?? && checkOutPaymentId == "EXT_COD">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onclick="setCheckoutPaymentId(this.value)"/></td>
                 <td width="50%" nowrap="nowrap"><div>${uiLabelMap.OrderCOD}</div></td>
               </tr>
               <tr><td colspan="2"><hr /></td></tr>
Index: applications/order/webapp/ordermgr/task/ordertasklist.ftl
===================================================================
--- applications/order/webapp/ordermgr/task/ordertasklist.ftl	(revision 1590602)
+++ applications/order/webapp/ordermgr/task/ordertasklist.ftl	(working copy)
@@ -69,7 +69,7 @@
                           <#list poList as orderHeaderAndRole>
                             <#assign orh = Static["org.ofbiz.order.order.OrderReadHelper"].getHelper(orderHeaderAndRole)>
                             <#assign statusItem = orderHeaderAndRole.getRelatedOne("StatusItem", true)>
-                            <#assign placingParty = orh.getPlacingParty()?if_exists>
+                            <#assign placingParty = orh.getPlacingParty()!>
                             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                               <td><a href="<@ofbizUrl>orderview?orderId=${orderHeaderAndRole.orderId}</@ofbizUrl>" class='buttontext'>${orderHeaderAndRole.orderId}</a></td>
                               <td>
@@ -78,13 +78,13 @@
                                   <#if placingParty?has_content>
                                     <#assign partyId = placingParty.partyId>
                                     <#if placingParty.getEntityName() == "Person">
-                                      <#if placingParty.lastName?exists>
-                                        ${placingParty.lastName}<#if placingParty.firstName?exists>, ${placingParty.firstName}</#if>
+                                      <#if placingParty.lastName??>
+                                        ${placingParty.lastName}<#if placingParty.firstName??>, ${placingParty.firstName}</#if>
                                       <#else>
                                         ${uiLabelMap.CommonNA}
                                       </#if>
                                     <#else>
-                                      <#if placingParty.groupName?exists>
+                                      <#if placingParty.groupName??>
                                         ${placingParty.groupName}
                                       <#else>
                                         ${uiLabelMap.CommonNA}
@@ -98,7 +98,7 @@
                               <td><span style="white-space: nowrap;">${orderHeaderAndRole.getString("orderDate")}</span></td>
                               <td>${statusItem.get("description",locale)?default(statusItem.statusId?default("N/A"))}</td>
                               <td align="right">${orh.getTotalOrderItemsQuantity()?string.number}</td>
-                              <td align="right"><@ofbizCurrency amount=orh.getOrderGrandTotal() isoCode=orderHeaderAndRole.currencyUom?if_exists/></td>
+                              <td align="right"><@ofbizCurrency amount=orh.getOrderGrandTotal() isoCode=orderHeaderAndRole.currencyUom!/></td>
                               <td width="1">&nbsp;&nbsp;</td>
                               <td align='right'>
                                 <a href="<@ofbizUrl>OrderDeliveryScheduleInfo?orderId=${orderHeaderAndRole.orderId}</@ofbizUrl>" class='buttontext'>Schedule&nbsp;Delivery</a>
@@ -141,7 +141,7 @@
                               </td>
                               <td>
                                 <div>
-                                  <#if task.customerPartyId?exists>
+                                  <#if task.customerPartyId??>
                                     <a href="${customerDetailLink}${task.customerPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a>
                                   <#else>
                                     N/A
@@ -156,7 +156,7 @@
                               <td width="1" align="right"><@ofbizCurrency amount=task.grandTotal isoCode=orderCurrencyMap.get(task.orderId)/></td>
                               <td width="1">&nbsp;&nbsp;</td>
                               <td>
-                                <#if task.actualStartDate?exists>
+                                <#if task.actualStartDate??>
                                   <#assign actualStartDate = task.get("actualStartDate").toString()>
                                 <#else>
                                   <#assign actualStartDate = "N/A">
@@ -205,7 +205,7 @@
                               <input type="hidden" name="orderId" value="${task.orderId}" />
                               <input type="hidden" name="workEffortId" value="${task.workEffortId}" />
                               <input type="hidden" name="taskStatus" value="${task.currentStatusId}" />
-                              <#if task.statusId?exists && task.statusId == "CAL_SENT">
+                              <#if task.statusId?? && task.statusId == "CAL_SENT">
                                 <input type="hidden" name="partyId" value="${userLogin.partyId}" />
                                 <input type="hidden" name="roleTypeId" value="${task.roleTypeId}" />
                                 <input type="hidden" name="fromDate" value="${task.get("fromDate").toString()}" />
@@ -228,7 +228,7 @@
                                   </a>
                                 </td>
                                 <td>
-                                  <#if task.customerPartyId?exists>
+                                  <#if task.customerPartyId??>
                                   <a href="${customerDetailLink}${task.customerPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a>
                                   <#else>
                                   &nbsp;
@@ -242,7 +242,7 @@
                                 <td width="1" align="right"><@ofbizCurrency amount=task.grandTotal isoCode=orderCurrencyMap.get(task.orderId)/></td>
                                 <td width="1">&nbsp;&nbsp;</td>
                                 <td>
-                                  <#if task.actualStartDate?exists>
+                                  <#if task.actualStartDate??>
                                     <#assign actualStartDate = task.get("actualStartDate").toString()>
                                   <#else>
                                     <#assign actualStartDate = "N/A">
@@ -263,7 +263,7 @@
                                     ${Static["org.ofbiz.order.task.TaskWorker"].getPrettyStatus(task)}
                                   </a>
                                 </td>
-                                <#if task.statusId?exists && task.statusId == "CAL_SENT">
+                                <#if task.statusId?? && task.statusId == "CAL_SENT">
                                   <td align="right"><input type="checkbox" name="delegate" value="true" checked="checked" /></td>
                                 <#else>
                                   <td align="right"><input type="checkbox" name="delegate" value="true" /></td>
Index: applications/party/templates/email/AccountActivatedNotification.ftl
===================================================================
--- applications/party/templates/email/AccountActivatedNotification.ftl	(revision 1590602)
+++ applications/party/templates/email/AccountActivatedNotification.ftl	(working copy)
@@ -19,12 +19,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <title>${title?if_exists}</title>
-        <link rel="stylesheet" href="${baseUrl?if_exists}/images/maincss.css" type="text/css"/>
+        <title>${title!}</title>
+        <link rel="stylesheet" href="${baseUrl!}/images/maincss.css" type="text/css"/>
     </head>
     <body>
-        <h1>${title?if_exists}</h1>
-        <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
+        <h1>${title!}</h1>
+        <p>Hello ${person.firstName!} ${person.lastName!},</p>
         <p>Your account has been activated.</p>
     </body>
 </html>
Index: applications/party/templates/email/VerifyEmailAddressNotification.ftl
===================================================================
--- applications/party/templates/email/VerifyEmailAddressNotification.ftl	(revision 1590602)
+++ applications/party/templates/email/VerifyEmailAddressNotification.ftl	(working copy)
@@ -19,11 +19,11 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <title>${title?if_exists}</title>
+        <title>${title!}</title>
         <link rel="stylesheet" href="${baseUrl}/images/maincss.css" type="text/css"/>
     </head>
     <body>
-        <h1>${title?if_exists}</h1>
+        <h1>${title!}</h1>
         <p>Thank you for registering. Please click the link below to complete your registration.</p>
         <br/><br/>
         <a href="${baseUrl}/cmssite/cms/verifyEmailAddress?verifyHash=${parameters.verifyHash}">www.cmssite.com/cms/registration.html</a>
Index: applications/party/templates/email/CreatePartyNotification.ftl
===================================================================
--- applications/party/templates/email/CreatePartyNotification.ftl	(revision 1590602)
+++ applications/party/templates/email/CreatePartyNotification.ftl	(working copy)
@@ -19,12 +19,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <title>${title?if_exists}</title>
-        <link rel="stylesheet" href="${baseUrl?if_exists}/images/maincss.css" type="text/css"/>
+        <title>${title!}</title>
+        <link rel="stylesheet" href="${baseUrl!}/images/maincss.css" type="text/css"/>
     </head>
     <body>
-        <h1>${title?if_exists}</h1>
-        <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
+        <h1>${title!}</h1>
+        <p>Hello ${person.firstName!} ${person.lastName!},</p>
         <p>Your account has been created successfully.</p>
     </body>
 </html>
Index: applications/party/templates/email/ChangePersonalInfoNotification.ftl
===================================================================
--- applications/party/templates/email/ChangePersonalInfoNotification.ftl	(revision 1590602)
+++ applications/party/templates/email/ChangePersonalInfoNotification.ftl	(working copy)
@@ -19,12 +19,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <title>${title?if_exists}</title>
+        <title>${title!}</title>
         <link rel="stylesheet" href="${baseUrl}/images/maincss.css" type="text/css"/>
     </head>
     <body>
-        <h1>${title?if_exists}</h1>
-        <p>Hello ${(parameters.partyAndPerson.salutation)?if_exists} ${(parameters.partyAndPerson.personalTitle)?if_exists} ${(parameters.partyAndPerson.firstName)?if_exists} ${(parameters.partyAndPerson.middleName)?if_exists} ${(parameters.partyAndPerson.lastName)?if_exists} ${(parameters.partyAndPerson.suffix)?if_exists},</p>
+        <h1>${title!}</h1>
+        <p>Hello ${(parameters.partyAndPerson.salutation)!} ${(parameters.partyAndPerson.personalTitle)!} ${(parameters.partyAndPerson.firstName)!} ${(parameters.partyAndPerson.middleName)!} ${(parameters.partyAndPerson.lastName)!} ${(parameters.partyAndPerson.suffix)!},</p>
         <p>Your personal information has been updated successfully.</p>
     </body>
 </html>
Index: applications/party/webapp/partymgr/security/ViewCertificate.ftl
===================================================================
--- applications/party/webapp/partymgr/security/ViewCertificate.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/security/ViewCertificate.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#assign components = Static["org.ofbiz.base.component.ComponentConfig"].getAllComponents()?if_exists/>
+<#assign components = Static["org.ofbiz.base.component.ComponentConfig"].getAllComponents()!/>
 <#if (requestParameters.certString?has_content)>
     <#assign cert = Static["org.ofbiz.base.util.KeyStoreUtil"].pemToCert(requestParameters.certString)/>
 </#if>
@@ -55,7 +55,7 @@
         <td>&nbsp;</td>
       </tr>
       <#list components as component>
-        <#assign keystores = component.getKeystoreInfos()?if_exists/>
+        <#assign keystores = component.getKeystoreInfos()!/>
           <#list keystores as store>
             <#if (store.isTrustStore())>
               <tr>
Index: applications/party/webapp/partymgr/visit/visitdetail.ftl
===================================================================
--- applications/party/webapp/partymgr/visit/visitdetail.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/visit/visitdetail.ftl	(working copy)
@@ -29,7 +29,7 @@
       <table class="basic-table" cellspacing="0">
         <tr>
           <td class="label">${uiLabelMap.PartyVisitIDSessionID}</td>
-          <td>${visit.visitId?if_exists} / ${visit.sessionId?if_exists}</td>
+          <td>${visit.visitId!} / ${visit.sessionId!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyVisitorId}</td>
@@ -37,51 +37,51 @@
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyPartyIDUserLoginID}</td>
-          <td><a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId?if_exists}</@ofbizUrl>">${visit.partyId?if_exists}</a> / <a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId?if_exists}</@ofbizUrl>">${visit.userLoginId?if_exists}</a></td>
+          <td><a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId!}</@ofbizUrl>">${visit.partyId!}</a> / <a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId!}</@ofbizUrl>">${visit.userLoginId!}</a></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyUserCreated}</td>
-          <td>${visit.userCreated?if_exists}</td>
+          <td>${visit.userCreated!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyWebApp}</td>
-          <td>${visit.webappName?if_exists}</td>
+          <td>${visit.webappName!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyServer}</td>
-          <td><a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress?if_exists}" target="_blank">${visit.serverIpAddress?if_exists}</a> / <a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress?if_exists}" target="_blank">${visit.serverHostName?if_exists}</a></td>
+          <td><a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress!}" target="_blank">${visit.serverIpAddress!}</a> / <a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress!}" target="_blank">${visit.serverHostName!}</a></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyClient}</td>
-          <td><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=${visit.clientIpAddress?if_exists}" target="_blank">${visit.clientIpAddress?if_exists}</a> / <a href="http://www.networksolutions.com/cgi-bin/whois/whois?STRING=${visit.clientHostName?if_exists}&amp;SearchType=do" target="_blank">${visit.clientHostName?if_exists}</a></td>
+          <td><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=${visit.clientIpAddress!}" target="_blank">${visit.clientIpAddress!}</a> / <a href="http://www.networksolutions.com/cgi-bin/whois/whois?STRING=${visit.clientHostName!}&amp;SearchType=do" target="_blank">${visit.clientHostName!}</a></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyClientUser}</td>
-          <td>${visit.clientUser?if_exists}</td>
+          <td>${visit.clientUser!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyInitialLocale}</td>
-          <td>${visit.initialLocale?if_exists}</td>
+          <td>${visit.initialLocale!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyInitialRequest}</td>
-          <td><a href="${visit.initialRequest?if_exists}" >${visit.initialRequest?if_exists}</a></td>
+          <td><a href="${visit.initialRequest!}" >${visit.initialRequest!}</a></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyInitialReferer}</td>
-          <td><a href="${visit.initialReferrer?if_exists}" >${visit.initialReferrer?if_exists}</a></td>
+          <td><a href="${visit.initialReferrer!}" >${visit.initialReferrer!}</a></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyInitialUserAgent}</td>
-          <td>${visit.initialUserAgent?if_exists}</td>
+          <td>${visit.initialUserAgent!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyCookie}</td>
-          <td>${visit.cookie?if_exists}</td>
+          <td>${visit.cookie!}</td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonFromDateThruDate}</td>
-          <td>${(visit.fromDate?string)?if_exists} / ${(visit.thruDate?string)?default(uiLabelMap.PartyStillActive)}</td>
+          <td>${(visit.fromDate?string)!} / ${(visit.thruDate?string)?default(uiLabelMap.PartyStillActive)}</td>
         </tr>
       </table>
   </div>
@@ -123,22 +123,22 @@
         <#assign alt_row = false>
         <#if serverHits?has_content>
         <#list serverHits[lowIndex..highIndex-1] as hit>
-          <#assign serverHitType = hit.getRelatedOne("ServerHitType", false)?if_exists>
+          <#assign serverHitType = hit.getRelatedOne("ServerHitType", false)!>
           <tr<#if alt_row> class="alternate-row"</#if>>
-            <td>${hit.contentId?if_exists}</td>
-            <td>${serverHitType.get("description",locale)?if_exists}</td>
+            <td>${hit.contentId!}</td>
+            <td>${serverHitType.get("description",locale)!}</td>
             <td>&nbsp;&nbsp;${hit.numOfBytes?default("?")}</td>
-            <td>${hit.hitStartDateTime?string?if_exists}</td>
-            <td>${hit.runningTimeMillis?if_exists}</td>
+            <td>${hit.hitStartDateTime?string!}</td>
+            <td>${hit.runningTimeMillis!}</td>
             <td>
-              <#assign url = (hit.requestUrl)?if_exists>
-              <#if url?exists>
+              <#assign url = (hit.requestUrl)!>
+              <#if url??>
                 <#assign len = url?length>
                 <#if 45 < len>
                   <#assign url = url[0..45] + "...">
                 </#if>
               </#if>
-              <a href="${hit.requestUrl?if_exists}" target="_blank">${url}</a>
+              <a href="${hit.requestUrl!}" target="_blank">${url}</a>
             </td>
           </tr>
           <#-- toggle the row color -->
Index: applications/party/webapp/partymgr/visit/showvisits.ftl
===================================================================
--- applications/party/webapp/partymgr/visit/showvisits.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/visit/showvisits.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 <div class="screenlet">
-  <#if partyId?exists>
+  <#if partyId??>
     <#assign title = uiLabelMap.PartyParty>
   <#else>
     <#assign title = uiLabelMap.PartyActive>
@@ -25,9 +25,9 @@
   <div class="screenlet-title-bar">
     <ul>
       <li class="h3">${title}&nbsp;${uiLabelMap.PartyVisitListing}</li>
-      <#if !partyId?exists && showAll?lower_case == "true">
+      <#if !partyId?? && showAll?lower_case == "true">
         <li><a href="<@ofbizUrl>showvisits?showAll=false</@ofbizUrl>">${uiLabelMap.PartyShowActive}</a></li>
-      <#elseif !partyId?exists>
+      <#elseif !partyId??>
         <li><a href="<@ofbizUrl>showvisits?showAll=true</@ofbizUrl>">${uiLabelMap.PartyShowAll}</a></li>
       </#if>
     </ul>
@@ -66,14 +66,14 @@
         <#list visitList as visitObj>
           <tr<#if alt_row> class="alternate-row"</#if>>
             <td class="button-col"><a href="<@ofbizUrl>visitdetail?visitId=${visitObj.visitId}</@ofbizUrl>">${visitObj.visitId}</a></td>
-            <td>${visitObj.visitorId?if_exists}</td>
-            <td class="button-col"><a href="<@ofbizUrl>viewprofile?partyId=${visitObj.partyId?if_exists}</@ofbizUrl>">${visitObj.partyId?if_exists}</a></td>
-            <td>${visitObj.userLoginId?if_exists}</td>
-            <td>${visitObj.userCreated?if_exists}</td>
-            <td>${visitObj.webappName?if_exists}</td>
-            <td>${visitObj.clientIpAddress?if_exists}</td>
-            <td>${(visitObj.fromDate?string)?if_exists}</td>
-            <td>${(visitObj.thruDate?string)?if_exists}</td>
+            <td>${visitObj.visitorId!}</td>
+            <td class="button-col"><a href="<@ofbizUrl>viewprofile?partyId=${visitObj.partyId!}</@ofbizUrl>">${visitObj.partyId!}</a></td>
+            <td>${visitObj.userLoginId!}</td>
+            <td>${visitObj.userCreated!}</td>
+            <td>${visitObj.webappName!}</td>
+            <td>${visitObj.clientIpAddress!}</td>
+            <td>${(visitObj.fromDate?string)!}</td>
+            <td>${(visitObj.thruDate?string)!}</td>
           </tr>
           <#assign alt_row = !alt_row>
         </#list>
Index: applications/party/webapp/partymgr/party/editcontactmech.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editcontactmech.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editcontactmech.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if !mechMap.contactMech?exists>
+<#if !mechMap.contactMech??>
   <#-- When creating a new contact mech, first select the type, then actually create -->
   <#if !preContactMechTypeId?has_content>
     <h1>${uiLabelMap.PartyCreateNewContact}</h1>
@@ -42,8 +42,8 @@
   <#if !mechMap.contactMech?has_content>
     <h1>${uiLabelMap.PartyCreateNewContact}</h1>
     <div id="mech-purpose-types">
-    <#if contactMechPurposeType?exists>
-      <p>(${uiLabelMap.PartyMsgContactHavePurpose} <b>"${contactMechPurposeType.get("description",locale)?if_exists}"</b>)</p>
+    <#if contactMechPurposeType??>
+      <p>(${uiLabelMap.PartyMsgContactHavePurpose} <b>"${contactMechPurposeType.get("description",locale)!}"</b>)</p>
     </#if>
     <table class="basic-table" cellspacing="0">
       <form method="post" action="<@ofbizUrl>${mechMap.requestName}</@ofbizUrl>" name="editcontactmechform" id="editcontactmechform">
@@ -51,8 +51,8 @@
         <input type="hidden" name="contactMechTypeId" value="${mechMap.contactMechTypeId}" />
         <input type="hidden" name="partyId" value="${partyId}" />
         <#if cmNewPurposeTypeId?has_content><input type="hidden" name="contactMechPurposeTypeId" value="${cmNewPurposeTypeId}" /></#if>
-        <#if preContactMechTypeId?exists><input type="hidden" name="preContactMechTypeId" value="${preContactMechTypeId}" /></#if>
-        <#if contactMechPurposeTypeId?exists><input type="hidden" name="contactMechPurposeTypeId" value="${contactMechPurposeTypeId?if_exists}" /></#if>
+        <#if preContactMechTypeId??><input type="hidden" name="preContactMechTypeId" value="${preContactMechTypeId}" /></#if>
+        <#if contactMechPurposeTypeId??><input type="hidden" name="contactMechPurposeTypeId" value="${contactMechPurposeTypeId!}" /></#if>
         <#if paymentMethodId?has_content><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
   <#else>  
     <h1>${uiLabelMap.PartyEditContactInformation}</h1>
@@ -95,7 +95,7 @@
                   <input type="hidden" name="partyId" value="${partyId}" />
                   <input type="hidden" name="DONE_PAGE" value="${donePage}" />
                   <input type="hidden" name="useValues" value="true" />
-                  <input type="hidden" name="contactMechId" value="${contactMechId?if_exists}" />
+                  <input type="hidden" name="contactMechId" value="${contactMechId!}" />
                   <td class="button-col">
                     <select name="contactMechPurposeTypeId">
                       <option></option>
@@ -114,37 +114,37 @@
         <input type="hidden" name="contactMechId" value="${contactMechId}" />
         <input type="hidden" name="contactMechTypeId" value="${mechMap.contactMechTypeId}" />
         <input type="hidden" name="partyId" value="${partyId}" />
-        <input type="hidden" name="DONE_PAGE" value="${donePage?if_exists}" />
+        <input type="hidden" name="DONE_PAGE" value="${donePage!}" />
   </#if>
-  <#if "POSTAL_ADDRESS" = mechMap.contactMechTypeId?if_exists>
+  <#if "POSTAL_ADDRESS" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${uiLabelMap.PartyToName}</td>
       <td>
-        <input type="text" size="50" maxlength="100" name="toName" value="${(mechMap.postalAddress.toName)?default(request.getParameter('toName')?if_exists)}" />
+        <input type="text" size="50" maxlength="100" name="toName" value="${(mechMap.postalAddress.toName)?default(request.getParameter('toName')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAttentionName}</td>
       <td>
-        <input type="text" size="50" maxlength="100" name="attnName" value="${(mechMap.postalAddress.attnName)?default(request.getParameter('attnName')?if_exists)}" />
+        <input type="text" size="50" maxlength="100" name="attnName" value="${(mechMap.postalAddress.attnName)?default(request.getParameter('attnName')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAddressLine1} *</td>
       <td>
-        <input type="text" size="100" maxlength="255" name="address1" value="${(mechMap.postalAddress.address1)?default(request.getParameter('address1')?if_exists)}" />
+        <input type="text" size="100" maxlength="255" name="address1" value="${(mechMap.postalAddress.address1)?default(request.getParameter('address1')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAddressLine2}</td>
       <td>
-        <input type="text" size="100" maxlength="255" name="address2" value="${(mechMap.postalAddress.address2)?default(request.getParameter('address2')?if_exists)}" />
+        <input type="text" size="100" maxlength="255" name="address2" value="${(mechMap.postalAddress.address2)?default(request.getParameter('address2')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyCity} *</td>
       <td>
-        <input type="text" size="50" maxlength="100" name="city" value="${(mechMap.postalAddress.city)?default(request.getParameter('city')?if_exists)}" />
+        <input type="text" size="50" maxlength="100" name="city" value="${(mechMap.postalAddress.city)?default(request.getParameter('city')!)}" />
       </td>
     </tr>
     <tr>
@@ -157,7 +157,7 @@
     <tr>
       <td class="label">${uiLabelMap.PartyZipCode} *</td>
       <td>
-        <input type="text" size="30" maxlength="60" name="postalCode" value="${(mechMap.postalAddress.postalCode)?default(request.getParameter('postalCode')?if_exists)}" />
+        <input type="text" size="30" maxlength="60" name="postalCode" value="${(mechMap.postalAddress.postalCode)?default(request.getParameter('postalCode')!)}" />
       </td>
     </tr>
     <tr>   
@@ -166,7 +166,7 @@
       <td>     
         <select name="countryGeoId" id="editcontactmechform_countryGeoId">
           ${screens.render("component://common/widget/CommonScreens.xml#countries")}        
-          <#if (mechMap.postalAddress?exists) && (mechMap.postalAddress.countryGeoId?exists)>
+          <#if (mechMap.postalAddress??) && (mechMap.postalAddress.countryGeoId??)>
             <#assign defaultCountryGeoId = mechMap.postalAddress.countryGeoId>
           <#else>
            <#assign defaultCountryGeoId = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("general.properties", "country.geo.id.default")>
@@ -185,32 +185,32 @@
       </td>
     </tr>
 
-  <#elseif "TELECOM_NUMBER" = mechMap.contactMechTypeId?if_exists>
+  <#elseif "TELECOM_NUMBER" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${uiLabelMap.PartyPhoneNumber}</td>
       <td>
-        <input type="text" size="4" maxlength="10" name="countryCode" value="${(mechMap.telecomNumber.countryCode)?default(request.getParameter('countryCode')?if_exists)}" />
-        -&nbsp;<input type="text" size="4" maxlength="10" name="areaCode" value="${(mechMap.telecomNumber.areaCode)?default(request.getParameter('areaCode')?if_exists)}" />
-        -&nbsp;<input type="text" size="15" maxlength="15" name="contactNumber" value="${(mechMap.telecomNumber.contactNumber)?default(request.getParameter('contactNumber')?if_exists)}" />
-        &nbsp;${uiLabelMap.PartyContactExt}&nbsp;<input type="text" size="6" maxlength="10" name="extension" value="${(mechMap.partyContactMech.extension)?default(request.getParameter('extension')?if_exists)}" />
+        <input type="text" size="4" maxlength="10" name="countryCode" value="${(mechMap.telecomNumber.countryCode)?default(request.getParameter('countryCode')!)}" />
+        -&nbsp;<input type="text" size="4" maxlength="10" name="areaCode" value="${(mechMap.telecomNumber.areaCode)?default(request.getParameter('areaCode')!)}" />
+        -&nbsp;<input type="text" size="15" maxlength="15" name="contactNumber" value="${(mechMap.telecomNumber.contactNumber)?default(request.getParameter('contactNumber')!)}" />
+        &nbsp;${uiLabelMap.PartyContactExt}&nbsp;<input type="text" size="6" maxlength="10" name="extension" value="${(mechMap.partyContactMech.extension)?default(request.getParameter('extension')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label"></td>
       <td>[${uiLabelMap.CommonCountryCode}] [${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}] [${uiLabelMap.PartyContactExt}]</td>
     </tr>
-  <#elseif "EMAIL_ADDRESS" = mechMap.contactMechTypeId?if_exists>
+  <#elseif "EMAIL_ADDRESS" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${mechMap.contactMechType.get("description",locale)}</td>
       <td>
-        <input type="text" size="60" maxlength="255" name="emailAddress" value="${(mechMap.contactMech.infoString)?default(request.getParameter('emailAddress')?if_exists)}" />
+        <input type="text" size="60" maxlength="255" name="emailAddress" value="${(mechMap.contactMech.infoString)?default(request.getParameter('emailAddress')!)}" />
       </td>
     </tr>
   <#else>
     <tr>
       <td class="label">${mechMap.contactMechType.get("description",locale)}</td>
       <td>
-        <input type="text" size="60" maxlength="255" name="infoString" value="${(mechMap.contactMech.infoString)?if_exists}" />
+        <input type="text" size="60" maxlength="255" name="infoString" value="${(mechMap.contactMech.infoString)!}" />
       </td>
     </tr>
   </#if>
Index: applications/party/webapp/partymgr/party/addressMatchMap.ftl
===================================================================
--- applications/party/webapp/partymgr/party/addressMatchMap.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/addressMatchMap.ftl	(working copy)
@@ -84,7 +84,7 @@
               <td>${map.mapKey}</td>
               <td>=></td>
               <td>${map.mapValue}</td>
-              <td>${map.sequenceNum?if_exists}</td>
+              <td>${map.sequenceNum!}</td>
               <td class="button-col"><a href="<@ofbizUrl>removeAddressMatchMap?mapKey=${map.mapKey}&amp;mapValue=${map.mapValue}</@ofbizUrl>">${uiLabelMap.CommonDelete}</a></td>
             </tr>
             <#-- toggle the row color -->
Index: applications/party/webapp/partymgr/party/findparty.ftl
===================================================================
--- applications/party/webapp/partymgr/party/findparty.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/findparty.ftl	(working copy)
@@ -20,7 +20,7 @@
 <#assign inventoryItemId = parameters.inventoryItemId?default("")>
 <#assign serialNumber = parameters.serialNumber?default("")>
 <#assign softIdentifier = parameters.softIdentifier?default("")>
-<#assign sortField = parameters.sortField?if_exists/>
+<#assign sortField = parameters.sortField!/>
 <#-- Only allow the search fields to be hidden when we have some results -->
 <#if partyList?has_content>
   <#assign hideFields = parameters.hideFields?default("N")>
@@ -29,9 +29,9 @@
 </#if>
 <h1>${uiLabelMap.PageTitleFindParty}</h1>
 <#if (parameters.firstName?has_content || parameters.lastName?has_content)>
-  <#assign createUrl = "editperson?create_new=Y&amp;lastName=${parameters.lastName?if_exists}&amp;firstName=${parameters.firstName?if_exists}"/>
+  <#assign createUrl = "editperson?create_new=Y&amp;lastName=${parameters.lastName!}&amp;firstName=${parameters.firstName!}"/>
 <#elseif (parameters.groupName?has_content)>
-  <#assign createUrl = "editpartygroup?create_new=Y&amp;groupName=${parameters.groupName?if_exists}"/>
+  <#assign createUrl = "editpartygroup?create_new=Y&amp;groupName=${parameters.groupName!}"/>
 <#else>
   <#assign createUrl = "createnew"/>
 </#if>
@@ -41,9 +41,9 @@
 <#if partyList?has_content>
     <ul>
   <#if hideFields == "Y">
-      <li class="collapsed"><a href="<@ofbizUrl>findparty?hideFields=N&sortField=${sortField?if_exists}${paramList}</@ofbizUrl>" title="${uiLabelMap.CommonShowLookupFields}">&nbsp;</a></li>
+      <li class="collapsed"><a href="<@ofbizUrl>findparty?hideFields=N&sortField=${sortField!}${paramList}</@ofbizUrl>" title="${uiLabelMap.CommonShowLookupFields}">&nbsp;</a></li>
   <#else>
-      <li class="expanded"><a href="<@ofbizUrl>findparty?hideFields=Y&sortField=${sortField?if_exists}${paramList}</@ofbizUrl>" title="${uiLabelMap.CommonHideFields}">&nbsp;</a></li>
+      <li class="expanded"><a href="<@ofbizUrl>findparty?hideFields=Y&sortField=${sortField!}${paramList}</@ofbizUrl>" title="${uiLabelMap.CommonHideFields}">&nbsp;</a></li>
   </#if>
     </ul>
     <br class="clear"/>
@@ -72,23 +72,23 @@
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyPartyId}</td>
-            <td><input type="text" name="partyId" value="${parameters.partyId?if_exists}"/></td>
+            <td><input type="text" name="partyId" value="${parameters.partyId!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyUserLogin}</td>
-            <td><input type="text" name="userLoginId" value="${parameters.userLoginId?if_exists}"/></td>
+            <td><input type="text" name="userLoginId" value="${parameters.userLoginId!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyLastName}</td>
-            <td><input type="text" name="lastName" value="${parameters.lastName?if_exists}"/></td>
+            <td><input type="text" name="lastName" value="${parameters.lastName!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyFirstName}</td>
-            <td><input type="text" name="firstName" value="${parameters.firstName?if_exists}"/></td>
+            <td><input type="text" name="firstName" value="${parameters.firstName!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyPartyGroupName}</td>
-            <td><input type="text" name="groupName" value="${parameters.groupName?if_exists}"/></td>
+            <td><input type="text" name="groupName" value="${parameters.groupName!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyRoleType}</td>
@@ -122,29 +122,29 @@
           </tr>
           <tr>
             <td class="label">${uiLabelMap.ProductInventoryItemId}</td>
-            <td><input type="text" name="inventoryItemId" value="${parameters.inventoryItemId?if_exists}"/></td>
+            <td><input type="text" name="inventoryItemId" value="${parameters.inventoryItemId!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.ProductSerialNumber}</td>
-            <td><input type="text" name="serialNumber" value="${parameters.serialNumber?if_exists}"/></td>
+            <td><input type="text" name="serialNumber" value="${parameters.serialNumber!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.ProductSoftIdentifier}</td>
-            <td><input type="text" name="softIdentifier" value="${parameters.softIdentifier?if_exists}"/></td>
+            <td><input type="text" name="softIdentifier" value="${parameters.softIdentifier!}"/></td>
           </tr>
 <#if extInfo == "P">
           <tr><td colspan="3"><hr /></td></tr>
           <tr>
             <td class="label">${uiLabelMap.CommonAddress1}</td>
-            <td><input type="text" name="address1" value="${parameters.address1?if_exists}"/></td>
+            <td><input type="text" name="address1" value="${parameters.address1!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonAddress2}</td>
-            <td><input type="text" name="address2" value="${parameters.address2?if_exists}"/></td>
+            <td><input type="text" name="address2" value="${parameters.address2!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonCity}</td>
-            <td><input type="text" name="city" value="${parameters.city?if_exists}"/></td>
+            <td><input type="text" name="city" value="${parameters.city!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonStateProvince}</td>
@@ -161,29 +161,29 @@
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyPostalCode}</td>
-            <td><input type="text" name="postalCode" value="${parameters.postalCode?if_exists}"/></td>
+            <td><input type="text" name="postalCode" value="${parameters.postalCode!}"/></td>
           </tr>
 </#if>
 <#if extInfo == "T">
           <tr><td colspan="3"><hr /></td></tr>
           <tr>
             <td class="label">${uiLabelMap.CommonCountryCode}</td>
-            <td><input type="text" name="countryCode" value="${parameters.countryCode?if_exists}"/></td>
+            <td><input type="text" name="countryCode" value="${parameters.countryCode!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyAreaCode}</td>
-            <td><input type="text" name="areaCode" value="${parameters.areaCode?if_exists}"/></td>
+            <td><input type="text" name="areaCode" value="${parameters.areaCode!}"/></td>
           </tr>
           <tr>
             <td class="label">${uiLabelMap.PartyContactNumber}</td>
-            <td><input type="text" name="contactNumber" value="${parameters.contactNumber?if_exists}"/></td>
+            <td><input type="text" name="contactNumber" value="${parameters.contactNumber!}"/></td>
           </tr>
 </#if>
 <#if extInfo == "O">
           <tr><td colspan="3"><hr /></td></tr>
           <tr>
             <td class="label">${uiLabelMap.PartyContactInformation}</td>
-            <td><input type="text" name="infoString" value="${parameters.infoString?if_exists}"/></td>
+            <td><input type="text" name="infoString" value="${parameters.infoString!}"/></td>
           </tr>
 </#if>
           <tr>
@@ -199,7 +199,7 @@
       document.lookupparty.partyId.focus();
     </script>
 
-<#if partyList?exists>
+<#if partyList??>
   <#if hideFields != "Y">
     <hr />
   </#if>
@@ -209,7 +209,7 @@
   <#if partyList?has_content>
     <#-- Pagination -->
     <#include "component://common/webcommon/includes/htmlTemplate.ftl"/>
-    <#assign commonUrl = "findparty?hideFields=" + hideFields + paramList + "&sortField=" + sortField?if_exists + "&"/>
+    <#assign commonUrl = "findparty?hideFields=" + hideFields + paramList + "&sortField=" + sortField! + "&"/>
     <#assign viewIndexFirst = 0/>
     <#assign viewIndexPrevious = viewIndex - 1/>
     <#assign viewIndexNext = viewIndex + 1/>
@@ -244,12 +244,12 @@
         <td>${uiLabelMap.PartyType}</td>
         <td>${uiLabelMap.PartyMainRole}</td>
         <td>
-            <a href="<@ofbizUrl>findparty</@ofbizUrl>?<#if sortField?has_content><#if sortField == "createdDate">sortField=-createdDate<#elseif sortField == "-createdDate">sortField=createdDate<#else>sortField=createdDate</#if><#else>sortField=createdDate</#if>${paramList?if_exists}&VIEW_SIZE=${viewSize?if_exists}&VIEW_INDEX=${viewIndex?if_exists}" 
+            <a href="<@ofbizUrl>findparty</@ofbizUrl>?<#if sortField?has_content><#if sortField == "createdDate">sortField=-createdDate<#elseif sortField == "-createdDate">sortField=createdDate<#else>sortField=createdDate</#if><#else>sortField=createdDate</#if>${paramList!}&VIEW_SIZE=${viewSize!}&VIEW_INDEX=${viewIndex!}" 
                 <#if sortField?has_content><#if sortField == "createdDate">class="sort-order-desc"<#elseif sortField == "-createdDate">class="sort-order-asc"<#else>class="sort-order"</#if><#else>class="sort-order"</#if>>${uiLabelMap.FormFieldTitle_createdDate}
             </a>
         </td>
         <td>
-            <a href="<@ofbizUrl>findparty</@ofbizUrl>?<#if sortField?has_content><#if sortField == "lastModifiedDate">sortField=-lastModifiedDate<#elseif sortField == "-lastModifiedDate">sortField=lastModifiedDate<#else>sortField=lastModifiedDate</#if><#else>sortField=lastModifiedDate</#if>${paramList?if_exists}&VIEW_SIZE=${viewSize?if_exists}&VIEW_INDEX=${viewIndex?if_exists}" 
+            <a href="<@ofbizUrl>findparty</@ofbizUrl>?<#if sortField?has_content><#if sortField == "lastModifiedDate">sortField=-lastModifiedDate<#elseif sortField == "-lastModifiedDate">sortField=lastModifiedDate<#else>sortField=lastModifiedDate</#if><#else>sortField=lastModifiedDate</#if>${paramList!}&VIEW_SIZE=${viewSize!}&VIEW_INDEX=${viewIndex!}" 
                 <#if sortField?has_content><#if sortField == "lastModifiedDate">class="sort-order-desc"<#elseif sortField == "-lastModifiedDate">class="sort-order-asc"<#else>class="sort-order"</#if><#else>class="sort-order"</#if>>${uiLabelMap.FormFieldTitle_lastModifiedDate}
             </a>
         </td>
@@ -258,7 +258,7 @@
     <#assign alt_row = false>
     <#assign rowCount = 0>
     <#list partyList as partyRow>
-      <#assign partyType = partyRow.getRelatedOne("PartyType", false)?if_exists>
+      <#assign partyType = partyRow.getRelatedOne("PartyType", false)!>
       <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
         <td><a href="<@ofbizUrl>viewprofile?partyId=${partyRow.partyId}</@ofbizUrl>">${partyRow.partyId}</a></td>
         <td>
@@ -293,24 +293,24 @@
       </#if>
         </td>
       <#if extInfo?default("") == "T">
-        <td>${partyRow.areaCode?if_exists}</td>
+        <td>${partyRow.areaCode!}</td>
       </#if>
       <#if extInfo?default("") == "P" >
-        <td>${partyRow.city?if_exists}, ${partyRow.stateProvinceGeoId?if_exists}</td>
+        <td>${partyRow.city!}, ${partyRow.stateProvinceGeoId!}</td>
       </#if>
       <#if extInfo?default("") == "P">
-        <td>${partyRow.postalCode?if_exists}</td>
+        <td>${partyRow.postalCode!}</td>
       </#if>
       <#if inventoryItemId?default("") != "">
-        <td>${partyRow.inventoryItemId?if_exists}</td>
+        <td>${partyRow.inventoryItemId!}</td>
       </#if>
       <#if serialNumber?default("") != "">
-        <td>${partyRow.serialNumber?if_exists}</td>
+        <td>${partyRow.serialNumber!}</td>
       </#if>
       <#if softIdentifier?default("") != "">
-        <td>${partyRow.softIdentifier?if_exists}</td>
+        <td>${partyRow.softIdentifier!}</td>
       </#if>
-      <#if partyType?exists>
+      <#if partyType??>
         <td>
         <#if partyType.partyTypeId?has_content && partyType.partyTypeId=="PERSON">
           <#assign partyRelateCom = delegator.findByAnd("PartyRelationship", {"partyIdTo", partyRow.partyId,"roleTypeIdFrom","ACCOUNT","roleTypeIdTo","CONTACT"}, null, false)>
@@ -318,23 +318,23 @@
             <#list partyRelateCom as partyRelationship>
               <#if partyRelationship.partyIdFrom?has_content>
                 <#assign companyName=Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, partyRelationship.partyIdFrom, true)>
-          ${companyName?if_exists}
+          ${companyName!}
               </#if>
             </#list>
           </#if>
         </#if>
         </td>
-        <td><#if partyType.description?exists>${partyType.get("description", locale)}<#else>???</#if></td>
+        <td><#if partyType.description??>${partyType.get("description", locale)}<#else>???</#if></td>
       <#else>
         <td></td><td></td>
       </#if>
         <td>
       <#assign mainRole = dispatcher.runSync("getPartyMainRole", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", partyRow.partyId, "userLogin", userLogin))/>
-              ${mainRole.description?if_exists}
+              ${mainRole.description!}
         </td>
         <#assign partyDate = delegator.findOne("Party", {"partyId":partyRow.partyId}, true)/>
-        <td>${partyDate.createdDate?if_exists}</td>
-        <td>${partyDate.lastModifiedDate?if_exists}</td>
+        <td>${partyDate.createdDate!}</td>
+        <td>${partyDate.lastModifiedDate!}</td>
         <td class="button-col align-float">
           <a href="<@ofbizUrl>viewprofile?partyId=${partyRow.partyId}</@ofbizUrl>">${uiLabelMap.CommonDetails}</a>
       <#if security.hasEntityPermission("ORDERMGR", "_VIEW", session)>
@@ -364,7 +364,7 @@
       <h3>${uiLabelMap.PartyNoPartiesFound}</h3>
     </div>
   </#if>
-  <#if lookupErrorMessage?exists>
+  <#if lookupErrorMessage??>
     <h3>${lookupErrorMessage}</h3>
   </#if>
   </div>
Index: applications/party/webapp/partymgr/party/editeftaccount.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editeftaccount.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editeftaccount.ftl	(working copy)
@@ -20,7 +20,7 @@
 <!-- begin editeftaccount.ftl -->
 <div class="screenlet">
   <div class="screenlet-title-bar">
-    <#if !eftAccount?exists>
+    <#if !eftAccount??>
       <h3>${uiLabelMap.AccountingAddNewEftAccount}</h3>
     <#else>
       <h3>${uiLabelMap.PageTitleEditEftAccount}</h3>
@@ -31,7 +31,7 @@
           <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a>
           <a href="javascript:document.editeftaccountform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a>
         </div>
-    <#if !eftAccount?exists>
+    <#if !eftAccount??>
       <form method="post" action='<@ofbizUrl>createEftAccount?DONE_PAGE=${donePage}</@ofbizUrl>' name="editeftaccountform" style='margin: 0;'>
     <#else>
       <form method="post" action='<@ofbizUrl>updateEftAccount?DONE_PAGE=${donePage}</@ofbizUrl>' name="editeftaccountform" style='margin: 0;'>
@@ -42,27 +42,27 @@
         <tr>
           <td class="label">${uiLabelMap.AccountingNameAccount}</td>
           <td>
-            <input type="text" class='required' size="30" maxlength="60" name="nameOnAccount" value="${eftAccountData.nameOnAccount?if_exists}" />
+            <input type="text" class='required' size="30" maxlength="60" name="nameOnAccount" value="${eftAccountData.nameOnAccount!}" />
             <span class="tooltip">${uiLabelMap.CommonRequired}</span>
           </td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.AccountingCompanyNameAccount}</td>
           <td>
-            <input type="text" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccountData.companyNameOnAccount?if_exists}" />
+            <input type="text" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccountData.companyNameOnAccount!}" />
           </td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.AccountingBankName}</td>
           <td>
-            <input type="text" class='required' size="30" maxlength="60" name="bankName" value="${eftAccountData.bankName?if_exists}" />
+            <input type="text" class='required' size="30" maxlength="60" name="bankName" value="${eftAccountData.bankName!}" />
             <span class="tooltip">${uiLabelMap.CommonRequired}</span>
           </td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.AccountingRoutingNumber}</td>
           <td>
-            <input type="text" class='required' size="10" maxlength="30" name="routingNumber" value="${eftAccountData.routingNumber?if_exists}" />
+            <input type="text" class='required' size="10" maxlength="30" name="routingNumber" value="${eftAccountData.routingNumber!}" />
             <span class="tooltip">${uiLabelMap.CommonRequired}</span>
           </td>
         </tr>
@@ -70,7 +70,7 @@
           <td class="label">${uiLabelMap.AccountingAccountType}</td>
           <td>
             <select name="accountType" class='required'>
-              <option>${eftAccountData.accountType?if_exists}</option>
+              <option>${eftAccountData.accountType!}</option>
               <option></option>
               <option>${uiLabelMap.CommonChecking}</option>
               <option>${uiLabelMap.CommonSavings}</option>
@@ -81,14 +81,14 @@
         <tr>
           <td class="label">${uiLabelMap.AccountingAccountNumber}</td>
           <td>
-            <input type="text" class='required' size="20" maxlength="40" name="accountNumber" value="${eftAccountData.accountNumber?if_exists}" />
+            <input type="text" class='required' size="20" maxlength="40" name="accountNumber" value="${eftAccountData.accountNumber!}" />
             <span class="tooltip">${uiLabelMap.CommonRequired}</span>
           </td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonDescription}</td>
           <td>
-            <input type="text" class='required' size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}" />
+            <input type="text" class='required' size="30" maxlength="60" name="description" value="${paymentMethodData.description!}" />
             <span class="tooltip">${uiLabelMap.CommonRequired}</span>
           </td>
         </tr>
@@ -100,7 +100,7 @@
               [Create New Address]</a>&nbsp;&nbsp;
             -->
             <table cellspacing="0">
-            <#if curPostalAddress?exists>
+            <#if curPostalAddress??>
               <tr>
                 <td class="button-col">
                   <input type="radio" name="contactMechId" value="${curContactMechId}" checked="checked" />
@@ -109,19 +109,19 @@
                   <p><b>${uiLabelMap.PartyUseCurrentAddress}:</b></p>
                   <#list curPartyContactMechPurposes as curPartyContactMechPurpose>
                     <#assign curContactMechPurposeType = curPartyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
-                    <p><b>${curContactMechPurposeType.get("description",locale)?if_exists}</b></p>
-                    <#if curPartyContactMechPurpose.thruDate?exists>
+                    <p><b>${curContactMechPurposeType.get("description",locale)!}</b></p>
+                    <#if curPartyContactMechPurpose.thruDate??>
                       <p>(${uiLabelMap.CommonExpire}:${curPartyContactMechPurpose.thruDate.toString()})</p>
                     </#if>
                   </#list>
-                  <#if curPostalAddress.toName?exists><p><b>${uiLabelMap.CommonTo}:</b> ${curPostalAddress.toName}</p></#if>
-                  <#if curPostalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${curPostalAddress.attnName}</p></#if>
-                  <#if curPostalAddress.address1?exists><p>${curPostalAddress.address1}</p></#if>
-                  <#if curPostalAddress.address2?exists><p>${curPostalAddress.address2}</p></#if>
+                  <#if curPostalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${curPostalAddress.toName}</p></#if>
+                  <#if curPostalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${curPostalAddress.attnName}</p></#if>
+                  <#if curPostalAddress.address1??><p>${curPostalAddress.address1}</p></#if>
+                  <#if curPostalAddress.address2??><p>${curPostalAddress.address2}</p></#if>
                   <p>${curPostalAddress.city}<#if curPostalAddress.stateProvinceGeoId?has_content>,&nbsp;${curPostalAddress.stateProvinceGeoId}</#if>&nbsp;${curPostalAddress.postalCode}</p>
-                  <#if curPostalAddress.countryGeoId?exists><p>${curPostalAddress.countryGeoId}</p></#if>
-                  <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(curPartyContactMech.fromDate.toString())?if_exists})</p>
-                  <#if curPartyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${curPartyContactMech.thruDate.toString()}</b></p></#if>
+                  <#if curPostalAddress.countryGeoId??><p>${curPostalAddress.countryGeoId}</p></#if>
+                  <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(curPartyContactMech.fromDate.toString())!})</p>
+                  <#if curPartyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${curPartyContactMech.thruDate.toString()}</b></p></#if>
                 </td>
               </tr>
             <#else>
@@ -150,21 +150,21 @@
                   <td>
                     <#list partyContactMechPurposes as partyContactMechPurpose>
                       <#assign contactMechPurposeType = partyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
-                      <p><b>${contactMechPurposeType.get("description",locale)?if_exists}</b></p>
-                      <#if partyContactMechPurpose.thruDate?exists><p>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate})</p></#if>
+                      <p><b>${contactMechPurposeType.get("description",locale)!}</b></p>
+                      <#if partyContactMechPurpose.thruDate??><p>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate})</p></#if>
                     </#list>
-                    <#if postalAddress.toName?exists><p><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}</p></#if>
-                    <#if postalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
-                    <#if postalAddress.address1?exists><p>${postalAddress.address1}</p></#if>
-                    <#if postalAddress.address2?exists><p>${postalAddress.address2}</p></#if>
+                    <#if postalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}</p></#if>
+                    <#if postalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
+                    <#if postalAddress.address1??><p>${postalAddress.address1}</p></#if>
+                    <#if postalAddress.address2??><p>${postalAddress.address2}</p></#if>
                     <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode}</p>
-                    <#if postalAddress.countryGeoId?exists><p>${postalAddress.countryGeoId}</p></#if>
-                    <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())?if_exists})</p>
-                    <#if partyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>
+                    <#if postalAddress.countryGeoId??><p>${postalAddress.countryGeoId}</p></#if>
+                    <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())!})</p>
+                    <#if partyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>
                   </td>
                 </tr>
               </#list>
-              <#if !postalAddressInfos?has_content && !curContactMech?exists>
+              <#if !postalAddressInfos?has_content && !curContactMech??>
                   <tr><td colspan='2'>${uiLabelMap.PartyNoContactInformation}.</td></tr>
               </#if>
             </table>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.ftl	(working copy)
@@ -19,21 +19,21 @@
   <div>
     <#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br /></#if>
     <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br /></#if>
-    ${postalAddress.address1?if_exists}<br />
+    ${postalAddress.address1!}<br />
     <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if>
-    ${postalAddress.city?if_exists},
+    ${postalAddress.city!},
     <#if postalAddress.stateProvinceGeoId?has_content>
       <#assign stateProvince = postalAddress.getRelatedOne("StateProvinceGeo", true)>
       ${stateProvince.abbreviation?default(stateProvince.geoId)}
     </#if>
-    ${postalAddress.postalCode?if_exists}
+    ${postalAddress.postalCode!}
     <#if postalAddress.countryGeoId?has_content><br />
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
       ${country.get("geoName", locale)?default(country.geoId)}
     </#if>
     </div>
     <#if !postalAddress.countryGeoId?has_content>
-    <#assign addr1 = postalAddress.address1?if_exists>
+    <#assign addr1 = postalAddress.address1!>
     <#if addr1?has_content && (addr1.indexOf(" ") > 0)>
       <#assign addressNum = addr1.substring(0, addr1.indexOf(" "))>
       <#assign addressOther = addr1.substring(addr1.indexOf(" ")+1)>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.fo.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.fo.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.fo.ftl	(working copy)
@@ -16,9 +16,9 @@
 specific language governing permissions and limitations
 under the License.
 -->
-  <fo:block>${postalAddress.address1?if_exists}</fo:block>
-  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if>
-  <fo:block>${postalAddress.postalCode?if_exists} ${postalAddress.city?if_exists}</fo:block>
+  <fo:block>${postalAddress.address1!}</fo:block>
+  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2!}</fo:block></#if>
+  <fo:block>${postalAddress.postalCode!} ${postalAddress.city!}</fo:block>
   <#if postalAddress.countryGeoId?has_content>
     <fo:block>
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl	(working copy)
@@ -16,9 +16,9 @@
 specific language governing permissions and limitations
 under the License.
 -->
-  <fo:block>${postalAddress.address1?if_exists}</fo:block>
-  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if>
-  <fo:block>${postalAddress.city?if_exists}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode?if_exists}</fo:block>
+  <fo:block>${postalAddress.address1!}</fo:block>
+  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2!}</fo:block></#if>
+  <fo:block>${postalAddress.city!}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode!}</fo:block>
   <#if postalAddress.countryGeoId?has_content>
     <fo:block>
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.ftl	(working copy)
@@ -19,21 +19,21 @@
   <div>
     <#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br /></#if>
     <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br /></#if>
-    ${postalAddress.address1?if_exists}<br />
+    ${postalAddress.address1!}<br />
     <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if>
-    ${postalAddress.city?if_exists},
+    ${postalAddress.city!},
     <#if postalAddress.stateProvinceGeoId?has_content>
       <#assign stateProvince = postalAddress.getRelatedOne("StateProvinceGeo", true)>
       ${stateProvince.abbreviation?default(stateProvince.geoId)}
     </#if>
-    ${postalAddress.postalCode?if_exists}
+    ${postalAddress.postalCode!}
     <#if postalAddress.countryGeoId?has_content><br />
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
       ${country.get("geoName", locale)?default(country.geoId)}
     </#if>
     </div>
     <#if !postalAddress.countryGeoId?has_content>
-    <#assign addr1 = postalAddress.address1?if_exists>
+    <#assign addr1 = postalAddress.address1!>
     <#if addr1?has_content && (addr1.indexOf(" ") > 0)>
       <#assign addressNum = addr1.substring(0, addr1.indexOf(" "))>
       <#assign addressOther = addr1.substring(addr1.indexOf(" ")+1)>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.fo.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.fo.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_USA.fo.ftl	(working copy)
@@ -16,9 +16,9 @@
 specific language governing permissions and limitations
 under the License.
 -->
-  <fo:block>${postalAddress.address1?if_exists}</fo:block>
-  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if>
-  <fo:block>${postalAddress.city?if_exists}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode?if_exists}</fo:block>
+  <fo:block>${postalAddress.address1!}</fo:block>
+  <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2!}</fo:block></#if>
+  <fo:block>${postalAddress.city!}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode!}</fo:block>
   <#if postalAddress.countryGeoId?has_content>
     <fo:block>
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
Index: applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.ftl
===================================================================
--- applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/contactmechtemplates/PostalAddress_DEU.ftl	(working copy)
@@ -19,9 +19,9 @@
   <div>
     <#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br /></#if>
     <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br /></#if>
-    ${postalAddress.address1?if_exists}<br />
+    ${postalAddress.address1!}<br />
     <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if>
-    ${postalAddress.postalCode?if_exists} ${postalAddress.city?if_exists}
+    ${postalAddress.postalCode!} ${postalAddress.city!}
     <#if postalAddress.countryGeoId?has_content><br />
       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
       ${country.get("geoName", locale)?default(country.geoId)}
Index: applications/party/webapp/partymgr/party/findMatches.ftl
===================================================================
--- applications/party/webapp/partymgr/party/findMatches.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/findMatches.ftl	(working copy)
@@ -30,23 +30,23 @@
       <form name="matchform" method="post" action="<@ofbizUrl>findAddressMatch?match=true</@ofbizUrl>">
         <tr>
           <td class="label">${uiLabelMap.PartyLastName}</td>
-          <td><input type="text" name="lastName" class="required" value="${parameters.lastName?if_exists}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
+          <td><input type="text" name="lastName" class="required" value="${parameters.lastName!}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyFirstName}</td>
-          <td><input type="text" name="firstName" class="required" value="${parameters.firstName?if_exists}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
+          <td><input type="text" name="firstName" class="required" value="${parameters.firstName!}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonAddress1}</td>
-          <td><input type="text" name="address1" class="required" value="${parameters.address1?if_exists}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
+          <td><input type="text" name="address1" class="required" value="${parameters.address1!}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonAddress2}</td>
-          <td><input type="text" name="address2" value="${parameters.address2?if_exists}"/></td>
+          <td><input type="text" name="address2" value="${parameters.address2!}"/></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonCity}</td>
-          <td><input type="text" name="city" class="required" value="${parameters.city?if_exists}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
+          <td><input type="text" name="city" class="required" value="${parameters.city!}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonStateProvince}</td>
@@ -63,7 +63,7 @@
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyZipCode}</td>
-          <td><input type="text" name="postalCode" class="required" value="${parameters.postalCode?if_exists}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
+          <td><input type="text" name="postalCode" class="required" value="${parameters.postalCode!}"/><span class="tooltip">${uiLabelMap.CommonRequired}</span></td>
         </tr>
         <tr>
             <td></td>
@@ -89,8 +89,8 @@
                   <td>${uiLabelMap.PartyPartyId}</td>
                 </tr>
                 <#list matches as match>
-                  <#assign person = match.getRelatedOne("Party", false).getRelatedOne("Person", false)?if_exists>
-                  <#assign group = match.getRelatedOne("Party", false).getRelatedOne("PartyGroup", false)?if_exists>
+                  <#assign person = match.getRelatedOne("Party", false).getRelatedOne("Person", false)!>
+                  <#assign group = match.getRelatedOne("Party", false).getRelatedOne("PartyGroup", false)!>
                   <tr>
                     <#if person?has_content>
                       <td>${person.lastName}</td>
Index: applications/party/webapp/partymgr/party/editGeoLocation.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editGeoLocation.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editGeoLocation.ftl	(working copy)
@@ -125,8 +125,8 @@
         </form>
         <br/><br/>
         <form id="updateMapForm" method="post" action="<@ofbizUrl>editGeoLocation</@ofbizUrl>">
-            <input type="hidden" name="partyId" value="${partyId?if_exists}"/>
-            <input type="hidden" name="geoPointId" value="${geoPointId?if_exists}"/>
+            <input type="hidden" name="partyId" value="${partyId!}"/>
+            <input type="hidden" name="geoPointId" value="${geoPointId!}"/>
             <input type="hidden" name="lat" id="lat"/>
             <input type="hidden" name="lng" id="lng"/>
             <input type="submit" id="createMapButton" class="smallSubmit" value="${uiLabelMap.CommonSubmit}">
Index: applications/party/webapp/partymgr/party/editShoppingList.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editShoppingList.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editShoppingList.ftl	(working copy)
@@ -24,7 +24,7 @@
       <li class="h3">${uiLabelMap.PartyShoppingLists}</li>
       <li>
         <form id="createEmptyShoppingList" action="<@ofbizUrl>createEmptyShoppingList</@ofbizUrl>" method="post">
-          <input type="hidden" name="partyId" value="${partyId?if_exists}" />
+          <input type="hidden" name="partyId" value="${partyId!}" />
           <a href="javascript:document.getElementById('createEmptyShoppingList').submit();" class="buttontext">${uiLabelMap.CommonCreateNew}</a>
         </form>
       </li>
@@ -43,7 +43,7 @@
             <option value="${list.shoppingListId}">${list.listName}</option>
           </#list>
         </select>
-        <input type="hidden" name="partyId" value="${partyId?if_exists}" />
+        <input type="hidden" name="partyId" value="${partyId!}" />
         <a href="javascript:document.selectShoppingList.submit();" class="smallSubmit">${uiLabelMap.CommonEdit}</a>
       </form>
     <#else>
@@ -61,19 +61,19 @@
       <li>
       <form method="post" name="createQuoteFromShoppingListForm" action="/ordermgr/control/createQuoteFromShoppingList">
         <input type= "hidden" name= "applyStorePromotions" value= "N"/>
-        <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId?if_exists}"/>
+        <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId!}"/>
       </form>
       <a href="javascript:document.createQuoteFromShoppingListForm.submit()">${uiLabelMap.PartyCreateNewQuote}</a>
       </li>
-      <li><a href="/ordermgr/control/createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}">${uiLabelMap.PartyCreateNewCustRequest}</a></li>
-      <li><a href="/ordermgr/control/loadCartFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}">${uiLabelMap.OrderNewOrder}</a></li>
+      <li><a href="/ordermgr/control/createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId!}">${uiLabelMap.PartyCreateNewCustRequest}</a></li>
+      <li><a href="/ordermgr/control/loadCartFromShoppingList?shoppingListId=${shoppingList.shoppingListId!}">${uiLabelMap.OrderNewOrder}</a></li>
     </ul>
     <br class="clear"/>
   </div>
   <div class="screenlet-body">
     <form name="updateList" method="post" action="<@ofbizUrl>updateShoppingList</@ofbizUrl>">
       <input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}" />
-      <input type="hidden" name="partyId" value="${shoppingList.partyId?if_exists}" />
+      <input type="hidden" name="partyId" value="${shoppingList.partyId!}" />
       <table class="basic-table" cellspacing='0'>
         <tr>
           <td class="label">${uiLabelMap.PartyListName}</td>
@@ -81,13 +81,13 @@
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonDescription}</td>
-          <td><input type="text" size="70" name="description" value="${shoppingList.description?if_exists}" <#if shoppingList.listName?default("") == "auto-save">disabled="disabled"</#if> />
+          <td><input type="text" size="70" name="description" value="${shoppingList.description!}" <#if shoppingList.listName?default("") == "auto-save">disabled="disabled"</#if> />
         </tr>
         <tr>
           <td class="label">${uiLabelMap.PartyListType}</td>
           <td>
             <select name="shoppingListTypeId" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>>
-              <#if shoppingListType?exists>
+              <#if shoppingListType??>
                 <option value="${shoppingListType.shoppingListTypeId}">${shoppingListType.get("description",locale)?default(shoppingListType.shoppingListTypeId)}</option>
                 <option value="${shoppingListType.shoppingListTypeId}">--</option>
               </#if>
@@ -112,7 +112,7 @@
           <td class="label">${uiLabelMap.PartyParentList}</td>
           <td>
             <select name="parentShoppingListId" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>>
-              <#if parentShoppingList?exists>
+              <#if parentShoppingList??>
                 <option value="${parentShoppingList.shoppingListId}">${parentShoppingList.listName?default(parentShoppingList.shoppingListId)}</option>
               </#if>
               <option value="">${uiLabelMap.PartyNoParent}</option>
@@ -120,7 +120,7 @@
                 <option value="${newParShoppingList.shoppingListId}">${newParShoppingList.listName?default(newParShoppingList.shoppingListId)}</option>
               </#list>
             </select>
-            <#if parentShoppingList?exists>
+            <#if parentShoppingList??>
               <a href="<@ofbizUrl>editShoppingList?shoppingListId=${parentShoppingList.shoppingListId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonGotoParent} (${parentShoppingList.listName?default(parentShoppingList.shoppingListId)})</a>
             </#if>
           </td>
@@ -178,7 +178,7 @@
     <#if shoppingListItemDatas?has_content>
         <#-- Pagination -->
         <#include "component://common/webcommon/includes/htmlTemplate.ftl"/>
-        <#assign commonUrl = "editShoppingList?partyId=" + partyId + "&shoppingListId="+shoppingListId?if_exists+"&"/>
+        <#assign commonUrl = "editShoppingList?partyId=" + partyId + "&shoppingListId="+shoppingListId!+"&"/>
         <#assign viewIndexFirst = 0/>
         <#assign viewIndexPrevious = viewIndex - 1/>
         <#assign viewIndexNext = viewIndex + 1/>
@@ -202,11 +202,11 @@
           <#assign productContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(product, request)>
           <#assign unitPrice = shoppingListItemData.unitPrice>
           <#assign totalPrice = shoppingListItemData.totalPrice>
-          <#assign productVariantAssocs = shoppingListItemData.productVariantAssocs?if_exists>
-          <#assign isVirtual = product.isVirtual?exists && product.isVirtual.equals("Y")>
+          <#assign productVariantAssocs = shoppingListItemData.productVariantAssocs!>
+          <#assign isVirtual = product.isVirtual?? && product.isVirtual.equals("Y")>
           <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
             <td><a href="/catalog/control/EditProduct?productId=${shoppingListItem.productId}&amp;externalLoginKey=${requestAttributes.externalLoginKey}">${shoppingListItem.productId} -
-              ${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")?if_exists}
+              ${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")!}
             </td>
             <form method="post" action="<@ofbizUrl>removeFromShoppingList</@ofbizUrl>" name='removeform_${shoppingListItem.shoppingListItemSeqId}'>
               <input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}" />
@@ -221,7 +221,7 @@
               <td>
                 <input size="6" type="text" name="quantityPurchased"
                   <#if shoppingListItem.quantityPurchased?has_content>
-                    value="${shoppingListItem.quantityPurchased?if_exists?string.number}"
+                    value="${shoppingListItem.quantityPurchased!?string.number}"
                   </#if> />
               </td>
             </form>
@@ -253,7 +253,7 @@
   <div class="screenlet-body">
     <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList</@ofbizUrl>">
       <input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}" />
-      <input type="hidden" name="partyId" value="${shoppingList.partyId?if_exists}" />
+      <input type="hidden" name="partyId" value="${shoppingList.partyId!}" />
       <input type="text" name="productId" value="" />
       <input type="text" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" />
       <input type="submit" value="${uiLabelMap.PartyAddToShoppingList}" />
Index: applications/party/webapp/partymgr/party/editgiftcard.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editgiftcard.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editgiftcard.ftl	(working copy)
@@ -20,14 +20,14 @@
 <!-- begin editgiftcard.ftl -->
 <div class="screenlet">
   <div class="screenlet-title-bar">
-    <#if !giftCard?exists>
+    <#if !giftCard??>
       <h3>${uiLabelMap.AccountingCreateNewGiftCard}</h3>
     <#else>
       <h3>${uiLabelMap.AccountingEditGiftCard}</h3>
     </#if>
   </div>
   <div class="screenlet-body">
-    <#if !giftCard?exists>
+    <#if !giftCard??>
       <form method="post" action="<@ofbizUrl>createGiftCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editgiftcardform" style="margin: 0;">
     <#else>
       <form method="post" action="<@ofbizUrl>updateGiftCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editgiftcardform" style="margin: 0;">
@@ -42,13 +42,13 @@
         <tr>
           <td class="label">${uiLabelMap.AccountingCardNumber}</td>
           <td>
-            <input type="text" size="20" maxlength="60" name="cardNumber" value="${giftCardData.cardNumber?if_exists}" />
+            <input type="text" size="20" maxlength="60" name="cardNumber" value="${giftCardData.cardNumber!}" />
           </td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.AccountingPinNumber}</td>
           <td>
-            <input type="text" size="10" maxlength="60" name="pinNumber" value="${giftCardData.pinNumber?if_exists}" />
+            <input type="text" size="10" maxlength="60" name="pinNumber" value="${giftCardData.pinNumber!}" />
           </td>
         </tr>
         <tr>
@@ -56,9 +56,9 @@
           <td>
             <#assign expMonth = "">
             <#assign expYear = "">
-            <#if giftCardData?exists && giftCardData.expireDate?exists>
+            <#if giftCardData?? && giftCardData.expireDate??>
               <#assign expDate = giftCard.expireDate>
-              <#if (expDate?exists && expDate.indexOf("/") > 0)>
+              <#if (expDate?? && expDate.indexOf("/") > 0)>
                 <#assign expMonth = expDate.substring(0,expDate.indexOf("/"))>
                 <#assign expYear = expDate.substring(expDate.indexOf("/")+1)>
               </#if>
@@ -67,10 +67,10 @@
               <#if giftCardData?has_content && expMonth?has_content>
                 <#assign ccExprMonth = expMonth>
               <#else>
-                <#assign ccExprMonth = requestParameters.expMonth?if_exists>
+                <#assign ccExprMonth = requestParameters.expMonth!>
               </#if>
               <#if ccExprMonth?has_content>
-                <option value="${ccExprMonth?if_exists}">${ccExprMonth?if_exists}</option>
+                <option value="${ccExprMonth!}">${ccExprMonth!}</option>
               </#if>
               ${screens.render("component://common/widget/CommonScreens.xml#ccmonths")}
             </select>
@@ -78,10 +78,10 @@
               <#if giftCard?has_content && expYear?has_content>
                 <#assign ccExprYear = expYear>
               <#else>
-                <#assign ccExprYear = requestParameters.expYear?if_exists>
+                <#assign ccExprYear = requestParameters.expYear!>
               </#if>
               <#if ccExprYear?has_content>
-                <option value="${ccExprYear?if_exists}">${ccExprYear?if_exists}</option>
+                <option value="${ccExprYear!}">${ccExprYear!}</option>
               </#if>
               ${screens.render("component://common/widget/CommonScreens.xml#ccyears")}
             </select>
@@ -90,7 +90,7 @@
         <tr>
           <td class="label">${uiLabelMap.CommonDescription}</td>
           <td>
-            <input type="text" size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}" />
+            <input type="text" size="30" maxlength="60" name="description" value="${paymentMethodData.description!}" />
           </td>
         </tr>
         </table>
Index: applications/party/webapp/partymgr/party/editcreditcard.ftl
===================================================================
--- applications/party/webapp/partymgr/party/editcreditcard.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/editcreditcard.ftl	(working copy)
@@ -20,7 +20,7 @@
 <!-- begin editcreditcard.ftl -->
 <div class="screenlet">
   <div class="screenlet-title-bar">
-    <#if !creditCard?exists>
+    <#if !creditCard??>
       <h3>${uiLabelMap.AccountingAddNewCreditCard}</h3>
     <#else>
       <h3>${uiLabelMap.AccountingEditCreditCard}</h3>
@@ -31,7 +31,7 @@
           <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a>
           <a href="javascript:document.editcreditcardform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a>
         </div>
-    <#if !creditCard?exists>
+    <#if !creditCard??>
       <form method="post" action="<@ofbizUrl>createCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform" style="margin: 0;">
     <#else>
       <form method="post" action="<@ofbizUrl>updateCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform" style="margin: 0;">
@@ -62,20 +62,20 @@
                   <#list curPartyContactMechPurposes as curPartyContactMechPurpose>
                     <#assign curContactMechPurposeType = curPartyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
                     <p>
-                      <b>${curContactMechPurposeType.get("description",locale)?if_exists}</b>
-                      <#if curPartyContactMechPurpose.thruDate?exists>
+                      <b>${curContactMechPurposeType.get("description",locale)!}</b>
+                      <#if curPartyContactMechPurpose.thruDate??>
                         (${uiLabelMap.CommonExpire}:${curPartyContactMechPurpose.thruDate.toString()})
                       </#if>
                     </p>
                   </#list>
-                  <#if curPostalAddress.toName?exists><p><b>${uiLabelMap.CommonTo}:</b> ${curPostalAddress.toName}</p></#if>
-                  <#if curPostalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${curPostalAddress.attnName}</p></#if>
-                  <#if curPostalAddress.address1?exists><p>${curPostalAddress.address1}</p></#if>
-                  <#if curPostalAddress.address2?exists><p>${curPostalAddress.address2}</p></#if>
-                  <p>${curPostalAddress.city?if_exists}<#if curPostalAddress.stateProvinceGeoId?has_content>,&nbsp;${curPostalAddress.stateProvinceGeoId?if_exists}</#if>&nbsp;${curPostalAddress.postalCode?if_exists}</p>
-                  <#if curPostalAddress.countryGeoId?exists><p>${curPostalAddress.countryGeoId}</p></#if>
-                  <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(curPartyContactMech.fromDate.toString())?if_exists})</p>
-                  <#if curPartyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${curPartyContactMech.thruDate.toString()}</b></p></#if>
+                  <#if curPostalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${curPostalAddress.toName}</p></#if>
+                  <#if curPostalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${curPostalAddress.attnName}</p></#if>
+                  <#if curPostalAddress.address1??><p>${curPostalAddress.address1}</p></#if>
+                  <#if curPostalAddress.address2??><p>${curPostalAddress.address2}</p></#if>
+                  <p>${curPostalAddress.city!}<#if curPostalAddress.stateProvinceGeoId?has_content>,&nbsp;${curPostalAddress.stateProvinceGeoId!}</#if>&nbsp;${curPostalAddress.postalCode!}</p>
+                  <#if curPostalAddress.countryGeoId??><p>${curPostalAddress.countryGeoId}</p></#if>
+                  <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(curPartyContactMech.fromDate.toString())!})</p>
+                  <#if curPartyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${curPartyContactMech.thruDate.toString()}</b></p></#if>
                 </td>
               </tr>
             <#else>
@@ -105,22 +105,22 @@
                     <#list partyContactMechPurposes as partyContactMechPurpose>
                       <#assign contactMechPurposeType = partyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
                       <p>
-                        <b>${contactMechPurposeType.get("description",locale)?if_exists}</b>
-                        <#if partyContactMechPurpose.thruDate?exists>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate})</#if>
+                        <b>${contactMechPurposeType.get("description",locale)!}</b>
+                        <#if partyContactMechPurpose.thruDate??>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate})</#if>
                       </p>
                     </#list>
-                    <#if postalAddress.toName?exists><p><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}</p></#if>
-                    <#if postalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
-                    <#if postalAddress.address1?exists><p>${postalAddress.address1}</p></#if>
-                    <#if postalAddress.address2?exists><p>${postalAddress.address2}</p></#if>
-                    <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode?if_exists}</p>
-                    <#if postalAddress.countryGeoId?exists><p>${postalAddress.countryGeoId}</p></#if>
-                    <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())?if_exists})</p>
-                    <#if partyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>
+                    <#if postalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}</p></#if>
+                    <#if postalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
+                    <#if postalAddress.address1??><p>${postalAddress.address1}</p></#if>
+                    <#if postalAddress.address2??><p>${postalAddress.address2}</p></#if>
+                    <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode!}</p>
+                    <#if postalAddress.countryGeoId??><p>${postalAddress.countryGeoId}</p></#if>
+                    <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())!})</p>
+                    <#if partyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>
                   </td>
                 </tr>
               </#list>
-              <#if !postalAddressInfos?has_content && !curContactMech?exists>
+              <#if !postalAddressInfos?has_content && !curContactMech??>
                   <tr><td colspan="2">${uiLabelMap.PartyNoContactInformation}.</td></tr>
               </#if>
               <#-- not yet supported in party manager
Index: applications/party/webapp/partymgr/party/profileblocks/LoyaltyPoints.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/LoyaltyPoints.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/LoyaltyPoints.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-  <#if monthsToInclude?exists && totalSubRemainingAmount?exists && totalOrders?exists>
+  <#if monthsToInclude?? && totalSubRemainingAmount?? && totalOrders??>
     <div id="totalOrders" class="screenlet">
       <div class="screenlet-title-bar">
         <ul>
Index: applications/party/webapp/partymgr/party/profileblocks/mytasks.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/mytasks.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/mytasks.ftl	(working copy)
@@ -39,9 +39,9 @@
     <#assign alt_row = false>
     <#list tasks as workEffort>
       <tr<#if alt_row> class="alternate-row"</#if>>
-        <td>${(workEffort.estimatedStartDate.toString())?if_exists}</td>
-        <td>${workEffort.priority?if_exists}</td>
-        <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
+        <td>${(workEffort.estimatedStartDate.toString())!}</td>
+        <td>${workEffort.priority!}</td>
+        <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
         <td><a href="<@ofbizContentUrl>/workeffort/control/WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizContentUrl>">${workEffort.workEffortName}</a></td>
         <td class="button-col"><a href="<@ofbizContentUrl>/workeffort/control/WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizContentUrl>">${workEffort.workEffortId}</a></td>
       </tr>
@@ -64,10 +64,10 @@
       <#assign alt_row = false>
       <#list activities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate.toString())?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate.toString())!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <#-- <td>${workEffort.partyId}</td> -->
           <td>${workEffort.roleTypeId}</td>
           <td><a href="<@ofbizContentUrl>/workeffort/control/WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizContentUrl>">${workEffort.workEffortName}</a></td>
@@ -93,10 +93,10 @@
       <#assign alt_row = false>
       <#list roleActivities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate.toString())?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate.toString())!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <#-- <td>${workEffort.partyId}</td> -->
           <td>${workEffort.roleTypeId}</td>
           <td><a href="<@ofbizContentUrl>/workeffort/control/WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizContentUrl>">${workEffort.workEffortName}</a></td>
@@ -122,10 +122,10 @@
       <#assign alt_row = false>
       <#list groupActivities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate.toString())?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate.toString())!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <td>${workEffort.groupPartyId}</td>
           <#-- <td>${workEffort.roleTypeId}</td> -->
           <td><a href="<@ofbizContentUrl>/workeffort/control/WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizContentUrl>">${workEffort.workEffortName}</a></td>
Index: applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/Contact.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/Contact.ftl	(working copy)
@@ -65,14 +65,14 @@
                       <#if contactMechPurposeType?has_content>
                         <#assign popUptitle = contactMechPurposeType.get("description", locale) + uiLabelMap.CommonGeoLocation>
                       </#if>
-                      <a href="javascript:popUp('<@ofbizUrl>PartyGeoLocation?geoPointId=${postalAddress.geoPointId}&partyId=${partyId}</@ofbizUrl>', '${popUptitle?if_exists}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
+                      <a href="javascript:popUp('<@ofbizUrl>PartyGeoLocation?geoPointId=${postalAddress.geoPointId}&partyId=${partyId}</@ofbizUrl>', '${popUptitle!}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
                     </#if>
                   </#if>
                 <#elseif "TELECOM_NUMBER" = contactMech.contactMechTypeId>
                   <#if contactMechMap.telecomNumber?has_content>
                     <#assign telecomNumber = contactMechMap.telecomNumber>
                     <div>
-                      ${telecomNumber.countryCode?if_exists}
+                      ${telecomNumber.countryCode!}
                       <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if><#if telecomNumber.contactNumber?has_content>${telecomNumber.contactNumber?default("000-0000")}</#if>
                       <#if partyContactMech.extension?has_content>${uiLabelMap.PartyContactExt}&nbsp;${partyContactMech.extension}</#if>
                         <#if !telecomNumber.countryCode?has_content || telecomNumber.countryCode = "011">
@@ -83,7 +83,7 @@
                   </#if>
                 <#elseif "EMAIL_ADDRESS" = contactMech.contactMechTypeId>
                   <div>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
                     <form method="post" action="<@ofbizUrl>NewDraftCommunicationEvent</@ofbizUrl>" onsubmit="javascript:submitFormDisableSubmits(this)" name="createEmail${contactMech.infoString?replace("&#64;","")?replace(".","")}">
                       <#if userLogin.partyId?has_content>
                       <input name="partyIdFrom" value="${userLogin.partyId}" type="hidden"/>
@@ -97,18 +97,18 @@
                   </div>
                 <#elseif "WEB_ADDRESS" = contactMech.contactMechTypeId>
                   <div>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
                     <#assign openAddress = contactMech.infoString?default("")>
                     <#if !openAddress?starts_with("http") && !openAddress?starts_with("HTTP")><#assign openAddress = "http://" + openAddress></#if>
                     <a target="_blank" href="${openAddress}" class="buttontext">${uiLabelMap.CommonOpenPageNewWindow}</a>
                   </div>
                 <#else>
-                  <div>${contactMech.infoString?if_exists}</div>
+                  <div>${contactMech.infoString!}</div>
                 </#if>
                 <div>(${uiLabelMap.CommonUpdated}:&nbsp;${partyContactMech.fromDate})</div>
                 <#if partyContactMech.thruDate?has_content><div><b>${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${partyContactMech.thruDate}</b></div></#if>
                 <#-- create cust request -->
-                <#if custRequestTypes?exists>
+                <#if custRequestTypes??>
                   <form name="createCustRequestForm" action="<@ofbizUrl>createCustRequest</@ofbizUrl>" method="post" onsubmit="javascript:submitFormDisableSubmits(this)">
                     <input type="hidden" name="partyId" value="${partyId}"/>
                     <input type="hidden" name="fromPartyId" value="${partyId}"/>
@@ -122,7 +122,7 @@
                   </form>
                 </#if>
               </td>
-              <td valign="top"><b>(${partyContactMech.allowSolicitation?if_exists})</b></td>
+              <td valign="top"><b>(${partyContactMech.allowSolicitation!})</b></td>
               <td class="button-col">
                 <#if security.hasEntityPermission("PARTYMGR", "_UPDATE", session) || userLogin.partyId == partyId>
                   <a href="<@ofbizUrl>editcontactmech?partyId=${partyId}&amp;contactMechId=${contactMech.contactMechId}</@ofbizUrl>">${uiLabelMap.CommonUpdate}</a>
Index: applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/PaymentMethods.ftl	(working copy)
@@ -31,7 +31,7 @@
       <#assign cardNumberDisplay = cardNumber>
     </#if>
   </#if>
-  ${cardNumberDisplay?if_exists}
+  ${cardNumberDisplay!}
 </#macro>
 
   <div id="partyPaymentMethod" class="screenlet">
@@ -69,14 +69,14 @@
                   &nbsp;-&nbsp;
                   <#if security.hasEntityPermission("PAY_INFO", "_VIEW", session) || security.hasEntityPermission("ACCOUNTING", "_VIEW", session)>
                     ${creditCard.cardType}
-                    <@maskSensitiveNumber cardNumber=creditCard.cardNumber?if_exists/>
+                    <@maskSensitiveNumber cardNumber=creditCard.cardNumber!/>
                     ${creditCard.expireDate}
                   <#else>
                     ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
                   </#if>
                   <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
                   <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if>
-                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate?if_exists})</#if>
+                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate!})</#if>
                   <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${paymentMethod.thruDate})</#if>
                 </td>
                 <td class="button-col">
@@ -96,12 +96,12 @@
                   <#if security.hasEntityPermission("PAY_INFO", "_VIEW", session) || security.hasEntityPermission("ACCOUNTING", "_VIEW", session)>
                     ${giftCard.cardNumber?default("N/A")} [${giftCard.pinNumber?default("N/A")}]
                   <#else>
-                    <@maskSensitiveNumber cardNumber=giftCard.cardNumber?if_exists/>
+                    <@maskSensitiveNumber cardNumber=giftCard.cardNumber!/>
                     <#if !cardNumberDisplay?has_content>N/A</#if>
                   </#if>
                   <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
                   <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if>
-                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate?if_exists})</#if>
+                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate!})</#if>
                   <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${paymentMethod.thruDate.toString()}</b></#if>
                 </td>
                 <td class="button-col">
@@ -117,7 +117,7 @@
                 <td>
                   ${eftAccount.nameOnAccount} - <#if eftAccount.bankName?has_content>${uiLabelMap.PartyBank}: ${eftAccount.bankName}</#if> <#if eftAccount.accountNumber?has_content>${uiLabelMap.PartyAccount} #: ${eftAccount.accountNumber}</#if>                  <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
                   <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if>
-                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate?if_exists})</#if>
+                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate!})</#if>
                   <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${paymentMethod.thruDate.toString()}</#if>
                 </td>
                 <td class="button-col">
@@ -133,7 +133,7 @@
                 <td>
                   <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
                   <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if>
-                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate?if_exists})</#if>
+                  <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate!})</#if>
                   <#if paymentMethod.thruDate?has_content>(${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${paymentMethod.thruDate.toString()}</#if>
                 </td>
                 <td class="button-col">
@@ -162,7 +162,7 @@
                   <#if billing.description?has_content>(${billing.description})</#if>
                   <#if billing.accountLimit?has_content>(${uiLabelMap.AccountingAccountLimit} $${billing.accountLimit})</#if>
                   <#if billing.accountBalance?has_content>(${uiLabelMap.AccountingBillingAvailableBalance} $${billing.accountBalance})</#if>
-                  <#if billing.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${billing.fromDate?if_exists})</#if>
+                  <#if billing.fromDate?has_content>(${uiLabelMap.CommonUpdated}:&nbsp;${billing.fromDate!})</#if>
                   <#if billing.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${billing.thruDate.toString()}</b></#if>
               </td>
               <td class="button-col">
Index: applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl	(working copy)
@@ -23,20 +23,20 @@
           <#list partyContent as pContent>
             <#assign content = pContent.getRelatedOne("Content", false)>
             <#assign contentType = content.getRelatedOne("ContentType", true)>
-            <#assign mimeType = content.getRelatedOne("MimeType", true)?if_exists>
-            <#assign status = content.getRelatedOne("StatusItem", true)?if_exists>
+            <#assign mimeType = content.getRelatedOne("MimeType", true)!>
+            <#assign status = content.getRelatedOne("StatusItem", true)!>
             <#assign pcType = pContent.getRelatedOne("PartyContentType", false)>
             <tr>
               <td class="button-col"><a href="<@ofbizUrl>EditPartyContents?contentId=${pContent.contentId}&amp;partyId=${pContent.partyId}&amp;partyContentTypeId=${pContent.partyContentTypeId}&amp;fromDate=${pContent.fromDate}</@ofbizUrl>">${content.contentId}</a></td>
-              <td>${(pcType.get("description", locale))?if_exists}</td>
-              <td>${content.contentName?if_exists}</td>
-              <td>${(contentType.get("description",locale))?if_exists}</td>
-              <td>${(mimeType.description)?if_exists}</td>
-              <td>${(status.get("description",locale))?if_exists}</td>
-              <td>${pContent.fromDate?if_exists}</td>
+              <td>${(pcType.get("description", locale))!}</td>
+              <td>${content.contentName!}</td>
+              <td>${(contentType.get("description",locale))!}</td>
+              <td>${(mimeType.description)!}</td>
+              <td>${(status.get("description",locale))!}</td>
+              <td>${pContent.fromDate!}</td>
               <td class="button-col">
                 <#if (content.contentName?has_content)>
-                    <a href="<@ofbizUrl>img/${content.contentName}?imgId=${(content.dataResourceId)?if_exists}</@ofbizUrl>">${uiLabelMap.CommonView}</a>
+                    <a href="<@ofbizUrl>img/${content.contentName}?imgId=${(content.dataResourceId)!}</@ofbizUrl>">${uiLabelMap.CommonView}</a>
                 </#if>
                 <form name="removePartyContent_${pContent_index}" method="post" action="<@ofbizUrl>removePartyContent/viewprofile</@ofbizUrl>">
                   <input type="hidden" name="contentId" value="${pContent.contentId}" />
Index: applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl	(working copy)
@@ -37,7 +37,7 @@
               <td>
                 <#assign enabled = uiLabelMap.PartyEnabled>
                 <#if (userUserLogin.enabled)?default("Y") == "N">
-                  <#if userUserLogin.disabledDateTime?exists>
+                  <#if userUserLogin.disabledDateTime??>
                     <#assign disabledTime = userUserLogin.disabledDateTime.toString()>
                   <#else>
                     <#assign disabledTime = "??">
Index: applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl	(working copy)
@@ -38,30 +38,30 @@
             </thead>
             <tbody>
                 <#list inventoryItemList as inventoryItem>
-                    <#assign product = inventoryItem.getRelatedOne('Product', false)?if_exists>
+                    <#assign product = inventoryItem.getRelatedOne('Product', false)!>
                     <tr>
-                        <td><a href="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItem.inventoryItemId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}" class="linktext">${inventoryItem.inventoryItemId}</a></td>
+                        <td><a href="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItem.inventoryItemId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}" class="linktext">${inventoryItem.inventoryItemId}</a></td>
                         <td>
                             <#if product?has_content>
                                 <#if product.isVariant?default('N') == 'Y'>
-                                    <#assign product = Static['org.ofbiz.product.product.ProductWorker'].getParentProduct(product.productId, delegator)?if_exists>
+                                    <#assign product = Static['org.ofbiz.product.product.ProductWorker'].getParentProduct(product.productId, delegator)!>
                                 </#if>
                                 <#if product?has_content>
-                                    <#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists>
-                                    <a href="/catalog/control/EditProduct?productId=${product.productId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}">${productName?default(product.productId)}</a>
+                                    <#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)!>
+                                    <a href="/catalog/control/EditProduct?productId=${product.productId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}">${productName?default(product.productId)}</a>
                                 </#if>
                             </#if>
                         </td>
-                        <td>${inventoryItem.serialNumber?if_exists}</td>
+                        <td>${inventoryItem.serialNumber!}</td>
                         <td>
-                          ${inventoryItem.softIdentifier?if_exists}
+                          ${inventoryItem.softIdentifier!}
                           <#if (inventoryItem.softIdentifier?has_content && inventoryItem.softIdentifier?matches("\\d+"))>
                             <#assign sid = Static["java.lang.Long"].decode(inventoryItem.softIdentifier)/>
                             (0x${Static["java.lang.Long"].toHexString(sid)})
                           </#if>
                         </td>
-                        <td>${inventoryItem.activationNumber?if_exists}</td>
-                        <td>${inventoryItem.activationValidThru?if_exists}</td>
+                        <td>${inventoryItem.activationNumber!}</td>
+                        <td>${inventoryItem.activationValidThru!}</td>
                     </tr>
                 </#list>
             </tbody>
Index: applications/party/webapp/partymgr/party/profileblocks/AvsSettings.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/AvsSettings.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/AvsSettings.ftl	(working copy)
@@ -28,7 +28,7 @@
       <span class="label">${uiLabelMap.PartyAvsString}</span>${(avsOverride.avsDeclineString)?default("${uiLabelMap.CommonGlobal}")}
       <#if security.hasEntityPermission("PARTYMGR", "_UPDATE", session)>
         <a href="<@ofbizUrl>editAvsOverride?partyId=${party.partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonEdit}</a>
-        <#if avsOverride?exists>
+        <#if avsOverride??>
           <a href="<@ofbizUrl>resetAvsOverride?partyId=${party.partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonReset}</a>
         </#if>
       </#if>
Index: applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl	(working copy)
@@ -22,13 +22,13 @@
         <b>${uiLabelMap.AccountingAccountNumber}:</b> <a href="/accounting/control/EditFinAccount?finAccountId=${ownedFinAccount.finAccountId}${StringUtil.wrapString(externalKeyParam)}"
              class="smallSubmit">${ownedFinAccount.finAccountId}</a>
         <b>${uiLabelMap.AccountingAccountType}:</b> ${(ownedFinAccountType.description)?default('N/A')}
-        <b>${uiLabelMap.FormFieldTitle_finAccountName}:</b> ${ownedFinAccount.finAccountName?if_exists}
+        <b>${uiLabelMap.FormFieldTitle_finAccountName}:</b> ${ownedFinAccount.finAccountName!}
     </p>
     <p>
-        <b>${uiLabelMap.AccountingCurrency}:</b> ${(accountCurrencyUom.description)?if_exists} [${ownedFinAccount.currencyUomId?if_exists}]
-        <b>${uiLabelMap.AccountingDateOpened}:</b> ${ownedFinAccount.fromDate?if_exists}
+        <b>${uiLabelMap.AccountingCurrency}:</b> ${(accountCurrencyUom.description)!} [${ownedFinAccount.currencyUomId!}]
+        <b>${uiLabelMap.AccountingDateOpened}:</b> ${ownedFinAccount.fromDate!}
         <b>${uiLabelMap.CommonStatus}:</b> ${(finAccountStatusItem.description)?default("Active")}
-        <#if ownedFinAccount.replenishLevel?exists>
+        <#if ownedFinAccount.replenishLevel??>
             <b>${uiLabelMap.FormFieldTitle_replenishLevel}:</b> <@ofbizCurrency amount=ownedFinAccount.replenishLevel isoCode=ownedFinAccount.currencyUomId/>
         </#if>
     </p>
@@ -52,11 +52,11 @@
                     <#assign displayAmount = -displayAmount>
                 </#if>
                 <tr>
-                    <td>${ownedFinAccountTrans.transactionDate?if_exists}</td>
+                    <td>${ownedFinAccountTrans.transactionDate!}</td>
                     <td>${ownedFinAccountTrans.finAccountTransId}</td>
-                    <td>${ownedFinAccountTrans.orderId?if_exists}:${ownedFinAccountTrans.orderItemSeqId?if_exists}</td>
-                    <td>${ownedFinAccountTrans.paymentId?if_exists}</td>
-                    <td>${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)?if_exists}</td>
+                    <td>${ownedFinAccountTrans.orderId!}:${ownedFinAccountTrans.orderItemSeqId!}</td>
+                    <td>${ownedFinAccountTrans.paymentId!}</td>
+                    <td>${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)!}</td>
                     <td><@ofbizCurrency amount=displayAmount isoCode=ownedFinAccount.currencyUomId/></td>
                 </tr>
             </#list>
@@ -85,9 +85,9 @@
             <tbody>
                 <#list ownedFinAccountAuthList as ownedFinAccountAuth>
                     <tr>
-                        <td>${ownedFinAccountAuth.authorizationDate?if_exists}</td>
+                        <td>${ownedFinAccountAuth.authorizationDate!}</td>
                         <td>${ownedFinAccountAuth.finAccountAuthId}</td>
-                        <td>${ownedFinAccountAuth.thruDate?if_exists}</td>
+                        <td>${ownedFinAccountAuth.thruDate!}</td>
                         <td><@ofbizCurrency amount=-ownedFinAccountAuth.amount isoCode=ownedFinAccount.currencyUomId/></td>
                     </tr>
                 </#list>
Index: applications/party/webapp/partymgr/party/profileblocks/ProductStores.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/ProductStores.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/ProductStores.ftl	(working copy)
@@ -38,7 +38,7 @@
             <td class="button-col">
               <a href="/catalog/control/FindProductStoreRoles?partyId=${productStoreRole.partyId}&amp;productStoreId=${productStore.productStoreId}">${productStore.storeName?default("${uiLabelMap.ProductNoDescription}")} (${productStore.productStoreId})</a>
             </td>
-            <td>${roleType.description?if_exists}</td>
+            <td>${roleType.description!}</td>
           </tr>
         </#list>
       </table>
Index: applications/party/webapp/partymgr/party/profileblocks/Visits.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/Visits.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/Visits.ftl	(working copy)
@@ -41,14 +41,14 @@
             <#if (visitObj_index > 4)><#break></#if>
               <tr>
                 <td class="button-col">
-                  <a href="<@ofbizUrl>visitdetail?visitId=${visitObj.visitId?if_exists}</@ofbizUrl>">${visitObj.visitId?if_exists}</a>
+                  <a href="<@ofbizUrl>visitdetail?visitId=${visitObj.visitId!}</@ofbizUrl>">${visitObj.visitId!}</a>
                 </td>
-                <td>${visitObj.userLoginId?if_exists}</td>
-                <td>${visitObj.userCreated?if_exists}</td>
-                <td>${visitObj.webappName?if_exists}</td>
-                <td>${visitObj.clientIpAddress?if_exists}</td>
-                <td>${(visitObj.fromDate.toString())?if_exists}</td>
-                <td>${(visitObj.thruDate.toString())?if_exists}</td>
+                <td>${visitObj.userLoginId!}</td>
+                <td>${visitObj.userCreated!}</td>
+                <td>${visitObj.webappName!}</td>
+                <td>${visitObj.clientIpAddress!}</td>
+                <td>${(visitObj.fromDate.toString())!}</td>
+                <td>${(visitObj.thruDate.toString())!}</td>
               </tr>
           </#list>
         </table>
Index: applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl	(working copy)
@@ -22,7 +22,7 @@
       <ul>
         <li class="h3">${uiLabelMap.PartyAttributes}</li>
         <#if security.hasEntityPermission("PARTYMGR", "_CREATE", session)>
-          <li><a href="<@ofbizUrl>editPartyAttribute?partyId=${party.partyId?if_exists}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
+          <li><a href="<@ofbizUrl>editPartyAttribute?partyId=${party.partyId!}</@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
         </#if>
       </ul>
       <br class="clear"/>
@@ -39,13 +39,13 @@
           <#list attributes as attr>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td>
-                ${attr.attrName?if_exists}
+                ${attr.attrName!}
               </td>
               <td>
-                ${attr.attrValue?if_exists}
+                ${attr.attrValue!}
               </td>
               <td class="button-col">
-                <a href="<@ofbizUrl>editPartyAttribute?partyId=${partyId?if_exists}&attrName=${attr.attrName?if_exists}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
+                <a href="<@ofbizUrl>editPartyAttribute?partyId=${partyId!}&attrName=${attr.attrName!}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
               </td>
             </tr>
             <#-- toggle the row color -->
Index: applications/party/webapp/partymgr/party/profileblocks/Notes.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/Notes.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/Notes.ftl	(working copy)
@@ -33,7 +33,7 @@
           <#list notes as noteRef>
             <tr>
               <td>
-                <div><b>${uiLabelMap.FormFieldTitle_noteName}: </b>${noteRef.noteName?if_exists}</div>
+                <div><b>${uiLabelMap.FormFieldTitle_noteName}: </b>${noteRef.noteName!}</div>
                 <#if noteRef.noteParty?has_content>
                   <div><b>${uiLabelMap.CommonBy}: </b>${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, noteRef.noteParty, true)}</div>
                 </#if>
Index: applications/party/webapp/partymgr/party/profileblocks/Cart.ftl
===================================================================
--- applications/party/webapp/partymgr/party/profileblocks/Cart.ftl	(revision 1590602)
+++ applications/party/webapp/partymgr/party/profileblocks/Cart.ftl	(working copy)
@@ -44,10 +44,10 @@
             </tr>
             <#list savedCartItems as savedCartItem>
               <tr>
-                <td>${savedCartItem.shoppingListItemSeqId?if_exists}</td>
-                <td class="button-col"><a href="/catalog/control/EditProduct?productId=${savedCartItem.productId}&amp;externalLoginKey=${requestAttributes.externalLoginKey}">${savedCartItem.productId?if_exists}</a></td>
-                <td>${savedCartItem.quantity?if_exists}</td>
-                <td>${savedCartItem.quantityPurchased?if_exists}</td>
+                <td>${savedCartItem.shoppingListItemSeqId!}</td>
+                <td class="button-col"><a href="/catalog/control/EditProduct?productId=${savedCartItem.productId}&amp;externalLoginKey=${requestAttributes.externalLoginKey}">${savedCartItem.productId!}</a></td>
+                <td>${savedCartItem.quantity!}</td>
+                <td>${savedCartItem.quantityPurchased!}</td>
               </tr>
             </#list>
           </table>
Index: applications/product/templates/shipment/FedexShipRequestTemplate.xml.ftl
===================================================================
--- applications/product/templates/shipment/FedexShipRequestTemplate.xml.ftl	(revision 1590602)
+++ applications/product/templates/shipment/FedexShipRequestTemplate.xml.ftl	(working copy)
@@ -38,20 +38,20 @@
         <CurrencyCode>${CurrencyCode?xml}</CurrencyCode>
         <Origin>
             <Contact>
-                <#if OriginContactPersonName?exists>
+                <#if OriginContactPersonName??>
                     <PersonName>${OriginContactPersonName?xml}</PersonName>
-                <#elseif OriginContactCompanyName?exists>
+                <#elseif OriginContactCompanyName??>
                     <CompanyName>${OriginContactCompanyName?xml}</CompanyName>
                 </#if>
                 <PhoneNumber>${OriginContactPhoneNumber?xml}</PhoneNumber>
             </Contact>
             <Address>
                 <Line1>${OriginAddressLine1?xml}</Line1>
-                <#if OriginAddressLine2?exists>
+                <#if OriginAddressLine2??>
                     <Line2>${OriginAddressLine2?xml}</Line2>
                 </#if>
                 <City>${OriginAddressCity?xml}</City>
-                <#if OriginAddressStateOrProvinceCode?exists>
+                <#if OriginAddressStateOrProvinceCode??>
                     <StateOrProvinceCode>${OriginAddressStateOrProvinceCode?xml}</StateOrProvinceCode>
                 </#if>
                 <PostalCode>${OriginAddressPostalCode?xml}</PostalCode>
@@ -60,20 +60,20 @@
         </Origin>
         <Destination>
             <Contact>
-                <#if DestinationContactPersonName?exists>
+                <#if DestinationContactPersonName??>
                     <PersonName>${DestinationContactPersonName?xml}</PersonName>
-                <#elseif DestinationContactCompanyName?exists>
+                <#elseif DestinationContactCompanyName??>
                     <CompanyName>${DestinationContactCompanyName?xml}</CompanyName>
                 </#if>
                 <PhoneNumber>${DestinationContactPhoneNumber?xml}</PhoneNumber>
             </Contact>
             <Address>
                 <Line1>${DestinationAddressLine1?xml}</Line1>
-                <#if DestinationAddressLine2?exists>
+                <#if DestinationAddressLine2??>
                     <Line2>${DestinationAddressLine2?xml}</Line2>
                 </#if>
                 <City>${DestinationAddressCity?xml}</City>
-                <#if DestinationAddressStateOrProvinceCode?exists>
+                <#if DestinationAddressStateOrProvinceCode??>
                     <StateOrProvinceCode>${DestinationAddressStateOrProvinceCode?xml}</StateOrProvinceCode>
                 </#if>
                 <PostalCode>${DestinationAddressPostalCode?xml}</PostalCode>
@@ -86,24 +86,24 @@
         <ReferenceInfo>
             <CustomerReference>${CustomerReference?xml}</CustomerReference>
         </ReferenceInfo>
-        <#if DimensionsUnits?exists>
+        <#if DimensionsUnits??>
             <Dimensions>
-                <#if DimensionsLength?exists>
+                <#if DimensionsLength??>
                     <Length>${DimensionsLength?xml}</Length>
                 </#if>
-                <#if DimensionsWidth?exists>
+                <#if DimensionsWidth??>
                     <Width>${DimensionsWidth?xml}</Width>
                 </#if>
-                <#if DimensionsHeight?exists>
+                <#if DimensionsHeight??>
                     <Height>${DimensionsHeight?xml}</Height>
                 </#if>
                 <Units>${DimensionsUnits?xml}</Units>
             </Dimensions>
         </#if>
-        <#if HomeDeliveryType?exists>
+        <#if HomeDeliveryType??>
             <HomeDelivery>
                 <Type>${HomeDeliveryType?xml}</Type>
-                <#if HomeDeliveryDate?exists>
+                <#if HomeDeliveryDate??>
                     <Date>${HomeDeliveryDate?string("yyyy-MM-dd")}</Date>
                 </#if>
                 <PhoneNumber>${DestinationContactPhoneNumber?xml}</PhoneNumber>
@@ -113,7 +113,7 @@
             <Type>${LabelType?xml}</Type>
             <ImageType>${LabelImageType?xml}</ImageType>
         </Label>
-        <#if HomeDeliveryType?exists>
+        <#if HomeDeliveryType??>
             <SpecialServices>
                 <ResidentialDelivery>true</ResidentialDelivery>
             </SpecialServices>
Index: applications/product/templates/shipment/FedexSubscriptionRequestTemplate.xml.ftl
===================================================================
--- applications/product/templates/shipment/FedexSubscriptionRequestTemplate.xml.ftl	(revision 1590602)
+++ applications/product/templates/shipment/FedexSubscriptionRequestTemplate.xml.ftl	(working copy)
@@ -30,21 +30,21 @@
             <PersonName>${PersonName?xml}</PersonName>
             <CompanyName>${CompanyName?xml}</CompanyName>
             <PhoneNumber>${PhoneNumber?xml}</PhoneNumber>
-            <#if FaxNumber?exists>
+            <#if FaxNumber??>
                 <FaxNumber>${FaxNumber?xml}</FaxNumber>
             </#if>
-            <#if EMailAddress?exists>
+            <#if EMailAddress??>
                 <#-- Freemarker has a problem with the E-MailAddress tag name, so the opening and closing tags need to be wrapped in the noparse directive. -->
                 <#noparse><E-MailAddress></#noparse>${EMailAddress?xml}<#noparse></E-MailAddress></#noparse>
             </#if>
         </Contact>
         <Address>
             <Line1>${Line1?xml}</Line1>
-            <#if Line2?exists>
+            <#if Line2??>
                 <Line2>${Line2?xml}</Line2>
             </#if>
             <City>${City?xml}</City>
-            <#if StateOrProvinceCode?exists>
+            <#if StateOrProvinceCode??>
                 <StateOrProvinceCode>${StateOrProvinceCode?xml}</StateOrProvinceCode>
             </#if>
             <PostalCode>${PostalCode?xml}</PostalCode>
Index: applications/product/webapp/facility/lookup/LookupInventoryItems.ftl
===================================================================
--- applications/product/webapp/facility/lookup/LookupInventoryItems.ftl	(revision 1590602)
+++ applications/product/webapp/facility/lookup/LookupInventoryItems.ftl	(working copy)
@@ -27,47 +27,47 @@
     <td>${uiLabelMap.FormFieldTitle_unitCost}</td>
   </tr>
   <tr><td colspan="6"><hr /></td></tr>
-  <#if (inventoryItemsForPo?exists && inventoryItemsForPo?has_content)>
+  <#if (inventoryItemsForPo?? && inventoryItemsForPo?has_content)>
     <tr class="header-row-2"><td colspan="6"><span class="label">&nbsp;${uiLabelMap.ProductInventoryItemsFor} ${uiLabelMap.ProductPurchaseOrder} - ${orderId}</span></td></tr>
     <#list inventoryItemsForPo as inventoryItem>
       <tr>
         <td><a class="buttontext" href="javascript:set_value('${inventoryItem.inventoryItemId}')">${inventoryItem.inventoryItemId}</a></td>
-        <td>${inventoryItem.facilityId?if_exists}</td>
-        <td>${inventoryItem.locationSeqId?if_exists}</td>
-        <td>${inventoryItem.quantityOnHandTotal?if_exists}</td>
-        <td>${inventoryItem.availableToPromiseTotal?if_exists}</td>
-        <td>${inventoryItem.unitCost?if_exists}</td>
+        <td>${inventoryItem.facilityId!}</td>
+        <td>${inventoryItem.locationSeqId!}</td>
+        <td>${inventoryItem.quantityOnHandTotal!}</td>
+        <td>${inventoryItem.availableToPromiseTotal!}</td>
+        <td>${inventoryItem.unitCost!}</td>
       </tr>
     </#list>
   </#if>
-  <#if (inventoryItemsForSupplier?exists && inventoryItemsForSupplier?has_content)>
+  <#if (inventoryItemsForSupplier?? && inventoryItemsForSupplier?has_content)>
     <tr class="header-row-2"><td colspan="6"><span class="label centered">&nbsp;${uiLabelMap.ProductInventoryItemsFor} ${uiLabelMap.ProductSupplier} - ${partyId}</span></td></tr>
     <#list inventoryItemsForSupplier as inventoryItem>
       <tr>
         <td><a class="buttontext" href="javascript:set_value('${inventoryItem.inventoryItemId}')">${inventoryItem.inventoryItemId}</a></td>
-        <td>${inventoryItem.facilityId?if_exists}</td>
-        <td>${inventoryItem.locationSeqId?if_exists}</td>
-        <td>${inventoryItem.quantityOnHandTotal?if_exists}</td>
-        <td>${inventoryItem.availableToPromiseTotal?if_exists}</td>
-        <td>${inventoryItem.unitCost?if_exists}</td>
+        <td>${inventoryItem.facilityId!}</td>
+        <td>${inventoryItem.locationSeqId!}</td>
+        <td>${inventoryItem.quantityOnHandTotal!}</td>
+        <td>${inventoryItem.availableToPromiseTotal!}</td>
+        <td>${inventoryItem.unitCost!}</td>
       </tr>
     </#list>
   </#if>
-  <#if (inventoryItemsForProduct?exists && inventoryItemsForProduct?has_content)>
-    <tr class="header-row-2"><td colspan="6"><span class="label">&nbsp;${uiLabelMap.ProductInventoryItemsFor} ${uiLabelMap.ProductProduct} - ${internalName?if_exists} [${productId}]</span></td></tr>
+  <#if (inventoryItemsForProduct?? && inventoryItemsForProduct?has_content)>
+    <tr class="header-row-2"><td colspan="6"><span class="label">&nbsp;${uiLabelMap.ProductInventoryItemsFor} ${uiLabelMap.ProductProduct} - ${internalName!} [${productId}]</span></td></tr>
     <#list inventoryItemsForProduct as inventoryItem>
       <tr>
         <td><a class="buttontext" href="javascript:set_value('${inventoryItem.inventoryItemId}')">${inventoryItem.inventoryItemId}</a></td>
-        <td>${inventoryItem.facilityId?if_exists}</td>
-        <td>${inventoryItem.locationSeqId?if_exists}</td>
-        <td>${inventoryItem.quantityOnHandTotal?if_exists}</td>
-        <td>${inventoryItem.availableToPromiseTotal?if_exists}</td>
-        <td>${inventoryItem.unitCost?if_exists}</td>
+        <td>${inventoryItem.facilityId!}</td>
+        <td>${inventoryItem.locationSeqId!}</td>
+        <td>${inventoryItem.quantityOnHandTotal!}</td>
+        <td>${inventoryItem.availableToPromiseTotal!}</td>
+        <td>${inventoryItem.unitCost!}</td>
       </tr>
     </#list>
     <tr>
   </#if>
-  <#if !(inventoryItemsForPo?exists && inventoryItemsForPo?has_content) && !(inventoryItemsForSupplier?exists && inventoryItemsForSupplier?has_content) && !(inventoryItemsForProduct?exists && inventoryItemsForProduct?has_content)>
+  <#if !(inventoryItemsForPo?? && inventoryItemsForPo?has_content) && !(inventoryItemsForSupplier?? && inventoryItemsForSupplier?has_content) && !(inventoryItemsForProduct?? && inventoryItemsForProduct?has_content)>
     <tr><td><span class="label">${uiLabelMap.CommonNo} ${uiLabelMap.ProductInventoryItems} ${uiLabelMap.ProductAvailable}.</span></td></tr>
   </#if>
 </table>
Index: applications/product/webapp/facility/inventory/receiveInventory.ftl
===================================================================
--- applications/product/webapp/facility/inventory/receiveInventory.ftl	(revision 1590602)
+++ applications/product/webapp/facility/inventory/receiveInventory.ftl	(working copy)
@@ -20,7 +20,7 @@
     function setNow(field) { eval('document.selectAllForm.' + field + '.value="${nowTimestamp}"'); }
 </script>
 <div class="page-title">${title}</div>
-        <#if invalidProductId?exists>
+        <#if invalidProductId??>
             <div class="errorMessage">${invalidProductId}</div>
         </#if>
         <div class="button-bar button-style-1">
@@ -46,11 +46,11 @@
             </tr>
             <#list receivedItems as item>
               <form name="cancelReceivedItemsForm_${item_index}" method="post" action="<@ofbizUrl>cancelReceivedItems</@ofbizUrl>">
-                <input type="hidden" name="receiptId" value ="${(item.receiptId)?if_exists}"/>
-                <input type="hidden" name="purchaseOrderId" value ="${(item.orderId)?if_exists}"/>
-                <input type="hidden" name="facilityId" value ="${facilityId?if_exists}"/>
+                <input type="hidden" name="receiptId" value ="${(item.receiptId)!}"/>
+                <input type="hidden" name="purchaseOrderId" value ="${(item.orderId)!}"/>
+                <input type="hidden" name="facilityId" value ="${facilityId!}"/>
                 <tr>
-                  <td><a href="<@ofbizUrl>ViewShipment?shipmentId=${item.shipmentId?if_exists}</@ofbizUrl>" class="buttontext">${item.shipmentId?if_exists} ${item.shipmentItemSeqId?if_exists}</a></td>
+                  <td><a href="<@ofbizUrl>ViewShipment?shipmentId=${item.shipmentId!}</@ofbizUrl>" class="buttontext">${item.shipmentId!} ${item.shipmentItemSeqId!}</a></td>
                   <td>${item.receiptId}</td>
                   <td>${item.getString("datetimeReceived").toString()}</td>
                   <td><a href="/ordermgr/control/orderview?orderId=${item.orderId}" class="buttontext">${item.orderId}</a></td>
@@ -74,14 +74,14 @@
         </#if>
 
         <#-- Single Product Receiving -->
-        <#if requestParameters.initialSelected?exists && product?has_content>
+        <#if requestParameters.initialSelected?? && product?has_content>
           <form method="post" action="<@ofbizUrl>receiveSingleInventoryProduct</@ofbizUrl>" name="selectAllForm">
             <table class="basic-table" cellspacing="0">
               <#-- general request fields -->
-              <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}"/>
-              <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId?if_exists}"/>
+              <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}"/>
+              <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId!}"/>
               <#-- special service fields -->
-              <input type="hidden" name="productId" value="${requestParameters.productId?if_exists}"/>
+              <input type="hidden" name="productId" value="${requestParameters.productId!}"/>
               <#if purchaseOrder?has_content>
               <#assign unitCost = firstOrderItem.unitPrice?default(standardCosts.get(firstOrderItem.productId)?default(0))/>
               <input type="hidden" name="orderId" value="${purchaseOrder.orderId}"/>
@@ -105,7 +105,7 @@
                 <td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.ProductProductId}</td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                  <b>${requestParameters.productId?if_exists}</b>
+                  <b>${requestParameters.productId!}</b>
                 </td>
               </tr>
               <tr>
@@ -113,7 +113,7 @@
                 <td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.ProductProductName}</td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                  <a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam?if_exists}" target="catalog" class="buttontext">${product.internalName?if_exists}</a>
+                  <a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam!}" target="catalog" class="buttontext">${product.internalName!}</a>
                 </td>
               </tr>
               <tr>
@@ -121,7 +121,7 @@
                 <td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.ProductProductDescription}</td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                  ${product.description?if_exists}
+                  ${product.description!}
                 </td>
               </tr>
               <tr>
@@ -168,7 +168,7 @@
                     <option value=""></option>
                     <#if supplierPartyIds?has_content>
                       <#list supplierPartyIds as supplierPartyId>
-                        <option value="${supplierPartyId}" <#if supplierPartyId == parameters.partyId?if_exists> selected="selected"</#if>>
+                        <option value="${supplierPartyId}" <#if supplierPartyId == parameters.partyId!> selected="selected"</#if>>
                           [${supplierPartyId}] ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, supplierPartyId, true)}
                         </option>
                       </#list>
@@ -197,7 +197,7 @@
               </tr>
 
               <#-- facility location(s) -->
-              <#assign facilityLocations = (product.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))?if_exists/>
+              <#assign facilityLocations = (product.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))!/>
               <tr>
                 <td width="14%">&nbsp;</td>
                 <td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.ProductFacilityLocation}</td>
@@ -207,14 +207,14 @@
                     <select name="locationSeqId">
                       <#list facilityLocations as productFacilityLocation>
                         <#assign facility = productFacilityLocation.getRelatedOne("Facility", true)/>
-                        <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)?if_exists/>
-                        <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))?if_exists/>
-                        <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation?exists>${facilityLocation.areaId?if_exists}:${facilityLocation.aisleId?if_exists}:${facilityLocation.sectionId?if_exists}:${facilityLocation.levelId?if_exists}:${facilityLocation.positionId?if_exists}</#if><#if facilityLocationTypeEnum?exists>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
+                        <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)!/>
+                        <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))!/>
+                        <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation??>${facilityLocation.areaId!}:${facilityLocation.aisleId!}:${facilityLocation.sectionId!}:${facilityLocation.levelId!}:${facilityLocation.positionId!}</#if><#if facilityLocationTypeEnum??>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
                       </#list>
                       <option value="">${uiLabelMap.ProductNoLocation}</option>
                     </select>
                   <#else>
-                    <#if parameters.facilityId?exists>
+                    <#if parameters.facilityId??>
                       <#assign LookupFacilityLocationView="LookupFacilityLocation?facilityId=${facilityId}">
                     <#else>
                       <#assign LookupFacilityLocationView="LookupFacilityLocation">
@@ -258,7 +258,7 @@
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
                   <#-- get the default unit cost -->
-                  <#if (!unitCost?exists || unitCost == 0.0)><#assign unitCost = standardCosts.get(product.productId)?default(0)/></#if>
+                  <#if (!unitCost?? || unitCost == 0.0)><#assign unitCost = standardCosts.get(product.productId)?default(0)/></#if>
                   <input type="text" name="unitCost" size="10" value="${unitCost}"/>
                 </td>
               </tr>
@@ -273,21 +273,21 @@
           </form>
 
         <#-- Select Shipment Screen -->
-        <#elseif requestParameters.initialSelected?exists && !requestParameters.shipmentId?exists>
+        <#elseif requestParameters.initialSelected?? && !requestParameters.shipmentId??>
           <h3>${uiLabelMap.ProductSelectShipmentReceive}</h3>
           <form method="post" action="<@ofbizUrl>ReceiveInventory</@ofbizUrl>" name="selectAllForm">
             <#-- general request fields -->
-            <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}"/>
-            <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId?if_exists}"/>
+            <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}"/>
+            <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId!}"/>
             <input type="hidden" name="initialSelected" value="Y"/>
-            <input type="hidden" name="partialReceive" value="${partialReceive?if_exists}"/>
+            <input type="hidden" name="partialReceive" value="${partialReceive!}"/>
             <table class="basic-table" cellspacing="0">
-              <#list shipments?if_exists as shipment>
-                <#assign originFacility = shipment.getRelatedOne("OriginFacility", true)?if_exists/>
-                <#assign destinationFacility = shipment.getRelatedOne("DestinationFacility", true)?if_exists/>
+              <#list shipments! as shipment>
+                <#assign originFacility = shipment.getRelatedOne("OriginFacility", true)!/>
+                <#assign destinationFacility = shipment.getRelatedOne("DestinationFacility", true)!/>
                 <#assign statusItem = shipment.getRelatedOne("StatusItem", true)/>
                 <#assign shipmentType = shipment.getRelatedOne("ShipmentType", true)/>
-                <#assign shipmentDate = shipment.estimatedArrivalDate?if_exists/>
+                <#assign shipmentDate = shipment.estimatedArrivalDate!/>
                 <tr>
                   <td><hr /></td>
                 </tr>
@@ -299,9 +299,9 @@
                         <td width="5%" nowrap="nowrap">${shipment.shipmentId}</td>
                         <td>${shipmentType.get("description",locale)?default(shipmentType.shipmentTypeId?default(""))}</td>
                         <td>${statusItem.get("description",locale)?default(statusItem.statusId?default("N/A"))}</td>
-                        <td>${(originFacility.facilityName)?if_exists} [${shipment.originFacilityId?if_exists}]</td>
-                        <td>${(destinationFacility.facilityName)?if_exists} [${shipment.destinationFacilityId?if_exists}]</td>
-                        <td style="white-space: nowrap;">${(shipment.estimatedArrivalDate.toString())?if_exists}</td>
+                        <td>${(originFacility.facilityName)!} [${shipment.originFacilityId!}]</td>
+                        <td>${(destinationFacility.facilityName)!} [${shipment.destinationFacilityId!}]</td>
+                        <td style="white-space: nowrap;">${(shipment.estimatedArrivalDate.toString())!}</td>
                       </tr>
                     </table>
                   </td>
@@ -328,13 +328,13 @@
           </form>
 
         <#-- Multi-Item PO Receiving -->
-        <#elseif requestParameters.initialSelected?exists && purchaseOrder?has_content>
+        <#elseif requestParameters.initialSelected?? && purchaseOrder?has_content>
           <input type="hidden" id="getConvertedPrice" value="<@ofbizUrl secure="${request.isSecure()?string}">getConvertedPrice"</@ofbizUrl> />
           <input type="hidden" id="alertMessage" value="${uiLabelMap.ProductChangePerUnitPrice}" />
           <form method="post" action="<@ofbizUrl>receiveInventoryProduct</@ofbizUrl>" name="selectAllForm">
             <#-- general request fields -->
-            <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}"/>
-            <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId?if_exists}"/>
+            <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}"/>
+            <input type="hidden" name="purchaseOrderId" value="${requestParameters.purchaseOrderId!}"/>
             <input type="hidden" name="initialSelected" value="Y"/>
             <#if shipment?has_content>
             <input type="hidden" name="shipmentIdReceived" value="${shipment.shipmentId}"/>
@@ -342,7 +342,7 @@
             <input type="hidden" name="_useRowSubmit" value="Y"/>
             <#assign rowCount = 0/>
             <table class="basic-table" cellspacing="0">
-              <#if !purchaseOrderItems?exists || purchaseOrderItems.size() == 0>
+              <#if !purchaseOrderItems?? || purchaseOrderItems.size() == 0>
                 <tr>
                   <td colspan="2">${uiLabelMap.ProductNoItemsPoReceive}.</td>
                 </tr>
@@ -364,9 +364,9 @@
                 <#list purchaseOrderItems as orderItem>
                   <#assign defaultQuantity = orderItem.quantity - receivedQuantities[orderItem.orderItemSeqId]?double/>
                   <#assign itemCost = orderItem.unitPrice?default(0)/>
-                  <#assign salesOrderItem = salesOrderItems[orderItem.orderItemSeqId]?if_exists/>
+                  <#assign salesOrderItem = salesOrderItems[orderItem.orderItemSeqId]!/>
                   <#if shipment?has_content>
-                    <#if shippedQuantities[orderItem.orderItemSeqId]?exists>
+                    <#if shippedQuantities[orderItem.orderItemSeqId]??>
                       <#assign defaultQuantity = shippedQuantities[orderItem.orderItemSeqId]?double - receivedQuantities[orderItem.orderItemSeqId]?double/>
                     <#else>
                       <#assign defaultQuantity = 0/>
@@ -376,9 +376,9 @@
                   <#assign orderItemType = orderItem.getRelatedOne("OrderItemType", false)/>
                   <input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
                   <input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>
-                  <input type="hidden" name="facilityId_o_${rowCount}" value="${requestParameters.facilityId?if_exists}"/>
+                  <input type="hidden" name="facilityId_o_${rowCount}" value="${requestParameters.facilityId!}"/>
                   <input type="hidden" name="datetimeReceived_o_${rowCount}" value="${nowTimestamp}"/>
-                  <#if shipment?exists && shipment.shipmentId?has_content>
+                  <#if shipment?? && shipment.shipmentId?has_content>
                     <input type="hidden" name="shipmentId_o_${rowCount}" value="${shipment.shipmentId}"/>
                   </#if>
                   <#if salesOrderItem?has_content>
@@ -393,15 +393,15 @@
                     <td>
                       <table class="basic-table" cellspacing="0">
                         <tr>
-                          <#if orderItem.productId?exists>
+                          <#if orderItem.productId??>
                             <#assign product = orderItem.getRelatedOne("Product", true)/>
                             <input type="hidden" name="productId_o_${rowCount}" value="${product.productId}"/>
                             <td width="45%">
-                                ${orderItem.orderItemSeqId}:&nbsp;<a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam?if_exists}" target="catalog" class="buttontext">${product.productId}&nbsp;-&nbsp;${orderItem.itemDescription?if_exists}</a> : ${product.description?if_exists}
+                                ${orderItem.orderItemSeqId}:&nbsp;<a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam!}" target="catalog" class="buttontext">${product.productId}&nbsp;-&nbsp;${orderItem.itemDescription!}</a> : ${product.description!}
                             </td>
                           <#else>
                             <td width="45%">
-                                <b>${orderItemType.get("description",locale)}</b> : ${orderItem.itemDescription?if_exists}&nbsp;&nbsp;
+                                <b>${orderItemType.get("description",locale)}</b> : ${orderItem.itemDescription!}&nbsp;&nbsp;
                                 <input type="text" size="12" name="productId_o_${rowCount}"/>
                                 <a href="/catalog/control/EditProduct?${StringUtil.wrapString(externalKeyParam)}" target="catalog" class="buttontext">${uiLabelMap.ProductCreateProduct}</a>
                             </td>
@@ -409,19 +409,19 @@
                           <td align="right">${uiLabelMap.ProductLocation}:</td>
                           <#-- location(s) -->
                           <td align="right">
-                            <#assign facilityLocations = (orderItem.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))?if_exists/>
+                            <#assign facilityLocations = (orderItem.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))!/>
                             <#if facilityLocations?has_content>
                               <select name="locationSeqId_o_${rowCount}">
                                 <#list facilityLocations as productFacilityLocation>
                                   <#assign facility = productFacilityLocation.getRelatedOne("Facility", true)/>
-                                  <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)?if_exists/>
-                                  <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))?if_exists/>
-                                  <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation?exists>${facilityLocation.areaId?if_exists}:${facilityLocation.aisleId?if_exists}:${facilityLocation.sectionId?if_exists}:${facilityLocation.levelId?if_exists}:${facilityLocation.positionId?if_exists}</#if><#if facilityLocationTypeEnum?exists>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
+                                  <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)!/>
+                                  <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))!/>
+                                  <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation??>${facilityLocation.areaId!}:${facilityLocation.aisleId!}:${facilityLocation.sectionId!}:${facilityLocation.levelId!}:${facilityLocation.positionId!}</#if><#if facilityLocationTypeEnum??>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
                                 </#list>
                                 <option value="">${uiLabelMap.ProductNoLocation}</option>
                               </select>
                             <#else>
-                              <#if parameters.facilityId?exists>
+                              <#if parameters.facilityId??>
                                 <#assign LookupFacilityLocationView="LookupFacilityLocation?facilityId=${facilityId}">
                               <#else>
                                 <#assign LookupFacilityLocationView="LookupFacilityLocation">
@@ -431,7 +431,7 @@
                           </td>
                           <td align="right">${uiLabelMap.ProductQtyReceived} :</td>
                           <td align="right">
-                            <input type="text" name="quantityAccepted_o_${rowCount}" size="6" value=<#if partialReceive?exists>"0"<#else>"${defaultQuantity?string.number}"</#if>/>
+                            <input type="text" name="quantityAccepted_o_${rowCount}" size="6" value=<#if partialReceive??>"0"<#else>"${defaultQuantity?string.number}"</#if>/>
                           </td>
                         </tr>
                         <tr>
@@ -484,22 +484,22 @@
                           <#if currencyUomId?default('') != orderCurrencyUomId?default('')>
                             <td>${uiLabelMap.ProductPerUnitPriceOrder}:</td>
                             <td>
-                              <input type="hidden" name="orderCurrencyUomId_o_${rowCount}" value="${orderCurrencyUomId?if_exists}" />
+                              <input type="hidden" name="orderCurrencyUomId_o_${rowCount}" value="${orderCurrencyUomId!}" />
                               <input type="text" id="orderCurrencyUnitPrice_${rowCount}" name="orderCurrencyUnitPrice_o_${rowCount}" value="${orderCurrencyUnitPriceMap[orderItem.orderItemSeqId]}" onchange="javascript:getConvertedPrice(orderCurrencyUnitPrice_${rowCount}, '${orderCurrencyUomId}', '${currencyUomId}', '${rowCount}', '${orderCurrencyUnitPriceMap[orderItem.orderItemSeqId]}', '${itemCost}');" size="6" maxlength="20" />
-                              ${orderCurrencyUomId?if_exists}
+                              ${orderCurrencyUomId!}
                             </td>
                             <td>${uiLabelMap.ProductPerUnitPriceFacility}:</td>
                             <td>
-                              <input type="hidden" name="currencyUomId_o_${rowCount}" value="${currencyUomId?if_exists}" />
+                              <input type="hidden" name="currencyUomId_o_${rowCount}" value="${currencyUomId!}" />
                               <input type="text" id="unitCost_${rowCount}" name="unitCost_o_${rowCount}" value="${itemCost}" readonly="readonly" size="6" maxlength="20" />
-                              ${currencyUomId?if_exists}
+                              ${currencyUomId!}
                             </td>
                           <#else>
                             <td align="right">${uiLabelMap.ProductPerUnitPrice}:</td>
                             <td align="right">
-                              <input type="hidden" name="currencyUomId_o_${rowCount}" value="${currencyUomId?if_exists}" />
+                              <input type="hidden" name="currencyUomId_o_${rowCount}" value="${currencyUomId!}" />
                               <input type="text" name="unitCost_o_${rowCount}" value="${itemCost}" size="6" maxlength="20" />
-                              ${currencyUomId?if_exists}
+                              ${currencyUomId!}
                             </td>
                           </#if>
                         </tr>
@@ -523,7 +523,7 @@
                   </tr>
                   <tr>
                     <td colspan="2" align="right">
-                      <a href="<@ofbizUrl>ReceiveInventory?facilityId=${requestParameters.facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReturnToReceiving}</a>
+                      <a href="<@ofbizUrl>ReceiveInventory?facilityId=${requestParameters.facilityId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReturnToReceiving}</a>
                     </td>
                   </tr>
                 <#else>
@@ -543,20 +543,20 @@
         <#else>
           <h2>${uiLabelMap.ProductReceiveItem}</h2>
           <form name="selectAllForm" method="post" action="<@ofbizUrl>ReceiveInventory</@ofbizUrl>">
-            <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}"/>
+            <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}"/>
             <input type="hidden" name="initialSelected" value="Y"/>
             <table class="basic-table" cellspacing="0">
               <tr>
                 <td class="label">${uiLabelMap.ProductPurchaseOrderNumber}</td>
                 <td>
-                    <@htmlTemplate.lookupField value="${requestParameters.purchaseOrderId?if_exists}" formName="selectAllForm" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupPurchaseOrderHeaderAndShipInfo"/>
+                    <@htmlTemplate.lookupField value="${requestParameters.purchaseOrderId!}" formName="selectAllForm" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupPurchaseOrderHeaderAndShipInfo"/>
                     <span class="tooltip">${uiLabelMap.ProductLeaveSingleProductReceiving}</span>
                 </td>
               </tr>
               <tr>
                 <td class="label">${uiLabelMap.ProductProductId}</td>
                 <td>
-                  <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="selectAllForm" name="productId" id="productId" fieldFormName="LookupProduct"/>
+                  <@htmlTemplate.lookupField value="${requestParameters.productId!}" formName="selectAllForm" name="productId" id="productId" fieldFormName="LookupProduct"/>
                   <span class="tooltip">${uiLabelMap.ProductLeaveEntirePoReceiving}</span>
                 </td>
               </tr>
Index: applications/product/webapp/facility/inventory/TransferInventoryItem.ftl
===================================================================
--- applications/product/webapp/facility/inventory/TransferInventoryItem.ftl	(revision 1590602)
+++ applications/product/webapp/facility/inventory/TransferInventoryItem.ftl	(working copy)
@@ -17,14 +17,14 @@
 under the License.
 -->
 <h1>${title}</h1>
-      <#if illegalInventoryItem?exists>
+      <#if illegalInventoryItem??>
             <div class="errorMessage">${illegalInventoryItem}</div>
       </#if>
         <div class="button-bar">
           <a href="<@ofbizUrl>EditFacility</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacility}</a>
-          <a href="<@ofbizUrl>PickMoveStockSimple?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrint}</a>
+          <a href="<@ofbizUrl>PickMoveStockSimple?facilityId=${facilityId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrint}</a>
         </div>
-       <#if !(inventoryItem?exists)>
+       <#if !(inventoryItem??)>
             <form method="post" action="<@ofbizUrl>TransferInventoryItem</@ofbizUrl>">
             <input type="hidden" name="facilityId" value="${facilityId}" />
             <table cellspacing="0" class="basic-table">
@@ -38,11 +38,11 @@
             </table>
             </form>
         <#else>
-           <#if !(inventoryTransfer?exists)>
+           <#if !(inventoryTransfer??)>
                 <form method="post" action="<@ofbizUrl>CreateInventoryTransfer</@ofbizUrl>" name="transferform" style="margin: 0;">
             <#else>
                 <form method="post" action="<@ofbizUrl>UpdateInventoryTransfer</@ofbizUrl>" name="transferform" style="margin: 0;">
-                <input type="hidden" name="inventoryTransferId" value="${inventoryTransferId?if_exists}" />
+                <input type="hidden" name="inventoryTransferId" value="${inventoryTransferId!}" />
             </#if>
 
             <script language="JavaScript" type="text/javascript">
@@ -50,9 +50,9 @@
             </script>
 
             <table cellspacing="0" class="basic-table">
-            <input type="hidden" name="inventoryItemId" value="${inventoryItemId?if_exists}" />
-            <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
-            <input type="hidden" name="locationSeqId" value="${(inventoryItem.locationSeqId)?if_exists}" />
+            <input type="hidden" name="inventoryItemId" value="${inventoryItemId!}" />
+            <input type="hidden" name="facilityId" value="${facilityId!}" />
+            <input type="hidden" name="locationSeqId" value="${(inventoryItem.locationSeqId)!}" />
             <tr>
                 <td width="14%">&nbsp;</td>
                 <td width="6%"align="right"><span class="label">${uiLabelMap.ProductInventoryItemId}</span></td>
@@ -64,8 +64,8 @@
                 <td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.ProductInventoryItemTypeId}</td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                <#if inventoryItemType?exists>
-                    ${(inventoryItemType.get("description",locale))?if_exists}
+                <#if inventoryItemType??>
+                    ${(inventoryItemType.get("description",locale))!}
                 </#if>
                 </td>
             </tr>
@@ -74,8 +74,8 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductProductId}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                    <#if inventoryItem?exists && (inventoryItem.productId)?exists>
-                        <a href="/catalog/control/EditProduct?productId=${(inventoryItem.productId)?if_exists}" class="buttontext">${(inventoryItem.productId)?if_exists}</a>
+                    <#if inventoryItem?? && (inventoryItem.productId)??>
+                        <a href="/catalog/control/EditProduct?productId=${(inventoryItem.productId)!}" class="buttontext">${(inventoryItem.productId)!}</a>
                     </#if>
                 </td>
             </tr>
@@ -97,15 +97,15 @@
                 <td width="14%">&nbsp;</td>
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductSerialAtpQoh}</span></td>
                 <td width="6%">&nbsp;</td>
-                <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")>
+                <#if inventoryItem?? && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")>
                     <td width="74%">
-                        ${(inventoryItem.availableToPromiseTotal)?if_exists}&nbsp;
-                        /&nbsp;${(inventoryItem.quantityOnHandTotal)?if_exists}
+                        ${(inventoryItem.availableToPromiseTotal)!}&nbsp;
+                        /&nbsp;${(inventoryItem.quantityOnHandTotal)!}
                     </td>
-                <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")>
-                    <td width="74%">${(inventoryItem.serialNumber)?if_exists}</td>
-                <#elseif inventoryItem?exists>
-                    <td class="alert" width="74%">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}.</td>
+                <#elseif inventoryItem?? && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")>
+                    <td width="74%">${(inventoryItem.serialNumber)!}</td>
+                <#elseif inventoryItem??>
+                    <td class="alert" width="74%">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)!} ${uiLabelMap.ProductUnknownSpecifyType}.</td>
                 </#if>
             </tr>
         <tr>
@@ -118,12 +118,12 @@
             <td width="6%">&nbsp;</td>
             <td width="74%">
             <select name="statusId">
-                <#if (inventoryTransfer.statusId)?exists>
+                <#if (inventoryTransfer.statusId)??>
                     <#assign curStatusItem = inventoryTransfer.getRelatedOne("StatusItem", true)>
-                    <option value="${(inventoryTransfer.statusId)?if_exists}">${(curStatusItem.get("description",locale))?if_exists}</option>
+                    <option value="${(inventoryTransfer.statusId)!}">${(curStatusItem.get("description",locale))!}</option>
                 </#if>
                 <#list statusItems as statusItem>
-                <option value="${(statusItem.statusId)?if_exists}">${(statusItem.get("description",locale))?if_exists}</option>
+                <option value="${(statusItem.statusId)!}">${(statusItem.get("description",locale))!}</option>
                 </#list>
             </select>
             </td>
@@ -133,11 +133,11 @@
             <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductTransferSendDate}</span></td>
             <td width="6%">&nbsp;</td>
             <td width="74%">
-            <input type="text" name="sendDate" value="${(inventoryTransfer.sendDate)?if_exists}" size="22" />
+            <input type="text" name="sendDate" value="${(inventoryTransfer.sendDate)!}" size="22" />
             <a href="#" onclick="setNow('sendDate')" class="buttontext">${uiLabelMap.CommonNow}</a>
             </td>
         </tr>
-        <#if !(inventoryTransfer?exists)>
+        <#if !(inventoryTransfer??)>
             <tr>
                 <td width="14%">&nbsp;</td>
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductToFacilityContainer}</span></td>
@@ -146,12 +146,12 @@
                     <div>
                         <select name="facilityIdTo">
                             <#list facilities as nextFacility>
-                            <option value="${(nextFacility.facilityId)?if_exists}">${(nextFacility.facilityName)?if_exists} [${(nextFacility.facilityId)?if_exists}]</option>
+                            <option value="${(nextFacility.facilityId)!}">${(nextFacility.facilityName)!} [${(nextFacility.facilityId)!}]</option>
                             </#list>
                         </select>
                         <span class="tooltip">${uiLabelMap.ProductSelectFacility}</span>
                         <br />
-                        <input type="text" name="containerIdTo" value="${(inventoryTransfer.containerIdTo)?if_exists}" size="20" maxlength="20" />
+                        <input type="text" name="containerIdTo" value="${(inventoryTransfer.containerIdTo)!}" size="20" maxlength="20" />
                         <span class="tooltip">${uiLabelMap.ProductOrEnterContainerId}</span>
                     </div>
                 </td>
@@ -161,7 +161,7 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductToLocation}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                  <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)?if_exists}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation"/>
+                  <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)!}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation"/>
                 </td>
             </tr>
             <tr>
@@ -177,13 +177,13 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductQuantityToTransfer}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")>
-                    <input type="text" size="5" name="xferQty" value="${(inventoryItem.availableToPromiseTotal)?if_exists}" />
-                <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")>
+                <#if inventoryItem?? && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")>
+                    <input type="text" size="5" name="xferQty" value="${(inventoryItem.availableToPromiseTotal)!}" />
+                <#elseif inventoryItem?? && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")>
                     <input type="hidden" name="xferQty" value="1" />
                     1
-                <#elseif inventoryItem?exists>
-                    <span class="alert">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}.</span>
+                <#elseif inventoryItem??>
+                    <span class="alert">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)!} ${uiLabelMap.ProductUnknownSpecifyType}.</span>
                 </#if>
                 </td>
             </tr>
@@ -193,7 +193,7 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductTransferReceiveDate}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                <input type="text" name="receiveDate" value="${(inventoryTransfer.receiveDate)?if_exists}" size="22" />
+                <input type="text" name="receiveDate" value="${(inventoryTransfer.receiveDate)!}" size="22" />
                 <a href="#" onclick="setNow('receiveDate')" class="buttontext">${uiLabelMap.CommonNow}</a>
                 </td>
             </tr>
@@ -209,7 +209,7 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductToLocation}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                  <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)?if_exists}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation?facilityId=${inventoryTransfer.facilityIdTo}"/>
+                  <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)!}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation?facilityId=${inventoryTransfer.facilityIdTo}"/>
                 </td>
             </tr>
             <tr>
@@ -217,13 +217,13 @@
                 <td width="6%" align="right" nowrap="nowrap"><span class="label">${uiLabelMap.ProductComments}</span></td>
                 <td width="6%">&nbsp;</td>
                 <td width="74%">
-                <input type="text" name="comments" value="${(inventoryTransfer.comments)?if_exists}" size="60" maxlength="250" />
+                <input type="text" name="comments" value="${(inventoryTransfer.comments)!}" size="60" maxlength="250" />
                 </td>
             </tr>
         </#if>
         <tr>
             <td colspan="2">&nbsp;</td>
-            <#if !(inventoryTransfer?exists)>
+            <#if !(inventoryTransfer??)>
                 <td colspan="1"><input type="submit" value="${uiLabelMap.ProductTransfer}" /></td>
             <#else>
                 <td colspan="1"><input type="submit" value="${uiLabelMap.CommonUpdate}" /></td>
Index: applications/product/webapp/facility/returns/receiveReturn.ftl
===================================================================
--- applications/product/webapp/facility/returns/receiveReturn.ftl	(revision 1590602)
+++ applications/product/webapp/facility/returns/receiveReturn.ftl	(working copy)
@@ -18,13 +18,13 @@
 -->
 <div class="screenlet">
     <div class="screenlet-title-bar">
-        <h3>${uiLabelMap.ProductReceiveReturn} ${uiLabelMap.CommonInto} <#if facility?has_content>"${facility.facilityName?default("Not Defined")}"</#if> [${uiLabelMap.CommonId}:${facility.facilityId?if_exists}]</h3>
+        <h3>${uiLabelMap.ProductReceiveReturn} ${uiLabelMap.CommonInto} <#if facility?has_content>"${facility.facilityName?default("Not Defined")}"</#if> [${uiLabelMap.CommonId}:${facility.facilityId!}]</h3>
     </div>
     <div class="screenlet-body">
         <a href="<@ofbizUrl>EditFacility</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacility}</a>
         <#-- Receiving Results -->
         <#if receivedItems?has_content>
-          <h3>${uiLabelMap.ProductReceiptForReturn} ${uiLabelMap.CommonNbr}<a href="/ordermgr/control/returnMain?returnId=${returnHeader.returnId}${externalKeyParam?if_exists}" class="buttontext">${returnHeader.returnId}</a></h3>
+          <h3>${uiLabelMap.ProductReceiptForReturn} ${uiLabelMap.CommonNbr}<a href="/ordermgr/control/returnMain?returnId=${returnHeader.returnId}${externalKeyParam!}" class="buttontext">${returnHeader.returnId}</a></h3>
           <#if "RETURN_RECEIVED" == returnHeader.getString("statusId")>
             <h3>${uiLabelMap.ProductReturnCompletelyReceived}</h3>
           </#if>
@@ -58,13 +58,13 @@
         <#if returnHeader?has_content>
           <form method="post" action="<@ofbizUrl>receiveReturnedProduct</@ofbizUrl>" name='selectAllForm'>
             <#-- general request fields -->
-            <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}" />
-            <input type="hidden" name="returnId" value="${requestParameters.returnId?if_exists}" />
+            <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}" />
+            <input type="hidden" name="returnId" value="${requestParameters.returnId!}" />
             <input type="hidden" name="_useRowSubmit" value="Y" />
             <#assign now = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString()>
             <#assign rowCount = 0>
             <table cellspacing="0" class="basic-table">
-              <#if !returnItems?exists || returnItems?size == 0>
+              <#if !returnItems?? || returnItems?size == 0>
                 <tr>
                   <td colspan="2" class="label">${uiLabelMap.ProductNoItemsToReceive}</td>
                 </tr>
@@ -72,7 +72,7 @@
                 <tr>
                   <td>
                     <h3>
-                      ${uiLabelMap.ProductReceiveReturn} <a href="/ordermgr/control/returnMain?returnId=${returnHeader.returnId}${externalKeyParam?if_exists}" class="buttontext">#${returnHeader.returnId}</a>
+                      ${uiLabelMap.ProductReceiveReturn} <a href="/ordermgr/control/returnMain?returnId=${returnHeader.returnId}${externalKeyParam!}" class="buttontext">#${returnHeader.returnId}</a>
                       <#if parameters.shipmentId?has_content>${uiLabelMap.ProductShipmentId} <a href="<@ofbizUrl>ViewShipment?shipmentId=${parameters.shipmentId}</@ofbizUrl>" class="buttontext">${parameters.shipmentId}</a></#if>
                     </h3>
                   </td>
@@ -84,13 +84,13 @@
 
                 <#list returnItems as returnItem>
                   <#assign defaultQuantity = returnItem.returnQuantity - receivedQuantities[returnItem.returnItemSeqId]?double>
-                  <#assign orderItem = returnItem.getRelatedOne("OrderItem", false)?if_exists>
+                  <#assign orderItem = returnItem.getRelatedOne("OrderItem", false)!>
                   <#if (orderItem?has_content && 0 < defaultQuantity)>
-                  <#assign orderItemType = (orderItem.getRelatedOne("OrderItemType", false))?if_exists>
+                  <#assign orderItemType = (orderItem.getRelatedOne("OrderItemType", false))!>
                   <input type="hidden" name="returnId_o_${rowCount}" value="${returnItem.returnId}" />
                   <input type="hidden" name="returnItemSeqId_o_${rowCount}" value="${returnItem.returnItemSeqId}" />
-                  <input type="hidden" name="shipmentId_o_${rowCount}" value="${parameters.shipmentId?if_exists}" />
-                  <input type="hidden" name="facilityId_o_${rowCount}" value="${requestParameters.facilityId?if_exists}" />
+                  <input type="hidden" name="shipmentId_o_${rowCount}" value="${parameters.shipmentId!}" />
+                  <input type="hidden" name="facilityId_o_${rowCount}" value="${requestParameters.facilityId!}" />
                   <input type="hidden" name="datetimeReceived_o_${rowCount}" value="${now}" />
                   <input type="hidden" name="quantityRejected_o_${rowCount}" value="0" />
                   <input type="hidden" name="comments_o_${rowCount}" value="${uiLabelMap.OrderReturnedItemRaNumber} ${returnItem.returnId}" />
@@ -104,21 +104,21 @@
                       <table cellspacing="0" class="basic-table">
                         <tr>
                           <#assign productId = "">
-                          <#if orderItem.productId?exists>
+                          <#if orderItem.productId??>
                             <#assign product = orderItem.getRelatedOne("Product", false)>
                             <#assign productId = product.productId>
                             <#assign serializedInv = product.getRelated("InventoryItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("inventoryItemTypeId", "SERIALIZED_INV_ITEM"), null, false)>
                             <input type="hidden" name="productId_o_${rowCount}" value="${product.productId}" />
                             <td width="45%">
                               <div>
-                                ${returnItem.returnItemSeqId}:&nbsp;<a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam?if_exists}" target="catalog" class="buttontext">${product.productId}&nbsp;-&nbsp;${product.internalName?if_exists}</a> : ${product.description?if_exists}
+                                ${returnItem.returnItemSeqId}:&nbsp;<a href="/catalog/control/EditProduct?productId=${product.productId}${externalKeyParam!}" target="catalog" class="buttontext">${product.productId}&nbsp;-&nbsp;${product.internalName!}</a> : ${product.description!}
                                 <#if serializedInv?has_content><font color='red'>**${uiLabelMap.ProductSerializedInventoryFound}**</font></#if>
                               </div>
                             </td>
                           <#elseif orderItem?has_content>
                             <td width="45%">
                               <div>
-                                ${returnItem.returnItemSeqId}:&nbsp;<b>${orderItemType.get("description",locale)}</b> : ${orderItem.itemDescription?if_exists}&nbsp;&nbsp;
+                                ${returnItem.returnItemSeqId}:&nbsp;<b>${orderItemType.get("description",locale)}</b> : ${orderItem.itemDescription!}&nbsp;&nbsp;
                                 <input type="text" size="12" name="productId_o_${rowCount}" />
                                 <a href="/catalog/control/EditProduct?${StringUtil.wrapString(externalKeyParam)}" target="catalog" class="buttontext">${uiLabelMap.ProductCreateProduct}</a>
                               </div>
@@ -126,7 +126,7 @@
                           <#else>
                             <td width="45%">
                               <div>
-                                ${returnItem.returnItemSeqId}:&nbsp;${returnItem.get("description",locale)?if_exists}
+                                ${returnItem.returnItemSeqId}:&nbsp;${returnItem.get("description",locale)!}
                               </div>
                             </td>
                           </#if>
@@ -137,20 +137,20 @@
                             <div class="label">${uiLabelMap.ProductLocation}</div>
                           </td>
                           <td align="right">
-                            <#assign facilityLocations = (product.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))?if_exists>
+                            <#assign facilityLocations = (product.getRelated("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, false))!>
                             <#if facilityLocations?has_content>
                               <select name="locationSeqId_o_${rowCount}">
                                 <#list facilityLocations as productFacilityLocation>
                                   <#assign facility = productFacilityLocation.getRelatedOne("Facility", true)>
-                                  <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)?if_exists>
-                                  <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))?if_exists>
-                                  <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation?exists>${facilityLocation.areaId?if_exists}:${facilityLocation.aisleId?if_exists}:${facilityLocation.sectionId?if_exists}:${facilityLocation.levelId?if_exists}:${facilityLocation.positionId?if_exists}</#if><#if facilityLocationTypeEnum?exists>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
+                                  <#assign facilityLocation = productFacilityLocation.getRelatedOne("FacilityLocation", false)!>
+                                  <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))!>
+                                  <option value="${productFacilityLocation.locationSeqId}"><#if facilityLocation??>${facilityLocation.areaId!}:${facilityLocation.aisleId!}:${facilityLocation.sectionId!}:${facilityLocation.levelId!}:${facilityLocation.positionId!}</#if><#if facilityLocationTypeEnum??>(${facilityLocationTypeEnum.get("description",locale)})</#if>[${productFacilityLocation.locationSeqId}]</option>
                                 </#list>
                                 <option value="">${uiLabelMap.ProductNoLocation}</option>
                               </select>
                             <#else>
                               <span>
-                                <#if parameters.facilityId?exists>
+                                <#if parameters.facilityId??>
                                     <#assign LookupFacilityLocationView="LookupFacilityLocation?facilityId=${facilityId}">
                                 <#else>
                                     <#assign LookupFacilityLocationView="LookupFacilityLocation">
@@ -222,7 +222,7 @@
                   </tr>
                   <tr>
                     <td colspan="2" align="right">
-                      <a href="<@ofbizUrl>ReceiveReturn?facilityId=${requestParameters.facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReturnToReceiving}</a>
+                      <a href="<@ofbizUrl>ReceiveReturn?facilityId=${requestParameters.facilityId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReturnToReceiving}</a>
                     </td>
                   </tr>
                 <#else>
@@ -241,7 +241,7 @@
           <#-- Initial Screen -->
         <#else>
           <form name="selectAllForm" method="post" action="<@ofbizUrl>ReceiveReturn</@ofbizUrl>">
-            <input type="hidden" name="facilityId" value="${requestParameters.facilityId?if_exists}" />
+            <input type="hidden" name="facilityId" value="${requestParameters.facilityId!}" />
             <input type="hidden" name="initialSelected" value="Y" />
             <table cellspacing="0" class="basic-table">
               <tr><td colspan="4"><h3>${uiLabelMap.ProductReceiveReturn}</h3></td></tr>
@@ -249,7 +249,7 @@
                 <td width="15%" align='right' class="label">${uiLabelMap.ProductReturnNumber}</td>
                 <td>&nbsp;</td>
                 <td width="90%">
-                  <input type="text" name="returnId" size="20" maxlength="20" value="${requestParameters.returnId?if_exists}" />
+                  <input type="text" name="returnId" size="20" maxlength="20" value="${requestParameters.returnId!}" />
                 </td>
                 <td>&nbsp;</td>
               </tr>
Index: applications/product/webapp/facility/facility/ViewContactMechs.ftl
===================================================================
--- applications/product/webapp/facility/facility/ViewContactMechs.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/ViewContactMechs.ftl	(working copy)
@@ -45,14 +45,14 @@
                   <#assign postalAddress = contactMechMap.postalAddress>
                     <#if postalAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}<br /></#if>
                     <#if postalAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b> ${postalAddress.attnName}<br /></#if>
-                    ${postalAddress.address1?if_exists}<br />
-                    <#if postalAddress.address2?has_content>${postalAddress.address2?if_exists}<br /></#if>
-                    ${postalAddress.city?if_exists},
-                    ${postalAddress.stateProvinceGeoId?if_exists}
-                    ${postalAddress.postalCode?if_exists}
+                    ${postalAddress.address1!}<br />
+                    <#if postalAddress.address2?has_content>${postalAddress.address2!}<br /></#if>
+                    ${postalAddress.city!},
+                    ${postalAddress.stateProvinceGeoId!}
+                    ${postalAddress.postalCode!}
                     <#if postalAddress.countryGeoId?has_content><br />${postalAddress.countryGeoId}</#if>
                   <#if (postalAddress?has_content && !postalAddress.countryGeoId?has_content) || postalAddress.countryGeoId = "USA">
-                      <#assign addr1 = postalAddress.address1?if_exists>
+                      <#assign addr1 = postalAddress.address1!>
                       <#if (addr1.indexOf(" ") > 0)>
                         <#assign addressNum = addr1.substring(0, addr1.indexOf(" "))>
                         <#assign addressOther = addr1.substring(addr1.indexOf(" ")+1)>
@@ -63,27 +63,27 @@
                     <#if contactMechPurposeType?has_content>
                       <#assign popUptitle = contactMechPurposeType.get("description",locale) + uiLabelMap.CommonGeoLocation>
                     </#if>
-                    <br /><a href="javascript:popUp('<@ofbizUrl>geoLocation?geoPointId=${postalAddress.geoPointId}</@ofbizUrl>', '${popUptitle?if_exists}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
+                    <br /><a href="javascript:popUp('<@ofbizUrl>geoLocation?geoPointId=${postalAddress.geoPointId}</@ofbizUrl>', '${popUptitle!}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
                   </#if>
               <#elseif "TELECOM_NUMBER" = contactMech.contactMechTypeId>
                   <#assign telecomNumber = contactMechMap.telecomNumber>
-                    ${telecomNumber.countryCode?if_exists}
-                    <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber?if_exists}
+                    ${telecomNumber.countryCode!}
+                    <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber!}
                     <#if facilityContactMech.extension?has_content>${uiLabelMap.CommonExt} ${facilityContactMech.extension}</#if>
                     <#if (telecomNumber?has_content && !telecomNumber.countryCode?has_content) || telecomNumber.countryCode = "011">
                       <br /><a target='_blank' href='${uiLabelMap.CommonLookupAnywhoLink}' class='buttontext'>${uiLabelMap.CommonLookupAnywho}</a>
                       <a target='_blank' href='${uiLabelMap.CommonLookupWhitepagesTelNumberLink}' class='buttontext'>${uiLabelMap.CommonLookupWhitepages}</a>
                     </#if>
               <#elseif "EMAIL_ADDRESS" = contactMech.contactMechTypeId>
-                    ${contactMech.infoString?if_exists}
-                    <a href='mailto:${contactMech.infoString?if_exists}' class='buttontext'>${uiLabelMap.CommonSendEmail}</a>
+                    ${contactMech.infoString!}
+                    <a href='mailto:${contactMech.infoString!}' class='buttontext'>${uiLabelMap.CommonSendEmail}</a>
               <#elseif "WEB_ADDRESS" = contactMech.contactMechTypeId>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
                     <#assign openAddress = contactMech.infoString?default("")>
                     <#if !openAddress?starts_with("http") && !openAddress?starts_with("HTTP")><#assign openAddress = "http://" + openAddress></#if>
                     <a target='_blank' href='${openAddress}' class='buttontext'>((${uiLabelMap.CommonOpenPageNewWindow})</a>
               <#else>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
               </#if>
               <br />(${uiLabelMap.CommonUpdated}: ${facilityContactMech.fromDate.toString()})
               <#if facilityContactMech.thruDate?has_content><br /><b>${uiLabelMap.CommonUpdatedEffectiveThru}:&nbsp;${facilityContactMech.thruDate.toString()}</b></#if>
@@ -95,8 +95,8 @@
               </#if>
               <#if security.hasEntityPermission("FACILITY", "_DELETE", session)>
                 <form action="<@ofbizUrl>deleteContactMech/ViewContactMechs</@ofbizUrl>" name="deleteContactForm_${contactMechMap_index}" method="post">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
-                  <input type="hidden" name="contactMechId" value="${contactMech.contactMechId?if_exists}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
+                  <input type="hidden" name="contactMechId" value="${contactMech.contactMechId!}"/>
                 </form>
                 <a href="javascript:document.deleteContactForm_${contactMechMap_index}.submit()">${uiLabelMap.CommonExpire}</a>
               </#if>
Index: applications/product/webapp/facility/facility/EditFacility.ftl
===================================================================
--- applications/product/webapp/facility/facility/EditFacility.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/EditFacility.ftl	(working copy)
@@ -17,20 +17,20 @@
 under the License.
 -->
 
-<#if facility?exists && facilityId?has_content>
+<#if facility?? && facilityId?has_content>
   <form action="<@ofbizUrl>UpdateFacility</@ofbizUrl>" name="EditFacilityForm" method="post" class="basic-form">
-  <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+  <input type="hidden" name="facilityId" value="${facilityId!}" />
   <table class="basic-table" cellspacing='0'>
   <tr>
     <td class="label">${uiLabelMap.ProductFacilityId}</td>
     <td>
-      ${facilityId?if_exists} <span class="tooltip">${uiLabelMap.ProductNotModificationRecrationFacility}</span>
+      ${facilityId!} <span class="tooltip">${uiLabelMap.ProductNotModificationRecrationFacility}</span>
     </td>
   </tr>
 <#else>
   <form action="<@ofbizUrl>CreateFacility</@ofbizUrl>" name="EditFacilityForm" method="post" class="basic-form">
-  <#if facilityId?exists>
-    <h3>${uiLabelMap.ProductCouldNotFindFacilityWithId} "${facilityId?if_exists}".</h3>
+  <#if facilityId??>
+    <h3>${uiLabelMap.ProductCouldNotFindFacilityWithId} "${facilityId!}".</h3>
   </#if>
   <table class="basic-table" cellspacing='0'>
 </#if>
@@ -38,10 +38,10 @@
     <td class="label">${uiLabelMap.ProductFacilityTypeId}</td>
     <td>
       <select name="facilityTypeId">
-        <option selected="selected" value='${facilityType.facilityTypeId?if_exists}'>${facilityType.get("description",locale)?if_exists}</option>
-        <option value='${facilityType.facilityTypeId?if_exists}'>----</option>
+        <option selected="selected" value='${facilityType.facilityTypeId!}'>${facilityType.get("description",locale)!}</option>
+        <option value='${facilityType.facilityTypeId!}'>----</option>
         <#list facilityTypes as nextFacilityType>
-          <option value='${nextFacilityType.facilityTypeId?if_exists}'>${nextFacilityType.get("description",locale)?if_exists}</option>
+          <option value='${nextFacilityType.facilityTypeId!}'>${nextFacilityType.get("description",locale)!}</option>
         </#list>
       </select>
     </td>
@@ -49,13 +49,13 @@
   <tr>
     <td class="label">${uiLabelMap.FormFieldTitle_parentFacilityId}</td>
     <td>
-      <@htmlTemplate.lookupField value="${facility.parentFacilityId?if_exists}" formName="EditFacilityForm" name="parentFacilityId" id="parentFacilityId" fieldFormName="LookupFacility"/>
+      <@htmlTemplate.lookupField value="${facility.parentFacilityId!}" formName="EditFacilityForm" name="parentFacilityId" id="parentFacilityId" fieldFormName="LookupFacility"/>
     </td>
   </tr>
   <tr>
     <td class="label">${uiLabelMap.ProductFacilityOwner}</td>
     <td>
-      <@htmlTemplate.lookupField value="${facility.ownerPartyId?if_exists}" formName="EditFacilityForm" name="ownerPartyId" id="ownerPartyId" fieldFormName="LookupPartyName"/>
+      <@htmlTemplate.lookupField value="${facility.ownerPartyId!}" formName="EditFacilityForm" name="ownerPartyId" id="ownerPartyId" fieldFormName="LookupPartyName"/>
       <span class="tooltip">${uiLabelMap.CommonRequired}</span>
     </td>
   </tr>
@@ -91,13 +91,13 @@
   <tr>
     <td class="label">${uiLabelMap.ProductName}</td>
     <td>
-      <input type="text" name="facilityName" value="${facility.facilityName?if_exists}" size="30" maxlength="60" />
+      <input type="text" name="facilityName" value="${facility.facilityName!}" size="30" maxlength="60" />
       <span class="tooltip">${uiLabelMap.CommonRequired}</span>
     </td>
   </tr>
   <tr>
     <td class="label">${uiLabelMap.ProductFacilitySize}</td>
-    <td><input type="text" name="facilitySize" value="${facility.facilitySize?if_exists}" size="10" maxlength="20" /></td>
+    <td><input type="text" name="facilitySize" value="${facility.facilitySize!}" size="10" maxlength="20" /></td>
   </tr>
   <tr>
    <td class="label">${uiLabelMap.ProductFacilityDefaultAreaUnit}</td>
@@ -116,11 +116,11 @@
   </tr>  
   <tr>
     <td class="label">${uiLabelMap.ProductProductDescription}</td>
-    <td ><input type="text" name="description" value="${facility.description?if_exists}" size="60" maxlength="250" /></td>
+    <td ><input type="text" name="description" value="${facility.description!}" size="60" maxlength="250" /></td>
   </tr>
   <tr>
     <td class="label">${uiLabelMap.ProductDefaultDaysToShip}</td>
-    <td><input type="text" name="defaultDaysToShip" value="${facility.defaultDaysToShip?if_exists}" size="10" maxlength="20" /></td>
+    <td><input type="text" name="defaultDaysToShip" value="${facility.defaultDaysToShip!}" size="10" maxlength="20" /></td>
   </tr>
   <tr>
     <td>&nbsp;</td>
Index: applications/product/webapp/facility/facility/PickMoveStock.ftl
===================================================================
--- applications/product/webapp/facility/facility/PickMoveStock.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/PickMoveStock.ftl	(working copy)
@@ -34,14 +34,14 @@
     <div class="screenlet-title-bar">
         <ul>
             <li class="h3">${uiLabelMap.ProductStockMovesNeeded}</li>
-            <li><a href="<@ofbizUrl>PickMoveStockSimple?facilityId=${facilityId?if_exists}</@ofbizUrl>">${uiLabelMap.CommonPrint}</a></li>
+            <li><a href="<@ofbizUrl>PickMoveStockSimple?facilityId=${facilityId!}</@ofbizUrl>">${uiLabelMap.CommonPrint}</a></li>
         </ul>
         <br class="clear"/>
     </div>
     <div class="screenlet-body">
           <form method="post" action="<@ofbizUrl>processPhysicalStockMove</@ofbizUrl>" name='selectAllForm' style='margin: 0;'>
               <#-- general request fields -->
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+              <input type="hidden" name="facilityId" value="${facilityId!}" />
               <input type="hidden" name="_useRowSubmit" value="Y" />
               <#assign rowCount = 0>
               <table cellspacing="0" class="basic-table hover-bar">
@@ -64,30 +64,30 @@
                 </tr>
                 <#if moveByOisgirInfoList?has_content || moveByPflInfoList?has_content>
                     <#assign alt_row = false>
-                    <#list moveByOisgirInfoList?if_exists as moveByOisgirInfo>
+                    <#list moveByOisgirInfoList! as moveByOisgirInfo>
                         <#assign product = moveByOisgirInfo.product>
                         <#assign facilityLocationFrom = moveByOisgirInfo.facilityLocationFrom>
-                        <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))?if_exists>
+                        <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))!>
                         <#assign facilityLocationTo = moveByOisgirInfo.facilityLocationTo>
                         <#assign targetProductFacilityLocation = moveByOisgirInfo.targetProductFacilityLocation>
-                        <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))?if_exists>
+                        <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))!>
                         <#assign totalQuantity = moveByOisgirInfo.totalQuantity>
                         <tr id="moveInfoId_tableRow_${rowCount}" valign="middle"<#if alt_row> class="alternate-row"</#if>>
                             <td>${product.productId}</td>
-                            <td>${product.internalName?if_exists}</td>
-                            <td>${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</td>
-                            <td>${moveByOisgirInfo.quantityOnHandTotalFrom?if_exists}</td>
-                            <td>${moveByOisgirInfo.availableToPromiseTotalFrom?if_exists}</td>
-                            <td>${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</td>
-                            <td>${moveByOisgirInfo.quantityOnHandTotalTo?if_exists}</td>
-                            <td>${moveByOisgirInfo.availableToPromiseTotalTo?if_exists}</td>
-                            <td>${targetProductFacilityLocation.minimumStock?if_exists}</td>
-                            <td>${targetProductFacilityLocation.moveQuantity?if_exists}</td>
+                            <td>${product.internalName!}</td>
+                            <td>${facilityLocationFrom.areaId!}:${facilityLocationFrom.aisleId!}:${facilityLocationFrom.sectionId!}:${facilityLocationFrom.levelId!}:${facilityLocationFrom.positionId!}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</td>
+                            <td>${moveByOisgirInfo.quantityOnHandTotalFrom!}</td>
+                            <td>${moveByOisgirInfo.availableToPromiseTotalFrom!}</td>
+                            <td>${facilityLocationTo.areaId!}:${facilityLocationTo.aisleId!}:${facilityLocationTo.sectionId!}:${facilityLocationTo.levelId!}:${facilityLocationTo.positionId!}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</td>
+                            <td>${moveByOisgirInfo.quantityOnHandTotalTo!}</td>
+                            <td>${moveByOisgirInfo.availableToPromiseTotalTo!}</td>
+                            <td>${targetProductFacilityLocation.minimumStock!}</td>
+                            <td>${targetProductFacilityLocation.moveQuantity!}</td>
                             <td align="right">
-                                <input type="hidden" name="productId_o_${rowCount}" value="${product.productId?if_exists}" />
-                                <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId?if_exists}" />
-                                <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId?if_exists}" />
-                                <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId?if_exists}" />
+                                <input type="hidden" name="productId_o_${rowCount}" value="${product.productId!}" />
+                                <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId!}" />
+                                <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId!}" />
+                                <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId!}" />
                                 <input type="text" name="quantityMoved_o_${rowCount}" size="6" value="${totalQuantity?string.number}" />
                             </td>
                             <td align="right">
@@ -98,30 +98,30 @@
                         <#-- toggle the row color -->
                         <#assign alt_row = !alt_row>
                     </#list>
-                    <#list moveByPflInfoList?if_exists as moveByPflInfo>
+                    <#list moveByPflInfoList! as moveByPflInfo>
                         <#assign product = moveByPflInfo.product>
                         <#assign facilityLocationFrom = moveByPflInfo.facilityLocationFrom>
-                        <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))?if_exists>
+                        <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))!>
                         <#assign facilityLocationTo = moveByPflInfo.facilityLocationTo>
                         <#assign targetProductFacilityLocation = moveByPflInfo.targetProductFacilityLocation>
-                        <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))?if_exists>
+                        <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))!>
                         <#assign totalQuantity = moveByPflInfo.totalQuantity>
                         <tr id="moveInfoId_tableRow_${rowCount}" valign="middle"<#if alt_row> class="alternate-row"</#if>>
                             <td>${product.productId}</td>
-                            <td>${product.internalName?if_exists}</td>
-                            <td>${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</td>
-                            <td>${moveByPflInfo.quantityOnHandTotalFrom?if_exists}</td>
-                            <td>${moveByPflInfo.availableToPromiseTotalFrom?if_exists}</td>
-                            <td>${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</td>
-                            <td>${moveByPflInfo.quantityOnHandTotalTo?if_exists}</td>
-                            <td>${moveByPflInfo.availableToPromiseTotalTo?if_exists}</td>
-                            <td>${targetProductFacilityLocation.minimumStock?if_exists}</td>
-                            <td>${targetProductFacilityLocation.moveQuantity?if_exists}</td>
+                            <td>${product.internalName!}</td>
+                            <td>${facilityLocationFrom.areaId!}:${facilityLocationFrom.aisleId!}:${facilityLocationFrom.sectionId!}:${facilityLocationFrom.levelId!}:${facilityLocationFrom.positionId!}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</td>
+                            <td>${moveByPflInfo.quantityOnHandTotalFrom!}</td>
+                            <td>${moveByPflInfo.availableToPromiseTotalFrom!}</td>
+                            <td>${facilityLocationTo.areaId!}:${facilityLocationTo.aisleId!}:${facilityLocationTo.sectionId!}:${facilityLocationTo.levelId!}:${facilityLocationTo.positionId!}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</td>
+                            <td>${moveByPflInfo.quantityOnHandTotalTo!}</td>
+                            <td>${moveByPflInfo.availableToPromiseTotalTo!}</td>
+                            <td>${targetProductFacilityLocation.minimumStock!}</td>
+                            <td>${targetProductFacilityLocation.moveQuantity!}</td>
                             <td align="right">
-                                <input type="hidden" name="productId_o_${rowCount}" value="${product.productId?if_exists}" />
-                                <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId?if_exists}" />
-                                <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId?if_exists}" />
-                                <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId?if_exists}" />
+                                <input type="hidden" name="productId_o_${rowCount}" value="${product.productId!}" />
+                                <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId!}" />
+                                <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId!}" />
+                                <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId!}" />
                                 <input type="text" name="quantityMoved_o_${rowCount}" size="6" value="${totalQuantity?string.number}" />
                             </td>
                             <td align="right">
@@ -139,7 +139,7 @@
                     <tr><td colspan="13"><h3>${uiLabelMap.ProductNoStockMovesNeeded}.</h3></td></tr>
                 </#if>
                 <#assign messageCount = 0>
-                <#list pflWarningMessageList?if_exists as pflWarningMessage>
+                <#list pflWarningMessageList! as pflWarningMessage>
                     <#assign messageCount = messageCount + 1>
                     <tr><td colspan="13"><h3>${messageCount}:${pflWarningMessage}.</h3></td></tr>
                 </#list>
@@ -155,7 +155,7 @@
     </div>
     <div class="screenlet-body">
         <form method="post" action="<@ofbizUrl>processQuickStockMove</@ofbizUrl>" name='quickStockMove'>
-            <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+            <input type="hidden" name="facilityId" value="${facilityId!}" />
             <table cellspacing="0" class="basic-table hover-bar">
                 <tr class="header-row">
                     <td>${uiLabelMap.ProductProduct}</td>
Index: applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl
===================================================================
--- applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl	(working copy)
@@ -34,10 +34,10 @@
                     <#assign orderId = order.orderId>
                     <#assign orderDate = order.orderDate>
                     <#list orderInfoList as orderInfo>
-                        <#if orderInfo.get("${orderId}")?exists>
+                        <#if orderInfo.get("${orderId}")??>
                             <#assign orderDetail = orderInfo.get("${orderId}")>
                             <#assign orderDate = orderDetail.orderDate>
-                            <#if orderDetail.billingAddress?exists>
+                            <#if orderDetail.billingAddress??>
                                 <#assign billAddress = orderDetail.billingAddress>
                             </#if>
                             <#assign shipAddress = orderDetail.shippingAddress>
@@ -73,12 +73,12 @@
                                                      <fo:table-row>
                                                          <fo:table-cell>
                                                              <fo:block font-weight="bold">${uiLabelMap.OrderShipToParty}:</fo:block>
-                                                             <fo:block>${shipAddress.toName?if_exists}</fo:block>
-                                                             <fo:block> ${shipAddress.address1?if_exists}</fo:block>
-                                                             <fo:block> ${shipAddress.city?if_exists}</fo:block>
-                                                             <fo:block> ${shipAddress.countryGeoId?if_exists}</fo:block>
-                                                             <fo:block> ${shipAddress.postalCode?if_exists}</fo:block>
-                                                             <fo:block> ${shipAddress.stateProvinceGeoId?if_exists}</fo:block>
+                                                             <fo:block>${shipAddress.toName!}</fo:block>
+                                                             <fo:block> ${shipAddress.address1!}</fo:block>
+                                                             <fo:block> ${shipAddress.city!}</fo:block>
+                                                             <fo:block> ${shipAddress.countryGeoId!}</fo:block>
+                                                             <fo:block> ${shipAddress.postalCode!}</fo:block>
+                                                             <fo:block> ${shipAddress.stateProvinceGeoId!}</fo:block>
                                                          </fo:table-cell>
                                                          <fo:table-cell>
                                                              <fo:table>
@@ -88,12 +88,12 @@
                                                                          <fo:table-cell>
                                                                              <#if billAddress?has_content>
                                                                                  <fo:block font-weight="bold">${uiLabelMap.OrderOrderBillToParty}:</fo:block>
-                                                                                 <fo:block> ${billAddress.toName?if_exists}</fo:block>
-                                                                                 <fo:block> ${billAddress.address1?if_exists}</fo:block>
-                                                                                 <fo:block> ${billAddress.city?if_exists}</fo:block>
-                                                                                 <fo:block> ${billAddress.countryGeoId?if_exists}</fo:block>
-                                                                                 <fo:block> ${billAddress.postalCode?if_exists}</fo:block>
-                                                                                 <fo:block> ${billAddress.stateProvinceGeoId?if_exists}</fo:block>
+                                                                                 <fo:block> ${billAddress.toName!}</fo:block>
+                                                                                 <fo:block> ${billAddress.address1!}</fo:block>
+                                                                                 <fo:block> ${billAddress.city!}</fo:block>
+                                                                                 <fo:block> ${billAddress.countryGeoId!}</fo:block>
+                                                                                 <fo:block> ${billAddress.postalCode!}</fo:block>
+                                                                                 <fo:block> ${billAddress.stateProvinceGeoId!}</fo:block>
                                                                              </#if>
                                                                          </fo:table-cell>
                                                                      </fo:table-row>
@@ -125,7 +125,7 @@
                                                                   <fo:block>${uiLabelMap.ProductShipmentMethod}:</fo:block>
                                                              </fo:table-cell>
                                                              <fo:table-cell>
-                                                                 <fo:block font-weight="bold">${carrierPartyId?if_exists}-${shipmentMethodType?if_exists}</fo:block>
+                                                                 <fo:block font-weight="bold">${carrierPartyId!}-${shipmentMethodType!}</fo:block>
                                                              </fo:table-cell>
                                                          </fo:table-row>
                                                      </fo:table-body>
@@ -157,17 +157,17 @@
                                 <#assign totalQty = 0>
                                 <#assign rowColor = "#D4D0C8"/>
                                 <#list itemInfoList as itemInfo>
-                                    <#if itemInfo.get("${orderId}")?exists >
+                                    <#if itemInfo.get("${orderId}")?? >
                                         <#assign infoItems = itemInfo.get("${orderId}")>
                                         <#list infoItems as infoItem>
                                                 <#assign orderItemShipGrpInvRes = infoItem.orderItemShipGrpInvRes>
                                                 <#assign quantityToPick = Static["java.lang.Integer"].parseInt("${orderItemShipGrpInvRes.quantity}") >
-                                                <#if orderItemShipGrpInvRes.quantityNotAvailable?exists >
+                                                <#if orderItemShipGrpInvRes.quantityNotAvailable?? >
                                                         <#assign quantityToPick = quantityToPick - Static["java.lang.Integer"].parseInt("${orderItemShipGrpInvRes.quantityNotAvailable}")>
                                                 </#if>
                                                 <#assign orderItem = orderItemShipGrpInvRes.getRelatedOne("OrderItem", false)>
                                                 <#assign product = orderItem.getRelatedOne("Product", false)>
-                                                <#assign supplierProduct = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(product.getRelated("SupplierProduct", null, null, false))?if_exists>
+                                                <#assign supplierProduct = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(product.getRelated("SupplierProduct", null, null, false))!>
                                                 <#assign inventoryItem = infoItem.inventoryItem>
                                             <#if (quantityToPick > 0)>
                                             <fo:table-row background-color="${rowColor}">
@@ -178,14 +178,14 @@
                                                     <fo:table-cell><fo:block font-size="10pt">_NA_</fo:block></fo:table-cell>
                                                 </#if>
                                                 <fo:table-cell><fo:block font-size="10pt">${product.productId} </fo:block></fo:table-cell>
-                                                <fo:table-cell><fo:block font-size="10pt">${product.internalName?if_exists} </fo:block></fo:table-cell>
+                                                <fo:table-cell><fo:block font-size="10pt">${product.internalName!} </fo:block></fo:table-cell>
                                                 <#if supplierProduct?has_content >
-                                                    <fo:table-cell><fo:block font-size="10pt">${supplierProduct.supplierProductId?if_exists} </fo:block></fo:table-cell>
+                                                    <fo:table-cell><fo:block font-size="10pt">${supplierProduct.supplierProductId!} </fo:block></fo:table-cell>
                                                 <#else>
                                                     <fo:table-cell><fo:block font-size="10pt">  </fo:block></fo:table-cell>
                                                 </#if>
                                                 <#assign totalQty = totalQty + quantityToPick>
-                                                <fo:table-cell><fo:block font-size="10pt">${quantityToPick?if_exists} </fo:block></fo:table-cell>
+                                                <fo:table-cell><fo:block font-size="10pt">${quantityToPick!} </fo:block></fo:table-cell>
                                                 <fo:table-cell><fo:block font-size="10pt"><@ofbizCurrency amount=orderItem.unitPrice isoCode=currencyUomId/></fo:block></fo:table-cell>
                                             </fo:table-row>
                                             </#if>
@@ -212,7 +212,7 @@
                                                                         <#assign product = inventoryItem.getRelatedOne("Product", false)/>
                                                                         <fo:table-row background-color="${rowColor}">
                                                                             <#-- bin location -->
-                                                                            <fo:table-cell ><fo:block font-size="10pt"><#if inventoryItem?exists>${inventoryItem.locationSeqId?default("_NA_")}</#if></fo:block></fo:table-cell>
+                                                                            <fo:table-cell ><fo:block font-size="10pt"><#if inventoryItem??>${inventoryItem.locationSeqId?default("_NA_")}</#if></fo:block></fo:table-cell>
 
                                                                             <#-- product ID -->
                                                                             <#if product?has_content>
@@ -230,13 +230,13 @@
 
                                                                             <#-- supplier -->
                                                                             <#if vendor?has_content > 
-                                                                                <fo:table-cell><fo:block font-size="10pt">${vendor.supplierProductId?if_exists}</fo:block></fo:table-cell> 
+                                                                                <fo:table-cell><fo:block font-size="10pt">${vendor.supplierProductId!}</fo:block></fo:table-cell> 
                                                                             <#else>
                                                                                 <fo:table-cell><fo:block font-size="10pt"> </fo:block></fo:table-cell>
                                                                             </#if>
 
                                                                             <#-- quantity -->
-                                                                            <fo:table-cell><fo:block font-size="10pt">${workEffortInventoryAssign.quantity?if_exists}</fo:block></fo:table-cell>
+                                                                            <fo:table-cell><fo:block font-size="10pt">${workEffortInventoryAssign.quantity!}</fo:block></fo:table-cell>
 
                                                                             <#-- unit price -->
                                                                             <fo:table-cell ><fo:block></fo:block></fo:table-cell>
@@ -276,7 +276,7 @@
                                      </#if>
                                  </#list>
                                  <#list orderChargeList as orderCharge>
-                                     <#if orderCharge.get("${orderId}")?exists >
+                                     <#if orderCharge.get("${orderId}")?? >
                                          <#assign charges = orderCharge.get("${orderId}")>
                                          <fo:table-row>
                                              <fo:table-cell><fo:block>${uiLabelMap.OrderSubTotal}:</fo:block></fo:table-cell>
Index: applications/product/webapp/facility/facility/Picklist.fo.ftl
===================================================================
--- applications/product/webapp/facility/facility/Picklist.fo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/Picklist.fo.ftl	(working copy)
@@ -26,7 +26,7 @@
     <fo:table-row>
         <fo:table-cell padding="2pt" background-color="${rowColor}">
             <#if (facilityLocation?has_content) && (facilityLocation?is_hash)>
-                <fo:block>${facilityLocation.areaId?if_exists}-${facilityLocation.aisleId?if_exists}-${facilityLocation.sectionId?if_exists}-${facilityLocation.levelId?if_exists}-${facilityLocation.positionId?if_exists}</fo:block>
+                <fo:block>${facilityLocation.areaId!}-${facilityLocation.aisleId!}-${facilityLocation.sectionId!}-${facilityLocation.levelId!}-${facilityLocation.positionId!}</fo:block>
             <#else>
                 <fo:block>[${uiLabelMap.ProductNoLocation}]</fo:block>
             </#if>
@@ -38,7 +38,7 @@
                 <fo:block> </fo:block>
             </#if>
             <#if (facilityLocationInfo?has_content) && (facilityLocationInfo?is_hash) && (facilityLocationInfo.message)?has_content>
-                <fo:block>${facilityLocationInfo.message?if_exists}</fo:block>
+                <fo:block>${facilityLocationInfo.message!}</fo:block>
             </#if>
         </fo:table-cell>
         <fo:table-cell padding="2pt" background-color="${rowColor}">
@@ -51,7 +51,7 @@
         </fo:table-cell>
         <fo:table-cell padding="2pt" background-color="${rowColor}">
             <#list picklistBinInfoList as picklistBinInfo>
-                <fo:block>${picklistBinInfo.picklistBin.primaryOrderId?if_exists}</fo:block>
+                <fo:block>${picklistBinInfo.picklistBin.primaryOrderId!}</fo:block>
             </#list>
         </fo:table-cell>
     </fo:table-row>
@@ -69,7 +69,7 @@
     <fo:table-row>
         <fo:table-cell padding="2pt" background-color="${rowColor}">
             <#if facilityLocation?has_content>
-                <fo:block>${facilityLocation.areaId?if_exists}-${facilityLocation.aisleId?if_exists}-${facilityLocation.sectionId?if_exists}-${facilityLocation.levelId?if_exists}-${facilityLocation.positionId?if_exists}</fo:block>
+                <fo:block>${facilityLocation.areaId!}-${facilityLocation.aisleId!}-${facilityLocation.sectionId!}-${facilityLocation.levelId!}-${facilityLocation.positionId!}</fo:block>
             <#else>
                 <fo:block>[${uiLabelMap.ProductNoLocation}]</fo:block>
             </#if>
@@ -89,7 +89,7 @@
         </fo:table-cell>
         <fo:table-cell padding="2pt" background-color="${rowColor}">
             <fo:block>
-                ${picklistItemInfo.inventoryItemAndLocation.inventoryItemId}<#if picklistItemInfo.inventoryItemAndLocation.binNumber?exists>:${picklistItemInfo.inventoryItemAndLocation.binNumber}</#if>
+                ${picklistItemInfo.inventoryItemAndLocation.inventoryItemId}<#if picklistItemInfo.inventoryItemAndLocation.binNumber??>:${picklistItemInfo.inventoryItemAndLocation.binNumber}</#if>
             </fo:block>
         </fo:table-cell>
     </fo:table-row>
@@ -200,7 +200,7 @@
     <#list picklistInfo.picklistBinInfoList as picklistBinInfo>
         <#assign rowColor = "white">
         <#assign picklistBin = picklistBinInfo.picklistBin>
-        <#assign picklistItemInfoList = picklistBinInfo.picklistItemInfoList?if_exists>
+        <#assign picklistItemInfoList = picklistBinInfo.picklistItemInfoList!>
         <fo:page-sequence master-reference="main">
         <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
             <fo:block text-align="right">
@@ -242,7 +242,7 @@
                         <#assign orderItem = picklistItemInfo.orderItem>
                         <#assign product = picklistItemInfo.product>
                         <#assign picklistItemProduct = picklistItemInfo.inventoryItemAndLocation.getRelatedOne("InventoryItem", false).getRelatedOne("Product", false)>
-                        <#assign orderItemShipGrpInvRes = picklistItemInfo.orderItemShipGrpInvRes?if_exists>
+                        <#assign orderItemShipGrpInvRes = picklistItemInfo.orderItemShipGrpInvRes!>
                         <fo:table-row>
                             <fo:table-cell padding="2pt" background-color="${rowColor}">
                                 <fo:block><#--${picklistItem.orderId}:${picklistItem.shipGroupSeqId}:-->${picklistItem.orderItemSeqId}</fo:block>
Index: applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl
===================================================================
--- applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl	(working copy)
@@ -27,12 +27,12 @@
     <tr>
       <td>
           <div>
-          <span class="label">${labelType.description?if_exists} [${labelType.inventoryItemLabelTypeId}]</span>
+          <span class="label">${labelType.description!} [${labelType.inventoryItemLabelTypeId}]</span>
           &nbsp;
           <select name="inventoryItemLabelId_${index}">
             <option></option>
             <#list labels as label>
-            <option value="${label.inventoryItemLabelId}" <#if parameters["inventoryItemLabelId_" + index]?has_content && parameters["inventoryItemLabelId_" + index] == label.inventoryItemLabelId>selected="selected"</#if>>${label.description?if_exists} [${label.inventoryItemLabelId}]</option>
+            <option value="${label.inventoryItemLabelId}" <#if parameters["inventoryItemLabelId_" + index]?has_content && parameters["inventoryItemLabelId_" + index] == label.inventoryItemLabelId>selected="selected"</#if>>${label.description!} [${label.inventoryItemLabelId}]</option>
             </#list>
           </select>
           </div>
Index: applications/product/webapp/facility/facility/ReviewOrdersNotPickedOrPacked.ftl
===================================================================
--- applications/product/webapp/facility/facility/ReviewOrdersNotPickedOrPacked.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/ReviewOrdersNotPickedOrPacked.ftl	(working copy)
@@ -33,8 +33,8 @@
             <#if orders?has_content>
                 <#list orders?sort_by("pickSheetPrintedDate") as order>
                     <tr>
-                        <td><a href="/ordermgr/control/orderview?orderId=${order.orderId?if_exists}" class="buttontext" target="_blank">${order.orderId?if_exists}</a></td>
-                        <td>${order.pickSheetPrintedDate?if_exists}</td>
+                        <td><a href="/ordermgr/control/orderview?orderId=${order.orderId!}" class="buttontext" target="_blank">${order.orderId!}</a></td>
+                        <td>${order.pickSheetPrintedDate!}</td>
                         <td><#if "Y" == order.isVerified>${uiLabelMap.CommonY}</#if></td>
                     </tr>
                 </#list>
Index: applications/product/webapp/facility/facility/PicklistManage.ftl
===================================================================
--- applications/product/webapp/facility/facility/PicklistManage.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/PicklistManage.ftl	(working copy)
@@ -56,12 +56,12 @@
         </#if>
 
         <#-- PicklistRole -->
-        <#list picklistInfo.picklistRoleInfoList?if_exists as picklistRoleInfo>
+        <#list picklistInfo.picklistRoleInfoList! as picklistRoleInfo>
           <div style="margin-left: 15px;">
-            <span class="label">${uiLabelMap.PartyParty}</span> ${picklistRoleInfo.partyNameView.firstName?if_exists} ${picklistRoleInfo.partyNameView.middleName?if_exists} ${picklistRoleInfo.partyNameView.lastName?if_exists} ${picklistRoleInfo.partyNameView.groupName?if_exists}
+            <span class="label">${uiLabelMap.PartyParty}</span> ${picklistRoleInfo.partyNameView.firstName!} ${picklistRoleInfo.partyNameView.middleName!} ${picklistRoleInfo.partyNameView.lastName!} ${picklistRoleInfo.partyNameView.groupName!}
             <span class="label">${uiLabelMap.PartyRole}</span> ${picklistRoleInfo.roleType.description}
             <span class="label">${uiLabelMap.CommonFrom}</span> ${picklistRoleInfo.picklistRole.fromDate}
-            <#if picklistRoleInfo.picklistRole.thruDate?exists><span class="label">${uiLabelMap.CommonThru}</span> ${picklistRoleInfo.picklistRole.thruDate}</#if>
+            <#if picklistRoleInfo.picklistRole.thruDate??><span class="label">${uiLabelMap.CommonThru}</span> ${picklistRoleInfo.picklistRole.thruDate}</#if>
           </div>
         </#list>
         <div style="margin-left: 15px;">
@@ -72,7 +72,7 @@
             <input type="hidden" name="roleTypeId" value="PICKER"/>
             <select name="partyId">
               <#list partyRoleAndPartyDetailList as partyRoleAndPartyDetail>
-                <option value="${partyRoleAndPartyDetail.partyId}">${partyRoleAndPartyDetail.firstName?if_exists} ${partyRoleAndPartyDetail.middleName?if_exists} ${partyRoleAndPartyDetail.lastName?if_exists} ${partyRoleAndPartyDetail.groupName?if_exists} [${partyRoleAndPartyDetail.partyId}]</option>
+                <option value="${partyRoleAndPartyDetail.partyId}">${partyRoleAndPartyDetail.firstName!} ${partyRoleAndPartyDetail.middleName!} ${partyRoleAndPartyDetail.lastName!} ${partyRoleAndPartyDetail.groupName!} [${partyRoleAndPartyDetail.partyId}]</option>
               </#list>
             </select>
             <input type="submit" value="${uiLabelMap.CommonAdd}" class="smallSubmit"/>
@@ -80,7 +80,7 @@
         </div>
 
         <#-- PicklistStatusHistory -->
-        <#list picklistInfo.picklistStatusHistoryInfoList?if_exists as picklistStatusHistoryInfo>
+        <#list picklistInfo.picklistStatusHistoryInfoList! as picklistStatusHistoryInfo>
           <div style="margin-left: 15px;">
             <span class="label">${uiLabelMap.CommonStatus}</span> ${uiLabelMap.CommonChange} ${uiLabelMap.CommonFrom} ${picklistStatusHistoryInfo.statusItem.get("description",locale)}
             ${uiLabelMap.CommonTo} ${picklistStatusHistoryInfo.statusItemTo.description}
@@ -90,17 +90,17 @@
         </#list>
         <hr />
         <#-- PicklistBin -->
-        <#list picklistInfo.picklistBinInfoList?if_exists as picklistBinInfo>
+        <#list picklistInfo.picklistBinInfoList! as picklistBinInfo>
           <#assign isBinComplete = Static["org.ofbiz.shipment.picklist.PickListServices"].isBinComplete(delegator, picklistBinInfo.picklistBin.picklistBinId)/>
           <#if (!isBinComplete)>
             <div style="margin-left: 15px;">
               <span class="label">${uiLabelMap.ProductBinNum}</span> ${picklistBinInfo.picklistBin.binLocationNumber}&nbsp;(${picklistBinInfo.picklistBin.picklistBinId})
-              <#if picklistBinInfo.primaryOrderHeader?exists><span class="label">${uiLabelMap.ProductPrimaryOrderId}</span> ${picklistBinInfo.primaryOrderHeader.orderId}</#if>
-              <#if picklistBinInfo.primaryOrderItemShipGroup?exists><span class="label">${uiLabelMap.ProductPrimaryShipGroupSeqId}</span> ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}</#if>
+              <#if picklistBinInfo.primaryOrderHeader??><span class="label">${uiLabelMap.ProductPrimaryOrderId}</span> ${picklistBinInfo.primaryOrderHeader.orderId}</#if>
+              <#if picklistBinInfo.primaryOrderItemShipGroup??><span class="label">${uiLabelMap.ProductPrimaryShipGroupSeqId}</span> ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}</#if>
               <#if !picklistBinInfo.picklistItemInfoList?has_content><a href="javascript:document.DeletePicklistBin_${picklistInfo_index}_${picklistBinInfo_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a></#if>
               <form name="DeletePicklistBin_${picklistInfo_index}_${picklistBinInfo_index}" method="post" action="<@ofbizUrl>deletePicklistBin</@ofbizUrl>">
                 <input type="hidden" name="picklistBinId" value="${picklistBinInfo.picklistBin.picklistBinId}"/>
-                <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                <input type="hidden" name="facilityId" value="${facilityId!}"/>
               </form>
             </div>
             <div style="margin-left: 30px;">
@@ -134,7 +134,7 @@
                     <td>&nbsp;</td>
                   </tr>
                   <#assign alt_row = false>
-                  <#list picklistBinInfo.picklistItemInfoList?if_exists as picklistItemInfo>
+                  <#list picklistBinInfo.picklistItemInfoList! as picklistItemInfo>
                     <#assign picklistItem = picklistItemInfo.picklistItem>
                     <#assign inventoryItemAndLocation = picklistItemInfo.inventoryItemAndLocation>
                     <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
@@ -143,7 +143,7 @@
                       <td>${picklistItem.orderItemSeqId}</td>
                       <td>${picklistItemInfo.orderItem.productId}<#if picklistItemInfo.orderItem.productId != inventoryItemAndLocation.productId>&nbsp;[${inventoryItemAndLocation.productId}]</#if></td>
                       <td>${inventoryItemAndLocation.inventoryItemId}</td>
-                      <td>${inventoryItemAndLocation.areaId?if_exists}-${inventoryItemAndLocation.aisleId?if_exists}-${inventoryItemAndLocation.sectionId?if_exists}-${inventoryItemAndLocation.levelId?if_exists}-${inventoryItemAndLocation.positionId?if_exists}</td>
+                      <td>${inventoryItemAndLocation.areaId!}-${inventoryItemAndLocation.aisleId!}-${inventoryItemAndLocation.sectionId!}-${inventoryItemAndLocation.levelId!}-${inventoryItemAndLocation.positionId!}</td>
                       <td>${picklistItem.quantity}</td>
                       <#if !picklistItemInfo.itemIssuanceList?has_content>
                         <td>
@@ -153,7 +153,7 @@
                             <input type="hidden" name="orderItemSeqId" value="${picklistItemInfo.picklistItem.orderItemSeqId}"/>
                             <input type="hidden" name="shipGroupSeqId" value="${picklistItemInfo.picklistItem.shipGroupSeqId}"/>
                             <input type="hidden" name="inventoryItemId" value="${picklistItemInfo.picklistItem.inventoryItemId}"/>
-                            <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                            <input type="hidden" name="facilityId" value="${facilityId!}"/>
                             <a href='javascript:document.deletePicklistItem_${picklist.picklistId}_${picklistItem.orderId}_${picklistItemInfo_index}.submit()' class='buttontext'>&nbsp;${uiLabelMap.CommonDelete}&nbsp;</a>
                           </form>
                         </td>
@@ -161,7 +161,7 @@
                       <td>
                         <#-- picklistItem.orderItemShipGrpInvRes (do we want to display any of this info?) -->
                         <#-- picklistItemInfo.itemIssuanceList -->
-                        <#list picklistItemInfo.itemIssuanceList?if_exists as itemIssuance>
+                        <#list picklistItemInfo.itemIssuanceList! as itemIssuance>
                           <b>${uiLabelMap.ProductIssue} ${uiLabelMap.CommonTo} ${uiLabelMap.ProductShipmentItemSeqId}:</b> ${itemIssuance.shipmentId}:${itemIssuance.shipmentItemSeqId}
                           <b>${uiLabelMap.ProductQuantity}:</b> ${itemIssuance.quantity}
                           <b>${uiLabelMap.CommonDate}: </b> ${itemIssuance.issuedDateTime}
@@ -173,7 +173,7 @@
                   </#list>
                 </table>
               </div>
-              <#if picklistBinInfo.productStore.managedByLot?exists && picklistBinInfo.productStore.managedByLot = "Y">
+              <#if picklistBinInfo.productStore.managedByLot?? && picklistBinInfo.productStore.managedByLot = "Y">
                 <div style="margin-left: 30px;">
                   <table class="basic-table" cellspacing="0">
                     <tr class="header-row"
@@ -187,7 +187,7 @@
                       <td>&nbsp;</td>
                       </tr>
                       <#assign alt_row = false>
-                      <#list picklistBinInfo.picklistItemInfoList?if_exists as picklistItemInfo>
+                      <#list picklistBinInfo.picklistItemInfoList! as picklistItemInfo>
                         <#assign picklistItem = picklistItemInfo.picklistItem>
                         <#assign inventoryItemAndLocation = picklistItemInfo.inventoryItemAndLocation>
                         <#if !picklistItemInfo.product.lotIdFilledIn?has_content || picklistItemInfo.product.lotIdFilledIn != "Forbidden">
@@ -206,7 +206,7 @@
                                 <input type="hidden" name="orderItemSeqId" value="${picklistItemInfo.picklistItem.orderItemSeqId}"/>
                                 <input type="hidden" name="shipGroupSeqId" value="${picklistItemInfo.picklistItem.shipGroupSeqId}"/>
                                 <input type="hidden" name="inventoryItemId" value="${picklistItemInfo.picklistItem.inventoryItemId}"/>
-                                <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                                <input type="hidden" name="facilityId" value="${facilityId!}"/>
                                 <input type="hidden" name="productId" value="${picklistItemInfo.orderItem.productId}" />
                                 <#if inventoryItemAndLocation.lotId?has_content>
                                   <input type="hidden" name="oldLotId" value="${inventoryItemAndLocation.lotId}" />
Index: applications/product/webapp/facility/facility/PicklistOptions.ftl
===================================================================
--- applications/product/webapp/facility/facility/PicklistOptions.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/PicklistOptions.ftl	(working copy)
@@ -29,11 +29,11 @@
     <table class="basic-table" cellspacing='0'>
       <tr>
         <td class='label'>${uiLabelMap.FacilityGroupByShippingMethod}</td>
-        <td><input type="checkbox" name="groupByShippingMethod" value="Y" <#if "${requestParameters.groupByShippingMethod?if_exists}" == "Y">checked="checked"</#if>/></td>
+        <td><input type="checkbox" name="groupByShippingMethod" value="Y" <#if "${requestParameters.groupByShippingMethod!}" == "Y">checked="checked"</#if>/></td>
         <td class='label'>${uiLabelMap.FacilityGroupByWarehouseArea}</td>
-        <td><input type="checkbox" name="groupByWarehouseArea" value="Y" <#if "${requestParameters.groupByWarehouseArea?if_exists}" == "Y">checked="checked"</#if>/></td>
+        <td><input type="checkbox" name="groupByWarehouseArea" value="Y" <#if "${requestParameters.groupByWarehouseArea!}" == "Y">checked="checked"</#if>/></td>
         <td class='label'>${uiLabelMap.FacilityGroupByNoOfOrderItems}</td>
-        <td><input type="checkbox" name="groupByNoOfOrderItems" value="Y" <#if "${requestParameters.groupByNoOfOrderItems?if_exists}" == "Y">checked="checked"</#if>/></td>
+        <td><input type="checkbox" name="groupByNoOfOrderItems" value="Y" <#if "${requestParameters.groupByNoOfOrderItems!}" == "Y">checked="checked"</#if>/></td>
       </tr>
       <tr><td>&nbsp;</td></tr>
     </table>
@@ -54,7 +54,7 @@
     <table cellspacing="0" class="basic-table">
       <#if pickMoveInfoList?has_content || rushOrderInfo?has_content>
         <tr class="header-row">
-          <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+          <#if !((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
             <td>${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr}</td>
           <#else>
             <td>${uiLabelMap.ProductShipmentMethod}</td>
@@ -69,8 +69,8 @@
         </tr>
       </#if>
       <#if rushOrderInfo?has_content>
-        <#assign orderReadyToPickInfoList = rushOrderInfo.orderReadyToPickInfoList?if_exists>
-        <#assign orderNeedsStockMoveInfoList = rushOrderInfo.orderNeedsStockMoveInfoList?if_exists>
+        <#assign orderReadyToPickInfoList = rushOrderInfo.orderReadyToPickInfoList!>
+        <#assign orderNeedsStockMoveInfoList = rushOrderInfo.orderNeedsStockMoveInfoList!>
         <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)>
         <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)>
         <tr>
@@ -97,12 +97,12 @@
         <#assign orderNeedsStockMoveInfoListSizeTotal = 0>
         <#assign alt_row = false>
         <#list pickMoveInfoList as pickMoveInfo>
-          <#assign groupName = pickMoveInfo.groupName?if_exists>
-          <#assign groupName1 = pickMoveInfo.groupName1?if_exists>
-          <#assign groupName2 = pickMoveInfo.groupName2?if_exists>
-          <#assign groupName3 = pickMoveInfo.groupName3?if_exists>
-          <#assign orderReadyToPickInfoList = pickMoveInfo.orderReadyToPickInfoList?if_exists>
-          <#assign orderNeedsStockMoveInfoList = pickMoveInfo.orderNeedsStockMoveInfoList?if_exists>
+          <#assign groupName = pickMoveInfo.groupName!>
+          <#assign groupName1 = pickMoveInfo.groupName1!>
+          <#assign groupName2 = pickMoveInfo.groupName2!>
+          <#assign groupName3 = pickMoveInfo.groupName3!>
+          <#assign orderReadyToPickInfoList = pickMoveInfo.orderReadyToPickInfoList!>
+          <#assign orderNeedsStockMoveInfoList = pickMoveInfo.orderNeedsStockMoveInfoList!>
           <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)>
           <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)>
           <#assign orderReadyToPickInfoListSizeTotal = orderReadyToPickInfoListSizeTotal + orderReadyToPickInfoListSize>
@@ -110,13 +110,13 @@
           <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>
                     <form name="viewGroupDetail_${pickMoveInfo_index}" action="<@ofbizUrl>PicklistOptions</@ofbizUrl>" method="post">
-                      <input type ="hidden" name="viewDetail" value= "${groupName?if_exists}"/>
-                      <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/>
-                      <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/>
-                      <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/>
-                      <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                      <input type ="hidden" name="viewDetail" value= "${groupName!}"/>
+                      <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod!}"/>
+                      <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea!}"/>
+                      <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems!}"/>
+                      <input type="hidden" name="facilityId" value="${facilityId!}"/>
                     </form>
-              <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+              <#if ((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
                   <#if groupName1?has_content>
                     <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName1}</a>
                   </#if>
@@ -131,18 +131,18 @@
                     <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName3}</a></td>
                   </#if>
               <#else>
-                  <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName?if_exists}</a>
+                  <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName!}</a>
               </#if>
                 </td>
             <td>
-              <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+              <#if !((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
                 <#if orderReadyToPickInfoListSize == 0 >${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if>
               <#else>
                 ${orderReadyToPickInfoListSize}
               </#if>
             </td>
             <td>
-              <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+              <#if !((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
                 <#if orderNeedsStockMoveInfoListSize == 0>${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if>
               <#else>
                 ${orderNeedsStockMoveInfoListSize}
@@ -151,16 +151,16 @@
             <td>
               <#if orderReadyToPickInfoList?has_content>
                 <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
-                  <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/>
-                  <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/>
-                  <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
+                  <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod!}"/>
+                  <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea!}"/>
+                  <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems!}"/>
                   <input type="hidden" name="orderIdList" value=""/>
-                  <#assign orderIdsForPickList = orderReadyToPickInfoList?if_exists>
+                  <#assign orderIdsForPickList = orderReadyToPickInfoList!>
                   <#list orderIdsForPickList as orderIdForPickList>
                     <input type="hidden" name="orderIdList" value="${orderIdForPickList.orderHeader.orderId}"/>
                   </#list>
-                  <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+                  <#if ((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
                     <span class="label">${uiLabelMap.ProductPickFirst}</span>
                     <input type="text" size="4" name="maxNumberOfOrders" value="20"/>
                   </#if>
@@ -173,14 +173,14 @@
             <td>
               <#if orderReadyToPickInfoList?has_content>
                 <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>" target="_blank">
-                  <input type="hidden" name="printGroupName" value="${groupName?if_exists}"/>
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
-                  <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/>
-                  <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/>
-                  <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/>
-                  <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+                  <input type="hidden" name="printGroupName" value="${groupName!}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
+                  <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod!}"/>
+                  <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea!}"/>
+                  <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems!}"/>
+                  <#if !((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
                     <input type="hidden" name="maxNumberOfOrdersToPrint" value="1"/>
-                    <input type="hidden" name="orderId" value="${groupName?if_exists}"/>
+                    <input type="hidden" name="orderId" value="${groupName!}"/>
                   <#else>
                     <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span>
                     <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/>
@@ -195,7 +195,7 @@
           <#-- toggle the row color -->
           <#assign alt_row = !alt_row>
         </#list>
-        <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))>
+        <#if ((requestParameters.groupByShippingMethod?? && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?? && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?? && requestParameters.groupByNoOfOrderItems == "Y"))>
           <tr<#if alt_row> class="alternate-row"</#if>>
             <th>${uiLabelMap.CommonAllMethods}</div></th>
             <td>&nbsp;</td>
@@ -205,7 +205,7 @@
             <td>
               <#if (orderReadyToPickInfoListSizeTotal > 0)>
                 <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
                   <span class="label">${uiLabelMap.ProductPickFirst}</span>
                   <input type="text" size="4" name="maxNumberOfOrders" value="20"/>
                   <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/>
@@ -217,7 +217,7 @@
             <td>
               <#if (orderReadyToPickInfoListSizeTotal > 0)>
                 <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>" target="_blank">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
                   <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span>
                   <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/>
                   <input type="submit" value="${uiLabelMap.FormFieldTitle_printPickSheet}"/>
@@ -234,12 +234,12 @@
     </table>
   </div>
 </div>
-<#assign viewDetail = requestParameters.viewDetail?if_exists>
+<#assign viewDetail = requestParameters.viewDetail!>
 <#if viewDetail?has_content>
   <#list pickMoveInfoList as pickMoveInfo>
-    <#assign groupName = pickMoveInfo.groupName?if_exists>
-    <#if groupName?if_exists == viewDetail>
-      <#assign toPickList = pickMoveInfo.orderReadyToPickInfoList?if_exists>
+    <#assign groupName = pickMoveInfo.groupName!>
+    <#if groupName! == viewDetail>
+      <#assign toPickList = pickMoveInfo.orderReadyToPickInfoList!>
     </#if>
   </#list>
 </#if>
@@ -268,24 +268,24 @@
         <#list toPickList as toPick>
           <#assign oiasgal = toPick.orderItemShipGrpInvResList>
           <#assign header = toPick.orderHeader>
-          <#assign channel = header.getRelatedOne("SalesChannelEnumeration", false)?if_exists>
+          <#assign channel = header.getRelatedOne("SalesChannelEnumeration", false)!>
           <#list oiasgal as oiasga>
-            <#assign orderProduct = oiasga.getRelatedOne("OrderItem", false).getRelatedOne("Product", false)?if_exists>
-            <#assign product = oiasga.getRelatedOne("InventoryItem", false).getRelatedOne("Product", false)?if_exists>
+            <#assign orderProduct = oiasga.getRelatedOne("OrderItem", false).getRelatedOne("Product", false)!>
+            <#assign product = oiasga.getRelatedOne("InventoryItem", false).getRelatedOne("Product", false)!>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td><a href="/ordermgr/control/orderview?orderId=${oiasga.orderId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${oiasga.orderId}</a></td>
               <td>${header.orderDate?string}</td>
-              <td>${(channel.description)?if_exists}</td>
+              <td>${(channel.description)!}</td>
               <td>${oiasga.orderItemSeqId}</td>
               <td>
-                <a href="/catalog/control/EditProduct?productId=${orderProduct.productId?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(orderProduct.internalName)?if_exists}</a>
+                <a href="/catalog/control/EditProduct?productId=${orderProduct.productId!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(orderProduct.internalName)!}</a>
                 <#if orderProduct.productId != product.productId>
-                  &nbsp;[<a href="/catalog/control/EditProduct?productId=${product.productId?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)?if_exists}</a>]
+                  &nbsp;[<a href="/catalog/control/EditProduct?productId=${product.productId!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)!}</a>]
                 </#if>
               </td>
               <td>${oiasga.shipGroupSeqId}</td>
               <td>${oiasga.quantity}</td>
-              <td>${oiasga.quantityNotAvailable?if_exists}</td>
+              <td>${oiasga.quantityNotAvailable!}</td>
             </tr>
           </#list>
           <#-- toggle the row color -->
Index: applications/product/webapp/facility/facility/FindFacilityLocation.ftl
===================================================================
--- applications/product/webapp/facility/facility/FindFacilityLocation.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/FindFacilityLocation.ftl	(working copy)
@@ -19,15 +19,15 @@
 
     <div class="button-bar button-style-1">
       <a href="<@ofbizUrl>EditFacility</@ofbizUrl>" class="create">${uiLabelMap.ProductNewFacility}</a>
-      <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="create">${uiLabelMap.ProductNewFacilityLocation}</a>
+      <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId!}</@ofbizUrl>" class="create">${uiLabelMap.ProductNewFacilityLocation}</a>
     </div>
 
     <form action="<@ofbizUrl>FindFacilityLocation</@ofbizUrl>" method="get" name="findFacilityLocation" class="basic-form">
-        <#if (facilityId?exists)>
+        <#if (facilityId??)>
             <input type="hidden" name="facilityId" value="${facilityId}" />
         </#if>        
         <table class="basic-table" cellspacing="0">
-        <#if !(facilityId?exists)>
+        <#if !(facilityId??)>
             <tr>
                 <td class="label">${uiLabelMap.ProductFacility}</td>
                 <td><input type="text" value="" size="19" maxlength="20" /></td>
@@ -36,7 +36,7 @@
         <tr>
             <td class="label">${uiLabelMap.ProductLocationSeqId}</td>
             <td>
-                <#if parameters.facilityId?exists>
+                <#if parameters.facilityId??>
                     <#assign LookupFacilityLocationView="LookupFacilityLocation?facilityId=${facilityId}">
                 <#else>
                     <#assign LookupFacilityLocationView="LookupFacilityLocation">
@@ -71,10 +71,10 @@
         </table>
     </form>
 
-    <#if foundLocations?exists>
+    <#if foundLocations??>
         <#-- TODO: Put this in a screenlet - make it look more like the party find screen -->
         <br />
-        <h3>${uiLabelMap.CommonFound}:&nbsp;${foundLocations.size()}&nbsp;${uiLabelMap.ProductLocationsFor}&nbsp;<#if facility?exists>${(facility.facilityName)?if_exists}</#if> [ID:${facilityId?if_exists}]</h3>
+        <h3>${uiLabelMap.CommonFound}:&nbsp;${foundLocations.size()}&nbsp;${uiLabelMap.ProductLocationsFor}&nbsp;<#if facility??>${(facility.facilityName)!}</#if> [ID:${facilityId!}]</h3>
         <br />
         <table class="basic-table hover-bar" cellspacing="0">
         <tr class="header-row-2">
@@ -90,22 +90,22 @@
         </tr>
         <#assign rowClass = "2">
         <#list foundLocations as location>
-        <#assign locationTypeEnum = location.getRelatedOne("TypeEnumeration", true)?if_exists>
+        <#assign locationTypeEnum = location.getRelatedOne("TypeEnumeration", true)!>
         <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-            <td><a href="<@ofbizUrl>EditFacility?facilityId=${(location.facilityId)?if_exists}</@ofbizUrl>">${(location.facilityId)?if_exists}</a></td>
-            <td><a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId}&locationSeqId=${(location.locationSeqId)?if_exists}</@ofbizUrl>">${(location.locationSeqId)?if_exists}</a></td>
-            <td>${(locationTypeEnum.get("description",locale))?default(location.locationTypeEnumId?if_exists)}</td>
-            <td>${(location.areaId)?if_exists}</td>
-            <td>${(location.aisleId)?if_exists}</td>
-            <td>${(location.sectionId)?if_exists}</td>
-            <td>${(location.levelId)?if_exists}</td>
-            <td>${(location.positionId)?if_exists}</td>
+            <td><a href="<@ofbizUrl>EditFacility?facilityId=${(location.facilityId)!}</@ofbizUrl>">${(location.facilityId)!}</a></td>
+            <td><a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId}&locationSeqId=${(location.locationSeqId)!}</@ofbizUrl>">${(location.locationSeqId)!}</a></td>
+            <td>${(locationTypeEnum.get("description",locale))?default(location.locationTypeEnumId!)}</td>
+            <td>${(location.areaId)!}</td>
+            <td>${(location.aisleId)!}</td>
+            <td>${(location.sectionId)!}</td>
+            <td>${(location.levelId)!}</td>
+            <td>${(location.positionId)!}</td>
             <td class="button-col">
-              <a href="<@ofbizUrl>EditInventoryItem?facilityId=${(location.facilityId)?if_exists}&locationSeqId=${(location.locationSeqId)?if_exists}</@ofbizUrl>">${uiLabelMap.ProductNewInventoryItem}</a>
-              <#if itemId?exists>
-                <a href="<@ofbizUrl>UpdateInventoryItem?inventoryItemId=${itemId}&facilityId=${facilityId}&locationSeqId=${(location.locationSeqId)?if_exists}</@ofbizUrl>">${uiLabelMap.ProductSetItem} ${itemId}</a>
+              <a href="<@ofbizUrl>EditInventoryItem?facilityId=${(location.facilityId)!}&locationSeqId=${(location.locationSeqId)!}</@ofbizUrl>">${uiLabelMap.ProductNewInventoryItem}</a>
+              <#if itemId??>
+                <a href="<@ofbizUrl>UpdateInventoryItem?inventoryItemId=${itemId}&facilityId=${facilityId}&locationSeqId=${(location.locationSeqId)!}</@ofbizUrl>">${uiLabelMap.ProductSetItem} ${itemId}</a>
               </#if>
-              <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${(location.facilityId)?if_exists}&locationSeqId=${(location.locationSeqId)?if_exists}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
+              <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${(location.facilityId)!}&locationSeqId=${(location.locationSeqId)!}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
             </td>
         </tr>
         <#-- toggle the row color -->
Index: applications/product/webapp/facility/facility/EditContactMech.ftl
===================================================================
--- applications/product/webapp/facility/facility/EditContactMech.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/EditContactMech.ftl	(working copy)
@@ -17,11 +17,11 @@
 under the License.
 -->
 
-<#if !mechMap.facilityContactMech?exists && mechMap.contactMech?exists>
+<#if !mechMap.facilityContactMech?? && mechMap.contactMech??>
   <p><h3>${uiLabelMap.PartyContactInfoNotBelongToYou}.</h3></p>
   &nbsp;<a href="<@ofbizUrl>authview/${donePage}?facilityId=${facilityId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonGoBack}</a>
 <#else>
-  <#if !mechMap.contactMech?exists>
+  <#if !mechMap.contactMech??>
     <#-- When creating a new contact mech, first select the type, then actually create -->
     <#if !preContactMechTypeId?has_content>
     <h1>${title}</h1>
@@ -30,7 +30,7 @@
     </div>
     <form method="post" action='<@ofbizUrl>EditContactMech</@ofbizUrl>' name="createcontactmechform">
       <input type='hidden' name='facilityId' value='${facilityId}' />
-      <input type='hidden' name='DONE_PAGE' value='${donePage?if_exists}' />
+      <input type='hidden' name='DONE_PAGE' value='${donePage!}' />
       <table width="50%" class="basic-table" cellspacing="0">
         <tr>
           <td class="label">${uiLabelMap.PartySelectContactType}</td>
@@ -53,18 +53,18 @@
       <div class="button-bar">
         <a href='<@ofbizUrl>authview/${donePage}?facilityId=${facilityId}</@ofbizUrl>' class='buttontext'>${uiLabelMap.CommonGoBack}</a>
       </div>
-      <#if contactMechPurposeType?exists>
-        <div><span class="label">(${uiLabelMap.PartyMsgContactHavePurpose}</span>"${contactMechPurposeType.get("description",locale)?if_exists}")</div>
+      <#if contactMechPurposeType??>
+        <div><span class="label">(${uiLabelMap.PartyMsgContactHavePurpose}</span>"${contactMechPurposeType.get("description",locale)!}")</div>
       </#if>
       <table width="90%" class="basic-table" cellspacing="0">
         <form method="post" action='<@ofbizUrl>${mechMap.requestName}</@ofbizUrl>' name="editcontactmechform" id="editcontactmechform">
         <input type='hidden' name='DONE_PAGE' value='${donePage}' />
         <input type='hidden' name='contactMechTypeId' value='${mechMap.contactMechTypeId}' />
         <input type='hidden' name='facilityId' value='${facilityId}' />
-        <#if preContactMechTypeId?exists><input type='hidden' name='preContactMechTypeId' value='${preContactMechTypeId}' /></#if>
-        <#if contactMechPurposeTypeId?exists><input type='hidden' name='contactMechPurposeTypeId' value='${contactMechPurposeTypeId?if_exists}' /></#if>
+        <#if preContactMechTypeId??><input type='hidden' name='preContactMechTypeId' value='${preContactMechTypeId}' /></#if>
+        <#if contactMechPurposeTypeId??><input type='hidden' name='contactMechPurposeTypeId' value='${contactMechPurposeTypeId!}' /></#if>
 
-        <#if paymentMethodId?exists><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
+        <#if paymentMethodId??><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
 
         <tr>
           <td class="label">${uiLabelMap.PartyContactPurposes}</td>
@@ -108,11 +108,11 @@
                 <#-- toggle the row color -->
                 <#assign alt_row = !alt_row>
                 <form id="deleteFacilityContactMechPurpose_${facilityContactMechPurpose_index}" method="post" action="<@ofbizUrl>deleteFacilityContactMechPurpose</@ofbizUrl>">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
-                  <input type="hidden" name="contactMechId" value="${contactMechId?if_exists}" />
-                  <input type="hidden" name="contactMechPurposeTypeId" value="${(facilityContactMechPurpose.contactMechPurposeTypeId)?if_exists}" />
-                  <input type="hidden" name="fromDate" value="${(facilityContactMechPurpose.fromDate)?if_exists}" />
-                  <input type="hidden" name="DONE_PAGE" value="${donePage?if_exists}" />
+                  <input type="hidden" name="facilityId" value="${facilityId!}" />
+                  <input type="hidden" name="contactMechId" value="${contactMechId!}" />
+                  <input type="hidden" name="contactMechPurposeTypeId" value="${(facilityContactMechPurpose.contactMechPurposeTypeId)!}" />
+                  <input type="hidden" name="fromDate" value="${(facilityContactMechPurpose.fromDate)!}" />
+                  <input type="hidden" name="DONE_PAGE" value="${donePage!}" />
                   <input type="hidden" name="useValues" value="true" />
                 </form>
               </#list>
@@ -121,7 +121,7 @@
                 <td>
                   <form method="post" action='<@ofbizUrl>createFacilityContactMechPurpose?DONE_PAGE=${donePage}&amp;useValues=true</@ofbizUrl>' name='newpurposeform'>
                   <input type="hidden" name='facilityId' value='${facilityId}' />
-                  <input type="hidden" name='contactMechId' value='${contactMechId?if_exists}' />
+                  <input type="hidden" name='contactMechId' value='${contactMechId!}' />
                     <select name='contactMechPurposeTypeId'>
                       <option></option>
                       <#list mechMap.purposeTypes as contactMechPurposeType>
@@ -142,35 +142,35 @@
         <input type="hidden" name='facilityId' value='${facilityId}' />
     </#if>
 
-  <#if "POSTAL_ADDRESS" = mechMap.contactMechTypeId?if_exists>
+  <#if "POSTAL_ADDRESS" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${uiLabelMap.PartyToName}</td>
       <td>
-        <input type="text" size="30" maxlength="60" name="toName" value="${(mechMap.postalAddress.toName)?default(request.getParameter('toName')?if_exists)}" />
+        <input type="text" size="30" maxlength="60" name="toName" value="${(mechMap.postalAddress.toName)?default(request.getParameter('toName')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAttentionName}</td>
       <td>
-        <input type="text" size="30" maxlength="60" name="attnName" value="${(mechMap.postalAddress.attnName)?default(request.getParameter('attnName')?if_exists)}" />
+        <input type="text" size="30" maxlength="60" name="attnName" value="${(mechMap.postalAddress.attnName)?default(request.getParameter('attnName')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAddressLine1}</td>
       <td>
-        <input type="text" class="required" size="30" maxlength="30" name="address1" value="${(mechMap.postalAddress.address1)?default(request.getParameter('address1')?if_exists)}" />
+        <input type="text" class="required" size="30" maxlength="30" name="address1" value="${(mechMap.postalAddress.address1)?default(request.getParameter('address1')!)}" />
       *</td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyAddressLine2}</td>
       <td>
-          <input type="text" size="30" maxlength="30" name="address2" value="${(mechMap.postalAddress.address2)?default(request.getParameter('address2')?if_exists)}" />
+          <input type="text" size="30" maxlength="30" name="address2" value="${(mechMap.postalAddress.address2)?default(request.getParameter('address2')!)}" />
       </td>
     </tr>
     <tr>
       <td class="label">${uiLabelMap.PartyCity}</td>
       <td>
-          <input type="text" class="required" size="30" maxlength="30" name="city" value="${(mechMap.postalAddress.city)?default(request.getParameter('city')?if_exists)}" />
+          <input type="text" class="required" size="30" maxlength="30" name="city" value="${(mechMap.postalAddress.city)?default(request.getParameter('city')!)}" />
       *</td>
     </tr>
     <tr>
@@ -183,7 +183,7 @@
     <tr>
       <td class="label">${uiLabelMap.PartyZipCode}</td>
       <td>
-        <input type="text" class="required" size="12" maxlength="10" name="postalCode" value="${(mechMap.postalAddress.postalCode)?default(request.getParameter('postalCode')?if_exists)}" />
+        <input type="text" class="required" size="12" maxlength="10" name="postalCode" value="${(mechMap.postalAddress.postalCode)?default(request.getParameter('postalCode')!)}" />
       *</td>
     </tr>
     <tr>   
@@ -191,7 +191,7 @@
       <td>     
         <select name="countryGeoId" id="editcontactmechform_countryGeoId">
           ${screens.render("component://common/widget/CommonScreens.xml#countries")}        
-          <#if (mechMap.postalAddress?exists) && (mechMap.postalAddress.countryGeoId?exists)>
+          <#if (mechMap.postalAddress??) && (mechMap.postalAddress.countryGeoId??)>
             <#assign defaultCountryGeoId = mechMap.postalAddress.countryGeoId>
           <#else>
            <#assign defaultCountryGeoId = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("general.properties", "country.geo.id.default")>
@@ -203,32 +203,32 @@
         </select>
       </td>
     </tr>
-  <#elseif "TELECOM_NUMBER" = mechMap.contactMechTypeId?if_exists>
+  <#elseif "TELECOM_NUMBER" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${uiLabelMap.PartyPhoneNumber}</td>
       <td>
-        <input type="text" size="4" maxlength="10" name="countryCode" value="${(mechMap.telecomNumber.countryCode)?default(request.getParameter('countryCode')?if_exists)}" />
-        -&nbsp;<input type="text" size="4" maxlength="10" name="areaCode" value="${(mechMap.telecomNumber.areaCode)?default(request.getParameter('areaCode')?if_exists)}" />
-        -&nbsp;<input type="text" size="15" maxlength="15" name="contactNumber" value="${(mechMap.telecomNumber.contactNumber)?default(request.getParameter('contactNumber')?if_exists)}" />
-        &nbsp;ext&nbsp;<input type="text" size="6" maxlength="10" name="extension" value="${(mechMap.facilityContactMech.extension)?default(request.getParameter('extension')?if_exists)}" />
+        <input type="text" size="4" maxlength="10" name="countryCode" value="${(mechMap.telecomNumber.countryCode)?default(request.getParameter('countryCode')!)}" />
+        -&nbsp;<input type="text" size="4" maxlength="10" name="areaCode" value="${(mechMap.telecomNumber.areaCode)?default(request.getParameter('areaCode')!)}" />
+        -&nbsp;<input type="text" size="15" maxlength="15" name="contactNumber" value="${(mechMap.telecomNumber.contactNumber)?default(request.getParameter('contactNumber')!)}" />
+        &nbsp;ext&nbsp;<input type="text" size="6" maxlength="10" name="extension" value="${(mechMap.facilityContactMech.extension)?default(request.getParameter('extension')!)}" />
       </td>
     </tr>
     <tr>
       <td>&nbsp;</td>
       <td>[${uiLabelMap.CommonCountryCode}] [${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}] [${uiLabelMap.PartyExtension}]</td>
     </tr>
-  <#elseif "EMAIL_ADDRESS" = mechMap.contactMechTypeId?if_exists>
+  <#elseif "EMAIL_ADDRESS" = mechMap.contactMechTypeId!>
     <tr>
       <td class="label">${uiLabelMap.PartyEmailAddress}</td>
       <td>
-          <input type="text" class="required" size="60" maxlength="255" name="emailAddress" value="${(mechMap.contactMech.infoString)?default(request.getParameter('emailAddress')?if_exists)}" />
+          <input type="text" class="required" size="60" maxlength="255" name="emailAddress" value="${(mechMap.contactMech.infoString)?default(request.getParameter('emailAddress')!)}" />
       *</td>
     </tr>
   <#else>
     <tr>
       <td class="label">${mechMap.contactMechType.get("description",locale)}</td>
       <td>
-          <input type="text" class="required" size="60" maxlength="255" name="infoString" value="${(mechMap.contactMech.infoString)?if_exists}" />
+          <input type="text" class="required" size="60" maxlength="255" name="infoString" value="${(mechMap.contactMech.infoString)!}" />
       *</td>
     </tr>
   </#if>
Index: applications/product/webapp/facility/facility/EditFacilityLocation.ftl
===================================================================
--- applications/product/webapp/facility/facility/EditFacilityLocation.ftl	(revision 1590602)
+++ applications/product/webapp/facility/facility/EditFacilityLocation.ftl	(working copy)
@@ -17,30 +17,30 @@
 under the License.
 -->
 <h1>${title}</h1>
-<#if facilityId?exists && locationSeqId?exists>
+<#if facilityId?? && locationSeqId??>
   <div class="button-bar">
     <a href="<@ofbizUrl>EditFacility</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacility}</a>
-    <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacilityLocation}</a>
+    <a href="<@ofbizUrl>EditFacilityLocation?facilityId=${facilityId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewFacilityLocation}</a>
     <a href="<@ofbizUrl>EditInventoryItem?facilityId=${facilityId}&amp;locationSeqId=${locationSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNewInventoryItem}</a>
-    <#assign latestGeoPoint= Static["org.ofbiz.common.geo.GeoWorker"].findLatestGeoPoint(delegator, "FacilityLocationAndGeoPoint", "facilityId", facilityId, "locationSeqId", locationSeqId)?if_exists/>
+    <#assign latestGeoPoint= Static["org.ofbiz.common.geo.GeoWorker"].findLatestGeoPoint(delegator, "FacilityLocationAndGeoPoint", "facilityId", facilityId, "locationSeqId", locationSeqId)!/>
     <#if latestGeoPoint?has_content>
       <a href="<@ofbizUrl>FacilityLocationGeoLocation?facilityId=${facilityId}&amp;locationSeqId=${locationSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
     </#if>
   </div>
 </#if>
 
-<#if facilityId?exists && !(facilityLocation?exists)>
+<#if facilityId?? && !(facilityLocation??)>
     <form action="<@ofbizUrl>CreateFacilityLocation</@ofbizUrl>" method="post">
     <input type="hidden" name="facilityId" value="${facilityId}" />
     <table class="basic-table" cellspacing="0">
-<#elseif facilityLocation?exists>
+<#elseif facilityLocation??>
     <form action="<@ofbizUrl>UpdateFacilityLocation</@ofbizUrl>" method="post">
-    <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+    <input type="hidden" name="facilityId" value="${facilityId!}" />
     <input type="hidden" name="locationSeqId" value="${locationSeqId}" />
     <table class="basic-table" cellspacing="0">
     <tr>
         <td class="label">${uiLabelMap.ProductFacilityId}</td>
-        <td>${facilityId?if_exists}</td>
+        <td>${facilityId!}</td>
     </tr>
     <tr>
         <td class="label">${uiLabelMap.ProductLocationSeqId}</td>
@@ -50,13 +50,13 @@
     <h1>${uiLabelMap.ProductNotCreateLocationFacilityId}</h1>
 </#if>
 
-<#if facilityId?exists>
+<#if facilityId??>
     <tr>
         <td class="label">${uiLabelMap.ProductType}</td>
         <td>
             <select name="locationTypeEnumId">
                 <#if (facilityLocation.locationTypeEnumId)?has_content>
-                    <#assign locationTypeEnum = facilityLocation.getRelatedOne("TypeEnumeration", true)?if_exists>
+                    <#assign locationTypeEnum = facilityLocation.getRelatedOne("TypeEnumeration", true)!>
                     <option value="${facilityLocation.locationTypeEnumId}">${(locationTypeEnum.get("description",locale))?default(facilityLocation.locationTypeEnumId)}</option>
                     <option value="${facilityLocation.locationTypeEnumId}">----</option>
                 </#if>
@@ -68,27 +68,27 @@
     </tr>
     <tr>
         <td class="label">${uiLabelMap.CommonArea}</td>
-        <td><input type="text" name="areaId" value="${(facilityLocation.areaId)?if_exists}" size="19" maxlength="20" /></td>
+        <td><input type="text" name="areaId" value="${(facilityLocation.areaId)!}" size="19" maxlength="20" /></td>
     </tr>
     <tr>
         <td class="label">${uiLabelMap.ProductAisle}</td>
-        <td><input type="text" name="aisleId" value="${(facilityLocation.aisleId)?if_exists}" size="19" maxlength="20" /></td>
+        <td><input type="text" name="aisleId" value="${(facilityLocation.aisleId)!}" size="19" maxlength="20" /></td>
     </tr>
     <tr>
         <td class="label">${uiLabelMap.ProductSection}</td>
-        <td><input type="text" name="sectionId" value="${(facilityLocation.sectionId)?if_exists}" size="19" maxlength="20" /></td>
+        <td><input type="text" name="sectionId" value="${(facilityLocation.sectionId)!}" size="19" maxlength="20" /></td>
     </tr>
     <tr>
         <td class="label">${uiLabelMap.ProductLevel}</td>
-        <td><input type="text" name="levelId" value="${(facilityLocation.levelId)?if_exists}" size="19" maxlength="20" /></td>
+        <td><input type="text" name="levelId" value="${(facilityLocation.levelId)!}" size="19" maxlength="20" /></td>
     </tr>
     <tr>
         <td class="label">${uiLabelMap.ProductPosition}</td>
-        <td><input type="text" name="positionId" value="${(facilityLocation.positionId)?if_exists}" size="19" maxlength="20" /></td>
+        <td><input type="text" name="positionId" value="${(facilityLocation.positionId)!}" size="19" maxlength="20" /></td>
     </tr>
     <tr>
         <td>&nbsp;</td>
-        <#if locationSeqId?exists>
+        <#if locationSeqId??>
           <td><input type="submit" value="${uiLabelMap.CommonUpdate}" /></td>
         <#else>
           <td><input type="submit" value="${uiLabelMap.CommonSave}" /></td>
@@ -96,7 +96,7 @@
     </tr>
   </table>
   </form>
-  <#if locationSeqId?exists>
+  <#if locationSeqId??>
   <br />
   <div class="screenlet">
     <div class="screenlet-title-bar">
@@ -109,17 +109,17 @@
             <td>${uiLabelMap.ProductProduct}</td>
             <td>${uiLabelMap.ProductMinimumStockAndMoveQuantity}</td>
         </tr>
-        <#list productFacilityLocations?if_exists as productFacilityLocation>
-            <#assign product = productFacilityLocation.getRelatedOne("Product", false)?if_exists>
+        <#list productFacilityLocations! as productFacilityLocation>
+            <#assign product = productFacilityLocation.getRelatedOne("Product", false)!>
             <tr>
-                <td><#if product?exists>${(product.internalName)?if_exists}</#if>[${productFacilityLocation.productId}]</td>
+                <td><#if product??>${(product.internalName)!}</#if>[${productFacilityLocation.productId}]</td>
                 <td>
                     <form method="post" action="<@ofbizUrl>updateProductFacilityLocation</@ofbizUrl>" id="lineForm${productFacilityLocation_index}">
-                        <input type="hidden" name="productId" value="${(productFacilityLocation.productId)?if_exists}"/>
-                        <input type="hidden" name="facilityId" value="${(productFacilityLocation.facilityId)?if_exists}"/>
-                        <input type="hidden" name="locationSeqId" value="${(productFacilityLocation.locationSeqId)?if_exists}"/>
-                        <input type="text" size="10" name="minimumStock" value="${(productFacilityLocation.minimumStock)?if_exists}"/>
-                        <input type="text" size="10" name="moveQuantity" value="${(productFacilityLocation.moveQuantity)?if_exists}"/>
+                        <input type="hidden" name="productId" value="${(productFacilityLocation.productId)!}"/>
+                        <input type="hidden" name="facilityId" value="${(productFacilityLocation.facilityId)!}"/>
+                        <input type="hidden" name="locationSeqId" value="${(productFacilityLocation.locationSeqId)!}"/>
+                        <input type="text" size="10" name="minimumStock" value="${(productFacilityLocation.minimumStock)!}"/>
+                        <input type="text" size="10" name="moveQuantity" value="${(productFacilityLocation.moveQuantity)!}"/>
                         <input type="submit" value="${uiLabelMap.CommonUpdate}"/>
                         <a href="javascript:document.getElementById('lineForm${productFacilityLocation_index}').action='<@ofbizUrl>deleteProductFacilityLocation</@ofbizUrl>';document.getElementById('lineForm${productFacilityLocation_index}').submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
                     </form>
@@ -135,8 +135,8 @@
     </div>
     <div class="screenlet-body">
         <form method="post" action="<@ofbizUrl>createProductFacilityLocation</@ofbizUrl>" style="margin: 0;" name="createProductFacilityLocationForm">
-            <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
-            <input type="hidden" name="locationSeqId" value="${locationSeqId?if_exists}" />
+            <input type="hidden" name="facilityId" value="${facilityId!}" />
+            <input type="hidden" name="locationSeqId" value="${locationSeqId!}" />
             <input type="hidden" name="useValues" value="true" />
             <span class="label">${uiLabelMap.ProductProductId}</span><input type="text" size="10" name="productId" />
             <span class="label">${uiLabelMap.ProductMinimumStock}</span><input type="text" size="10" name="minimumStock" />
Index: applications/product/webapp/facility/shipment/ShipmentManifest.fo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ShipmentManifest.fo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ShipmentManifest.fo.ftl	(working copy)
@@ -36,11 +36,11 @@
                                     <fo:block>${uiLabelMap.ProductRouteSegment}: ${shipmentRouteSegment.shipmentRouteSegmentId}</fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="#D4D0C8">
-                                     <#assign carrierParty = shipmentRouteSegment.getRelatedOne("CarrierParty", false)?if_exists>
+                                     <#assign carrierParty = shipmentRouteSegment.getRelatedOne("CarrierParty", false)!>
                                     <fo:block text-align="center">${uiLabelMap.ProductCarrier}: <#if carrierParty.description?has_content>${carrierParty.description}<#else>${carrierParty.partyId}</#if></fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="#D4D0C8">
-                                    <#assign shipmentMethodType = shipmentRouteSegment.getRelatedOne("ShipmentMethodType", false)?if_exists>
+                                    <#assign shipmentMethodType = shipmentRouteSegment.getRelatedOne("ShipmentMethodType", false)!>
                                     <fo:block text-align="right">${uiLabelMap.ProductShipmentMethod}: <#if shipmentMethodType?has_content>${shipmentMethodType.description}<#else>${uiLabelMap.CommonNA}</#if></fo:block>
                                 </fo:table-cell>
                             </fo:table-row>
@@ -50,15 +50,15 @@
                                 <fo:table-cell padding="2pt">
                                     <fo:block>
                                         <#if originPostalAddress?has_content>
-                                          <fo:block>${uiLabelMap.CommonFrom}: ${originPostalAddress.toName?if_exists}</fo:block>
+                                          <fo:block>${uiLabelMap.CommonFrom}: ${originPostalAddress.toName!}</fo:block>
                                           <#if originPostalAddress.attnName?has_content>
-                                            <fo:block>${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName?if_exists}</fo:block>
+                                            <fo:block>${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName!}</fo:block>
                                           </#if>
-                                          <fo:block>${originPostalAddress.address1?if_exists}</fo:block>
-                                          <fo:block>${originPostalAddress.address2?if_exists}</fo:block>
+                                          <fo:block>${originPostalAddress.address1!}</fo:block>
+                                          <fo:block>${originPostalAddress.address2!}</fo:block>
                                           <fo:block>
-                                            ${originPostalAddress.city?if_exists}<#if originPostalAddress.stateProvinceGeoId?has_content>, ${originPostalAddress.stateProvinceGeoId}</#if>
-                                            ${originPostalAddress.postalCode?if_exists} ${originPostalAddress.countryGeoId?if_exists}
+                                            ${originPostalAddress.city!}<#if originPostalAddress.stateProvinceGeoId?has_content>, ${originPostalAddress.stateProvinceGeoId}</#if>
+                                            ${originPostalAddress.postalCode!} ${originPostalAddress.countryGeoId!}
                                           </fo:block>
                                         </#if>
                                     </fo:block>
@@ -66,15 +66,15 @@
                                 <fo:table-cell padding="2pt">
                                     <fo:block text-align="center">
                                         <#if destinationPostalAddress?has_content>
-                                          <fo:block>${uiLabelMap.CommonTo}: ${destinationPostalAddress.toName?if_exists}</fo:block>
+                                          <fo:block>${uiLabelMap.CommonTo}: ${destinationPostalAddress.toName!}</fo:block>
                                           <#if destinationPostalAddress.attnName?has_content>
-                                            <fo:block>${uiLabelMap.CommonAttn}: ${destinationPostalAddress.attnName?if_exists}</fo:block>
+                                            <fo:block>${uiLabelMap.CommonAttn}: ${destinationPostalAddress.attnName!}</fo:block>
                                           </#if>
-                                          <fo:block>${destinationPostalAddress.address1?if_exists}</fo:block>
-                                          <fo:block>${destinationPostalAddress.address2?if_exists}</fo:block>
+                                          <fo:block>${destinationPostalAddress.address1!}</fo:block>
+                                          <fo:block>${destinationPostalAddress.address2!}</fo:block>
                                           <fo:block>
-                                            ${destinationPostalAddress.city?if_exists}<#if destinationPostalAddress.stateProvinceGeoId?has_content>, ${destinationPostalAddress.stateProvinceGeoId}</#if>
-                                            ${destinationPostalAddress.postalCode?if_exists} ${destinationPostalAddress.countryGeoId?if_exists}
+                                            ${destinationPostalAddress.city!}<#if destinationPostalAddress.stateProvinceGeoId?has_content>, ${destinationPostalAddress.stateProvinceGeoId}</#if>
+                                            ${destinationPostalAddress.postalCode!} ${destinationPostalAddress.countryGeoId!}
                                           </fo:block>
                                         </#if>
                                     </fo:block>
Index: applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl
===================================================================
--- applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if shipment?exists>
+<#if shipment??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -56,20 +56,20 @@
     <#assign alt_row = false>
     <#list shipmentRouteSegmentDatas as shipmentRouteSegmentData>
         <#assign shipmentRouteSegment = shipmentRouteSegmentData.shipmentRouteSegment>
-        <#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs?if_exists>
-        <#assign originFacility = shipmentRouteSegmentData.originFacility?if_exists>
-        <#assign destFacility = shipmentRouteSegmentData.destFacility?if_exists>
-        <#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType?if_exists>
-        <#assign carrierPerson = shipmentRouteSegmentData.carrierPerson?if_exists>
-        <#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup?if_exists>
-        <#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress?if_exists>
-        <#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress?if_exists>
-        <#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber?if_exists>
-        <#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber?if_exists>
-        <#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem?if_exists>
-        <#assign currencyUom = shipmentRouteSegmentData.currencyUom?if_exists>
-        <#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom?if_exists>
-        <#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails?if_exists>
+        <#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs!>
+        <#assign originFacility = shipmentRouteSegmentData.originFacility!>
+        <#assign destFacility = shipmentRouteSegmentData.destFacility!>
+        <#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType!>
+        <#assign carrierPerson = shipmentRouteSegmentData.carrierPerson!>
+        <#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup!>
+        <#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress!>
+        <#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress!>
+        <#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber!>
+        <#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber!>
+        <#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem!>
+        <#assign currencyUom = shipmentRouteSegmentData.currencyUom!>
+        <#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom!>
+        <#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails!>
         <form name="duplicateShipmentRouteSegment_${shipmentRouteSegmentData_index}" method="post" action="<@ofbizUrl>duplicateShipmentRouteSegment</@ofbizUrl>">
             <input type="hidden" name="shipmentId" value="${shipmentRouteSegment.shipmentId}"/>
             <input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRouteSegment.shipmentRouteSegmentId}"/>
@@ -97,13 +97,13 @@
                 <div>
                     <select name="carrierPartyId">
                         <#if shipmentRouteSegment.carrierPartyId?has_content>
-                            <option value="${shipmentRouteSegment.carrierPartyId}">${(carrierPerson.firstName)?if_exists} ${(carrierPerson.middleName)?if_exists} ${(carrierPerson.lastName)?if_exists} ${(carrierPartyGroup.groupName)?if_exists} [${shipmentRouteSegment.carrierPartyId}]</option>
+                            <option value="${shipmentRouteSegment.carrierPartyId}">${(carrierPerson.firstName)!} ${(carrierPerson.middleName)!} ${(carrierPerson.lastName)!} ${(carrierPartyGroup.groupName)!} [${shipmentRouteSegment.carrierPartyId}]</option>
                             <option value="${shipmentRouteSegment.carrierPartyId}">---</option>
                         <#else>
                             <option value="">&nbsp;</option>
                         </#if>
                         <#list carrierPartyDatas as carrierPartyData>
-                            <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)?if_exists} ${(carrierPartyData.person.middleName)?if_exists} ${(carrierPartyData.person.lastName)?if_exists} ${(carrierPartyData.partyGroup.groupName)?if_exists} [${carrierPartyData.party.partyId}]</option>
+                            <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)!} ${(carrierPartyData.person.middleName)!} ${(carrierPartyData.person.lastName)!} ${(carrierPartyData.partyGroup.groupName)!} [${carrierPartyData.party.partyId}]</option>
                         </#list>
                     </select>
                     <select name="shipmentMethodTypeId">
@@ -142,74 +142,74 @@
                     </select>
                     <br />
                     <div>
-                        <input type="text" size="15" name="originContactMechId" value="${shipmentRouteSegment.originContactMechId?if_exists}"/>
-                        <#if originPostalAddress?has_content><span class="tooltip">${uiLabelMap.CommonTo}: ${originPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName?if_exists}, ${originPostalAddress.address1?if_exists}, ${originPostalAddress.address2?if_exists}, ${originPostalAddress.city?if_exists}, ${originPostalAddress.stateProvinceGeoId?if_exists}, ${originPostalAddress.postalCode?if_exists}, ${originPostalAddress.countryGeoId?if_exists}</span></#if>
+                        <input type="text" size="15" name="originContactMechId" value="${shipmentRouteSegment.originContactMechId!}"/>
+                        <#if originPostalAddress?has_content><span class="tooltip">${uiLabelMap.CommonTo}: ${originPostalAddress.toName!}, ${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName!}, ${originPostalAddress.address1!}, ${originPostalAddress.address2!}, ${originPostalAddress.city!}, ${originPostalAddress.stateProvinceGeoId!}, ${originPostalAddress.postalCode!}, ${originPostalAddress.countryGeoId!}</span></#if>
                     </div>
                     <div>
-                        <input type="text" size="15" name="destContactMechId" value="${shipmentRouteSegment.destContactMechId?if_exists}"/>
-                        <#if destPostalAddress?has_content><span class="tooltip">${uiLabelMap.CommonTo}: ${destPostalAddress.toName?if_exists},${uiLabelMap.CommonAttn}: ${destPostalAddress.attnName?if_exists}, ${destPostalAddress.address1?if_exists}, ${destPostalAddress.address2?if_exists}, ${destPostalAddress.city?if_exists}, ${destPostalAddress.stateProvinceGeoId?if_exists}, ${destPostalAddress.postalCode?if_exists}, ${destPostalAddress.countryGeoId?if_exists}</span></#if>
+                        <input type="text" size="15" name="destContactMechId" value="${shipmentRouteSegment.destContactMechId!}"/>
+                        <#if destPostalAddress?has_content><span class="tooltip">${uiLabelMap.CommonTo}: ${destPostalAddress.toName!},${uiLabelMap.CommonAttn}: ${destPostalAddress.attnName!}, ${destPostalAddress.address1!}, ${destPostalAddress.address2!}, ${destPostalAddress.city!}, ${destPostalAddress.stateProvinceGeoId!}, ${destPostalAddress.postalCode!}, ${destPostalAddress.countryGeoId!}</span></#if>
                     </div>
                     <div>
-                        <input type="text" size="15" name="originTelecomNumberId" value="${shipmentRouteSegment.originTelecomNumberId?if_exists}"/>
-                        <#if originTelecomNumber?has_content><span class="tooltip">${originTelecomNumber.countryCode?if_exists}  ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}</span></#if>
+                        <input type="text" size="15" name="originTelecomNumberId" value="${shipmentRouteSegment.originTelecomNumberId!}"/>
+                        <#if originTelecomNumber?has_content><span class="tooltip">${originTelecomNumber.countryCode!}  ${originTelecomNumber.areaCode!} ${originTelecomNumber.contactNumber!}</span></#if>
                     </div>
                     <div>
-                        <input type="text" size="15" name="destTelecomNumberId" value="${shipmentRouteSegment.destTelecomNumberId?if_exists}"/>
-                        <#if destTelecomNumber?has_content><span class="tooltip">${destTelecomNumber.countryCode?if_exists}  ${destTelecomNumber.areaCode?if_exists} ${destTelecomNumber.contactNumber?if_exists}</span></#if>
+                        <input type="text" size="15" name="destTelecomNumberId" value="${shipmentRouteSegment.destTelecomNumberId!}"/>
+                        <#if destTelecomNumber?has_content><span class="tooltip">${destTelecomNumber.countryCode!}  ${destTelecomNumber.areaCode!} ${destTelecomNumber.contactNumber!}</span></#if>
                     </div>
                     <div>
-                        <input type="text" size="15" name="thirdPartyAccountNumber" value="${shipmentRouteSegment.thirdPartyAccountNumber?if_exists}"/>
+                        <input type="text" size="15" name="thirdPartyAccountNumber" value="${shipmentRouteSegment.thirdPartyAccountNumber!}"/>
                     </div>
                     <div>
-                        <input type="text" size="15" name="thirdPartyPostalCode" value="${shipmentRouteSegment.thirdPartyPostalCode?if_exists}"/>
+                        <input type="text" size="15" name="thirdPartyPostalCode" value="${shipmentRouteSegment.thirdPartyPostalCode!}"/>
                     </div>
                     <div>
-                        <input type="text" size="15" name="thirdPartyCountryGeoCode" value="${shipmentRouteSegment.thirdPartyCountryGeoCode?if_exists}"/>
+                        <input type="text" size="15" name="thirdPartyCountryGeoCode" value="${shipmentRouteSegment.thirdPartyCountryGeoCode!}"/>
                     </div>
                 </div>
             </td>
             <td valign="top">
                 <div>
-                    <#if "UPS" == shipmentRouteSegment.carrierPartyId?if_exists>
-                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists>
+                    <#if "UPS" == shipmentRouteSegment.carrierPartyId!>
+                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId!>
                             <a href="javascript:document.upsShipmentConfirm_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductConfirmShipmentUps}</a>
                             <br />
                             ${uiLabelMap.ProductShipmentUpsResidential}:
                             <input type="checkbox" name="homeDeliveryType" value="Y" ${(shipmentRouteSegment.homeDeliveryType?has_content)?string("checked=\"checked\"","")} />
-                        <#elseif "SHRSCS_CONFIRMED" == shipmentRouteSegment.carrierServiceStatusId?if_exists>
+                        <#elseif "SHRSCS_CONFIRMED" == shipmentRouteSegment.carrierServiceStatusId!>
                             <a href="javascript:document.upsShipmentAccept_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductAcceptUpsShipmentConfirmation}</a>
                             <br />
                             <a href="javascript:document.upsVoidShipment_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductVoidUpsShipmentConfirmation}</a>
-                        <#elseif "SHRSCS_ACCEPTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists>
+                        <#elseif "SHRSCS_ACCEPTED" == shipmentRouteSegment.carrierServiceStatusId!>
                             <a href="javascript:document.upsTrackShipment_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductTrackUpsShipment}</a>
                             <br />
                             <a href="javascript:document.upsVoidShipment_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductVoidUpsShipment}</a>
                         </#if>
                     </#if>
-                    <#if "DHL" == shipmentRouteSegment.carrierPartyId?if_exists>
-                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists>
+                    <#if "DHL" == shipmentRouteSegment.carrierPartyId!>
+                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId!>
                             <a href="javascript:document.dhlShipmentConfirm_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductConfirmShipmentDHL}</a>
                         </#if>
                     </#if>
-                    <#if "FEDEX" == shipmentRouteSegment.carrierPartyId?if_exists>
-                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists>
+                    <#if "FEDEX" == shipmentRouteSegment.carrierPartyId!>
+                        <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId!>
                             <a href="javascript:document.fedexShipmentConfirm_${shipmentRouteSegmentData_index}.submit()" class="buttontext">${uiLabelMap.ProductConfirmShipmentFedex}</a>
                             <br />
-                            <#if shipmentMethodType?exists && shipmentMethodType.shipmentMethodTypeId=="GROUND_HOME">
+                            <#if shipmentMethodType?? && shipmentMethodType.shipmentMethodTypeId=="GROUND_HOME">
                                 <select name="homeDeliveryType">
                                     <option value="">${uiLabelMap.ProductShipmentNone}</option>
                                     <option ${(shipmentRouteSegment.homeDeliveryType?default("")=="DATECERTAIN")?string("selected=\"selected\"","")} value="DATECERTAIN">${uiLabelMap.ProductShipmentFedexHomeDateCertain}</option>
                                     <option ${(shipmentRouteSegment.homeDeliveryType?default("")=="EVENING")?string("selected=\"selected\"","")} value="EVENING">${uiLabelMap.ProductShipmentFedexHomeEvening}</option>
                                     <option ${(shipmentRouteSegment.homeDeliveryType?default("")=="APPOINTMENT")?string("selected=\"selected\"","")} value="APPOINTMENT">${uiLabelMap.ProductShipmentFedexHomeAppointment}</option>
                                 </select>
-                                <@htmlTemplate.renderDateTimeField name="homeDeliveryDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.homeDeliveryDate.toString())?if_exists}" size="25" maxlength="30" id="homeDeliveryDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                                <@htmlTemplate.renderDateTimeField name="homeDeliveryDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.homeDeliveryDate.toString())!}" size="25" maxlength="30" id="homeDeliveryDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                             </#if>
                         <#else>
                             <#-- Todo: implement closeout with Fedex -->
                             <#-- Todo: implement shipment cancellation with Fedex -->
                             <#-- Todo: implement shipment tracking with Fedex -->
                             ${shipmentRouteSegment.homeDeliveryType?default(uiLabelMap.ProductShipmentNone)}
-                            <#if shipmentRouteSegment.homeDeliveryDate?exists>
+                            <#if shipmentRouteSegment.homeDeliveryDate??>
                                 &nbsp;(${shipmentRouteSegment.homeDeliveryDate?string("yyyy-MM-dd")})
                             </#if>
                             <br />
@@ -228,17 +228,17 @@
                         </#list>
                     </select>
                     <br />
-                    <input type="text" size="24" name="trackingIdNumber" value="${shipmentRouteSegment.trackingIdNumber?if_exists}"/>
+                    <input type="text" size="24" name="trackingIdNumber" value="${shipmentRouteSegment.trackingIdNumber!}"/>
                     <br />
-                    <@htmlTemplate.renderDateTimeField name="estimatedStartDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists}" size="25" maxlength="30" id="estimatedStartDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                    <@htmlTemplate.renderDateTimeField name="estimatedArrivalDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.estimatedArrivalDate.toString())?if_exists}" size="25" maxlength="30" id="estimatedArrivalDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="estimatedStartDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.estimatedStartDate.toString())!}" size="25" maxlength="30" id="estimatedStartDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="estimatedArrivalDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.estimatedArrivalDate.toString())!}" size="25" maxlength="30" id="estimatedArrivalDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <br />
-                    <@htmlTemplate.renderDateTimeField name="actualStartDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.actualStartDate.toString())?if_exists}" size="25" maxlength="30" id="actualStartDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                    <@htmlTemplate.renderDateTimeField name="actualArrivalDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.actualArrivalDate.toString())?if_exists}" size="25" maxlength="30" id="actualArrivalDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="actualStartDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.actualStartDate.toString())!}" size="25" maxlength="30" id="actualStartDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="actualArrivalDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(shipmentRouteSegment.actualArrivalDate.toString())!}" size="25" maxlength="30" id="actualArrivalDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 </div>
             </td>
             <td valign="top">
-                <input type="text" size="5" name="billingWeight" value="${shipmentRouteSegment.billingWeight?if_exists}"/>
+                <input type="text" size="5" name="billingWeight" value="${shipmentRouteSegment.billingWeight!}"/>
                 <select name="billingWeightUomId">
                     <#if billingWeightUom?has_content>
                         <option value="${billingWeightUom.uomId}">${billingWeightUom.get("description",locale)} [${billingWeightUom.abbreviation}]</option>
@@ -263,13 +263,13 @@
                     </#list>
                 </select>
                 <br />
-                <input type="text" size="8" name="actualTransportCost" value="${shipmentRouteSegment.actualTransportCost?if_exists}"/>
+                <input type="text" size="8" name="actualTransportCost" value="${shipmentRouteSegment.actualTransportCost!}"/>
                 <br />
-                <input type="text" size="8" name="actualServiceCost" value="${shipmentRouteSegment.actualServiceCost?if_exists}"/>
+                <input type="text" size="8" name="actualServiceCost" value="${shipmentRouteSegment.actualServiceCost!}"/>
                 <br />
-                <input type="text" size="8" name="actualOtherCost" value="${shipmentRouteSegment.actualOtherCost?if_exists}"/>
+                <input type="text" size="8" name="actualOtherCost" value="${shipmentRouteSegment.actualOtherCost!}"/>
                 <br />
-                <input type="text" size="8" name="actualCost" value="${shipmentRouteSegment.actualCost?if_exists}"/>
+                <input type="text" size="8" name="actualCost" value="${shipmentRouteSegment.actualCost!}"/>
             </td>
         </tr>
         </form>
@@ -309,16 +309,16 @@
             <td valign="top">
                 <div>
                     <span class="label">${uiLabelMap.ProductPackage}</span> ${shipmentPackageRouteSeg.shipmentPackageSeqId}
-                    <#if shipmentPackageRouteSeg.labelImage?exists>
+                    <#if shipmentPackageRouteSeg.labelImage??>
                         <a href="javascript:document.viewShipmentPackageRouteSegLabelImage_${shipmentRouteSegmentData_index}_${shipmentPackageRouteSeg_index}.submit();" class="buttontext">${uiLabelMap.ProductViewLabelImage}</a>
                     </#if>
-                    <span class="label">${uiLabelMap.ProductTrack} ${uiLabelMap.CommonNbr}</span><input type="text" size="22" name="trackingCode" value="${shipmentPackageRouteSeg.trackingCode?if_exists}"/>
+                    <span class="label">${uiLabelMap.ProductTrack} ${uiLabelMap.CommonNbr}</span><input type="text" size="22" name="trackingCode" value="${shipmentPackageRouteSeg.trackingCode!}"/>
                 </div>
             </td>
             <td valign="top">
                <div>
                    <span class="label">${uiLabelMap.ProductBox} ${uiLabelMap.CommonNbr}</span>
-                   <input type="text" size="5" name="boxNumber" value="${shipmentPackageRouteSeg.boxNumber?if_exists}"/>
+                   <input type="text" size="5" name="boxNumber" value="${shipmentPackageRouteSeg.boxNumber!}"/>
                </div>
             </td>
             <td valign="top">
@@ -392,7 +392,7 @@
                         <select name="carrierPartyId">
                                 <option value="">&nbsp;</option>
                             <#list carrierPartyDatas as carrierPartyData>
-                                <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)?if_exists} ${(carrierPartyData.person.middleName)?if_exists} ${(carrierPartyData.person.lastName)?if_exists} ${(carrierPartyData.partyGroup.groupName)?if_exists} [${carrierPartyData.party.partyId}]</option>
+                                <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)!} ${(carrierPartyData.person.middleName)!} ${(carrierPartyData.person.lastName)!} ${(carrierPartyData.partyGroup.groupName)!} [${carrierPartyData.party.partyId}]</option>
                             </#list>
                         </select>
                         <select name="shipmentMethodTypeId">
@@ -424,7 +424,7 @@
                 <td valign="top">
                     <select name="carrierServiceStatusId">
                         <option value="">&nbsp;</option>
-                        <#list carrierServiceStatusValidChangeToDetails?if_exists as carrierServiceStatusValidChangeToDetail>
+                        <#list carrierServiceStatusValidChangeToDetails! as carrierServiceStatusValidChangeToDetail>
                             <option value="${carrierServiceStatusValidChangeToDetail.statusIdTo}">${carrierServiceStatusValidChangeToDetail.transitionName} [${carrierServiceStatusValidChangeToDetail.description}]</option>
                         </#list>
                     </select>
@@ -438,7 +438,7 @@
                     <@htmlTemplate.renderDateTimeField name="actualArrivalDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="actualArrivalDate3" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 </td>
                 <td valign="top">
-                    <input type="text" size="5" name="billingWeight" value="${(shipmentRouteSegment.billingWeight)?if_exists}"/>
+                    <input type="text" size="5" name="billingWeight" value="${(shipmentRouteSegment.billingWeight)!}"/>
                     <select name="billingWeightUomId">
                         <option value="">&nbsp;</option>
                         <#list weightUoms as weightUom>
@@ -470,7 +470,7 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
-            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId?if_exists}]</li>
+            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId!}]</li>
         </ul>
         <br class="clear"/>
     </div>
Index: applications/product/webapp/facility/shipment/FindShipment.ftl
===================================================================
--- applications/product/webapp/facility/shipment/FindShipment.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/FindShipment.ftl	(working copy)
@@ -48,7 +48,7 @@
               <tr>
                 <td width="25%" align="right" class="label">${uiLabelMap.ProductShipmentId}</td>
                 <td width="5%">&nbsp;</td>
-                <td><input type="text" name="shipmentId" value="${shipmentId?if_exists}" /></td>
+                <td><input type="text" name="shipmentId" value="${shipmentId!}" /></td>
               </tr>
               <tr>
                 <td width="25%" align="right" class="label">${uiLabelMap.ProductShipmentType}</td>
@@ -133,13 +133,13 @@
                   <table cellspacing="0" class="basic-table">
                     <tr>
                       <td>
-                        <@htmlTemplate.renderDateTimeField name="minDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.minDate?if_exists}" size="25" maxlength="30" id="minDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <@htmlTemplate.renderDateTimeField name="minDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.minDate!}" size="25" maxlength="30" id="minDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         <span class="label">${uiLabelMap.CommonFrom}</span>
                       </td>
                     </tr>
                     <tr>
                       <td>
-                        <@htmlTemplate.renderDateTimeField name="maxDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.maxDate?if_exists}" size="25" maxlength="30" id="maxDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <@htmlTemplate.renderDateTimeField name="maxDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.maxDate!}" size="25" maxlength="30" id="maxDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         <span class="label">${uiLabelMap.CommonThru}</span>
                       </td>
                     </tr>
@@ -150,7 +150,7 @@
         </form>
     </div>
 </div>
-<#if shipmentList?exists>
+<#if shipmentList??>
 <div id="findOrders_2" class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -185,17 +185,17 @@
         <#if shipmentList?has_content>
           <#assign alt_row = false>
           <#list shipmentList as shipment>
-            <#assign originFacility = delegator.findOne("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", shipment.originFacilityId), true)?if_exists />
-            <#assign destinationFacility = delegator.findOne("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", shipment.destinationFacilityId), true)?if_exists />
-            <#assign statusItem = delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", shipment.statusId), true)?if_exists/>
-            <#assign shipmentType = delegator.findOne("ShipmentType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentTypeId", shipment.shipmentTypeId), true)?if_exists/>
+            <#assign originFacility = delegator.findOne("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", shipment.originFacilityId), true)! />
+            <#assign destinationFacility = delegator.findOne("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", shipment.destinationFacilityId), true)! />
+            <#assign statusItem = delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", shipment.statusId), true)!/>
+            <#assign shipmentType = delegator.findOne("ShipmentType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentTypeId", shipment.shipmentTypeId), true)!/>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td><a href="<@ofbizUrl>ViewShipment?shipmentId=${shipment.shipmentId}</@ofbizUrl>" class="buttontext">${shipment.shipmentId}</a></td>
               <td>${(shipmentType.get("description",locale))?default(shipmentType.shipmentTypeId?default(""))}</td>
               <td>${(statusItem.get("description",locale))?default(statusItem.statusId?default("N/A"))}</td>
-              <td>${(originFacility.facilityName)?if_exists} [${shipment.originFacilityId?if_exists}]</td>
-              <td>${(destinationFacility.facilityName)?if_exists} [${shipment.destinationFacilityId?if_exists}]</td>
-              <td><span style="white-space: nowrap;">${(shipment.estimatedShipDate.toString())?if_exists}</span></td>
+              <td>${(originFacility.facilityName)!} [${shipment.originFacilityId!}]</td>
+              <td>${(destinationFacility.facilityName)!} [${shipment.destinationFacilityId!}]</td>
+              <td><span style="white-space: nowrap;">${(shipment.estimatedShipDate.toString())!}</span></td>
               <td align="right">
                 <a href="<@ofbizUrl>ViewShipment?shipmentId=${shipment.shipmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonView}</a>
               </td>
Index: applications/product/webapp/facility/shipment/QuickShipOrder.ftl
===================================================================
--- applications/product/webapp/facility/shipment/QuickShipOrder.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/QuickShipOrder.ftl	(working copy)
@@ -24,7 +24,7 @@
 </script>
 
 <#if security.hasEntityPermission("FACILITY", "_VIEW", session)>
-  <h1>${uiLabelMap.ProductQuickShipOrderFrom} ${facility.facilityName?if_exists} [${uiLabelMap.CommonId}:${facilityId?if_exists}]</h1>
+  <h1>${uiLabelMap.ProductQuickShipOrderFrom} ${facility.facilityName!} [${uiLabelMap.CommonId}:${facilityId!}]</h1>
   <div class="button-bar">
     <a href="<@ofbizUrl>quickShipOrder?facilityId=${facilityId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductNextShipment}</a>
     <#if shipment?has_content>
@@ -32,26 +32,26 @@
     </#if>
   </div>
 
-  <#if shipment?exists>
+  <#if shipment??>
     <#if 1 < shipmentPackages.size()>
       <#-- multiple packages -->
       <div><font color="red">${uiLabelMap.ProductMorePackageFoundShipment}.</font></div>
     <#else>
       <#-- single package -->
-      <#assign shipmentPackage = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(shipmentPackages))?if_exists>
+      <#assign shipmentPackage = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(shipmentPackages))!>
       <#if shipmentPackage?has_content>
         <#assign weight = (shipmentPackage.weight)?default(0.00)>
-        <#if (0 < weight?double) && !requestParameters.reweigh?exists>
+        <#if (0 < weight?double) && !requestParameters.reweigh??>
           <#if 1 < shipmentRoutes.size()>
             <#-- multiple routes -->
             <div><font color="red">${uiLabelMap.ProductMoreRouteSegmentFound}.</font></div>
-          <#elseif !requestParameters.shipmentRouteSegmentId?exists || requestAttributes._ERROR_MESSAGE_?exists>
+          <#elseif !requestParameters.shipmentRouteSegmentId?? || requestAttributes._ERROR_MESSAGE_??>
             <form name="routeForm" method="post" action="<@ofbizUrl>setQuickRouteInfo</@ofbizUrl>">
-              <#assign shipmentRoute = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(shipmentRoutes))?if_exists>
-              <#assign carrierPerson = (shipmentRoute.getRelatedOne("CarrierPerson", false))?if_exists>
-              <#assign carrierPartyGroup = (shipmentRoute.getRelatedOne("CarrierPartyGroup", false))?if_exists>
-              <#assign shipmentMethodType = (shipmentRoute.getRelatedOne("ShipmentMethodType", false))?if_exists>
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+              <#assign shipmentRoute = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(shipmentRoutes))!>
+              <#assign carrierPerson = (shipmentRoute.getRelatedOne("CarrierPerson", false))!>
+              <#assign carrierPartyGroup = (shipmentRoute.getRelatedOne("CarrierPartyGroup", false))!>
+              <#assign shipmentMethodType = (shipmentRoute.getRelatedOne("ShipmentMethodType", false))!>
+              <input type="hidden" name="facilityId" value="${facilityId!}"/>
               <input type="hidden" name="shipmentId" value="${shipmentRoute.shipmentId}"/>
               <input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRoute.shipmentRouteSegmentId}"/>
               <table border="0" cellpadding="2" cellspacing="0">
@@ -61,13 +61,13 @@
                   <td width="1%" nowrap="nowrap">
                     <select name="carrierPartyId">
                       <#if shipmentRoute.carrierPartyId?has_content>
-                        <option value="${shipmentRoute.carrierPartyId}">${(carrierPerson.firstName)?if_exists} ${(carrierPerson.middleName)?if_exists} ${(carrierPerson.lastName)?if_exists} ${(carrierPartyGroup.groupName)?if_exists} [${shipmentRoute.carrierPartyId}]</option>
+                        <option value="${shipmentRoute.carrierPartyId}">${(carrierPerson.firstName)!} ${(carrierPerson.middleName)!} ${(carrierPerson.lastName)!} ${(carrierPartyGroup.groupName)!} [${shipmentRoute.carrierPartyId}]</option>
                         <option value="${shipmentRoute.carrierPartyId}">---</option>
                       <#else>
                         <option value="">&nbsp;</option>
                       </#if>
                       <#list carrierPartyDatas as carrierPartyData>
-                        <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)?if_exists} ${(carrierPartyData.person.middleName)?if_exists} ${(carrierPartyData.person.lastName)?if_exists} ${(carrierPartyData.partyGroup.groupName)?if_exists} [${carrierPartyData.party.partyId}]</option>
+                        <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)!} ${(carrierPartyData.person.middleName)!} ${(carrierPartyData.person.lastName)!} ${(carrierPartyData.partyGroup.groupName)!} [${carrierPartyData.party.partyId}]</option>
                       </#list>
                     </select>
                   </td>
@@ -123,8 +123,8 @@
           </#if>
         <#else>
           <form name="weightForm" method="post" action="<@ofbizUrl>setQuickPackageWeight</@ofbizUrl>">
-            <#assign weightUom = shipmentPackage.getRelatedOne("WeightUom", false)?if_exists>
-            <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+            <#assign weightUom = shipmentPackage.getRelatedOne("WeightUom", false)!>
+            <input type="hidden" name="facilityId" value="${facilityId!}"/>
             <input type="hidden" name="shipmentId" value="${shipmentPackage.shipmentId}"/>
             <input type="hidden" name="shipmentPackageSeqId" value="${shipmentPackage.shipmentPackageSeqId}"/>
             <table cellspacing="0" class="basic-table">
@@ -176,15 +176,15 @@
     </#if>
   <#else>
     <form name="selectOrderForm" method="post" action="<@ofbizUrl>createQuickShipment</@ofbizUrl>">
-      <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
-      <input type="hidden" name="originFacilityId" value="${facilityId?if_exists}" />
+      <input type="hidden" name="facilityId" value="${facilityId!}" />
+      <input type="hidden" name="originFacilityId" value="${facilityId!}" />
       <input type="hidden" name="setPackedOnly" value="Y" />
       <table border='0' cellpadding='2' cellspacing='0'>
         <tr>
           <td width="25%" align='right'><span class="label">${uiLabelMap.ProductOrderNumber}</span></td>
           <td width="1">&nbsp;</td>
           <td width="25%">
-            <input type="text" name="orderId" size="20" maxlength="20" value="${requestParameters.orderId?if_exists}" />
+            <input type="text" name="orderId" size="20" maxlength="20" value="${requestParameters.orderId!}" />
           </td>
           <td>&nbsp;</td>
         </tr>
Index: applications/product/webapp/facility/shipment/EditShipmentPackages.ftl
===================================================================
--- applications/product/webapp/facility/shipment/EditShipmentPackages.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/EditShipmentPackages.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if shipment?exists>
+<#if shipment??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -38,18 +38,18 @@
         <#assign alt_row = false>
         <#list shipmentPackageDatas as shipmentPackageData>
             <#assign shipmentPackage = shipmentPackageData.shipmentPackage>
-            <#assign shipmentPackageContents = shipmentPackageData.shipmentPackageContents?if_exists>
-            <#assign shipmentPackageRouteSegs = shipmentPackageData.shipmentPackageRouteSegs?if_exists>
-            <#assign weightUom = shipmentPackageData.weightUom?if_exists>
+            <#assign shipmentPackageContents = shipmentPackageData.shipmentPackageContents!>
+            <#assign shipmentPackageRouteSegs = shipmentPackageData.shipmentPackageRouteSegs!>
+            <#assign weightUom = shipmentPackageData.weightUom!>
             <form method="post" action="<@ofbizUrl>updateShipmentPackage</@ofbizUrl>" name="updateShipmentPackageForm${shipmentPackageData_index}">
             <input type="hidden" name="shipmentId" value="${shipmentId}"/>
             <input type="hidden" name="shipmentPackageSeqId" value="${shipmentPackage.shipmentPackageSeqId}"/>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>${shipmentPackage.shipmentPackageSeqId}</td>
-                <td>${(shipmentPackage.dateCreated.toString())?if_exists}</td>
+                <td>${(shipmentPackage.dateCreated.toString())!}</td>
                 <td>
                     <span class="label">${uiLabelMap.ProductWeight}</span>
-                    <input type="text" size="5" name="weight" value="${shipmentPackage.weight?if_exists}"/>
+                    <input type="text" size="5" name="weight" value="${shipmentPackage.weight!}"/>
                     <span class="label">${uiLabelMap.ProductWeightUnit}</span>
                     <select name="weightUomId">
                         <#if weightUom?has_content>
@@ -68,11 +68,11 @@
                     <select name="shipmentBoxTypeId">
                         <option value="">&nbsp;</option>
                         <#list boxTypes as boxType>
-                            <option value="${boxType.shipmentBoxTypeId}" <#if shipmentPackage.shipmentBoxTypeId?exists && shipmentPackage.shipmentBoxTypeId == boxType.shipmentBoxTypeId>selected="selected"</#if>>${boxType.get("description",locale)}</option>
+                            <option value="${boxType.shipmentBoxTypeId}" <#if shipmentPackage.shipmentBoxTypeId?? && shipmentPackage.shipmentBoxTypeId == boxType.shipmentBoxTypeId>selected="selected"</#if>>${boxType.get("description",locale)}</option>
                         </#list>
                     </select>
                     <span class="label">${uiLabelMap.ProductShipmentInsuredValuePackage}</span>
-                    <input type="text" size="5" name="insuredValue" value="${shipmentPackage.insuredValue?if_exists}"/>
+                    <input type="text" size="5" name="insuredValue" value="${shipmentPackage.insuredValue!}"/>
                 </td>
                 <td><a href="javascript:document.updateShipmentPackageForm${shipmentPackageData_index}.submit();" class="buttontext">${uiLabelMap.CommonUpdate}</a></td>
                 <td><a href="javascript:document.deleteShipmentPackage_${shipmentPackageData_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a></td>
@@ -89,7 +89,7 @@
                 <td colspan="2">
                     <div>
                         <span class="label">${uiLabelMap.ProductQuantity}</span>
-                        ${shipmentPackageContent.quantity?if_exists}
+                        ${shipmentPackageContent.quantity!}
                         <a href="javascript:document.deleteShipmentPackageContent${shipmentPackageData_index}${shipmentPackageContent_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
                     </div>
                 </td>
@@ -136,11 +136,11 @@
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>&nbsp;</td>
                 <td><span class="label">${uiLabelMap.ProductRouteSegment}</span> ${shipmentPackageRouteSeg.shipmentRouteSegmentId}</td>
-                <td><span class="label">${uiLabelMap.ProductTrack}</span> <input type="text" size="22" name="trackingCode" value="${shipmentPackageRouteSeg.trackingCode?if_exists}"/></td>
+                <td><span class="label">${uiLabelMap.ProductTrack}</span> <input type="text" size="22" name="trackingCode" value="${shipmentPackageRouteSeg.trackingCode!}"/></td>
                 <td colspan="2">
                     <div>
                         <span class="label">${uiLabelMap.ProductBox}</span>
-                        <input type="text" size="5" name="boxNumber" value="${shipmentPackageRouteSeg.boxNumber?if_exists}"/>
+                        <input type="text" size="5" name="boxNumber" value="${shipmentPackageRouteSeg.boxNumber!}"/>
                         <a href="javascript:document.updateShipmentPackageRouteSegForm${shipmentPackageData_index}${shipmentPackageRouteSeg_index}.submit();" class="buttontext">${uiLabelMap.CommonUpdate}</a>
                         <a href="javascript:document.deleteShipmentPackageRouteSeg${shipmentPackageData_index}${shipmentPackageRouteSeg_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
                     </div>
@@ -205,7 +205,7 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
-            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId?if_exists}]</li>
+            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId!}]</li>
         </ul>
         <br class="clear"/>
     </div>
Index: applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl
===================================================================
--- applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl	(working copy)
@@ -20,7 +20,7 @@
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
-      <li class="h3">${uiLabelMap.ProductIssueInventoryItemsToShipment}: [${shipmentId?if_exists}]</li>
+      <li class="h3">${uiLabelMap.ProductIssueInventoryItemsToShipment}: [${shipmentId!}]</li>
     </ul>
   </div>
   <div class="screenlet-body">
@@ -38,7 +38,7 @@
       <#list items as item>
         <tr>
           <td><a href="/ordermgr/control/returnMain?returnId=${item.returnId}" class="buttontext">${item.returnId}</a> [${item.returnItemSeqId}]</td>
-          <td><a href="/catalog/control/EditProductInventoryItems?productId=${item.productId}" class="buttontext">${item.productId}</a> ${item.internalName?if_exists}</td>
+          <td><a href="/catalog/control/EditProductInventoryItems?productId=${item.productId}" class="buttontext">${item.productId}</a> ${item.internalName!}</td>
           <td>${item.returnQuantity}</td>
           <td>${item.shipmentItemQty}</td>
           <td>${item.totalQtyIssued}</td>
Index: applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if shipment?exists>
+<#if shipment??>
 
     <#-- JS to populate the quantity_o_# field required by the chained issueOrderItemToShipment service -->
     <script type="text/javascript">
@@ -31,7 +31,7 @@
       }
     </script>
 
-    <#assign productId = parameters.productId?if_exists/>
+    <#assign productId = parameters.productId!/>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -45,26 +45,26 @@
         <div class="errorMessage">
             <#assign uiLabelWithVar=uiLabelMap.ProductErrorShipmentNotPurchaseShipment?interpret><@uiLabelWithVar/>
         </div>
-    <#elseif orderId?has_content && !orderHeader?exists>
+    <#elseif orderId?has_content && !orderHeader??>
         <div class="errorMessage">
             <#assign uiLabelWithVar=uiLabelMap.ProductErrorOrderIdNotFound?interpret><@uiLabelWithVar/>
         </div>
-    <#elseif orderHeader?exists && orderHeader.orderTypeId != "PURCHASE_ORDER">
+    <#elseif orderHeader?? && orderHeader.orderTypeId != "PURCHASE_ORDER">
         <div class="errorMessage">
             <#assign uiLabelWithVar=uiLabelMap.ProductErrorOrderNotPurchaseOrder?interpret><@uiLabelWithVar/>
         </div>
-    <#elseif ProductReceiveInventoryAgainstPurchaseOrderProductNotFound?exists>
+    <#elseif ProductReceiveInventoryAgainstPurchaseOrderProductNotFound??>
         <div class="errorMessage">
             <#assign uiLabelWithVar=uiLabelMap.ProductReceiveInventoryAgainstPurchaseOrderProductNotFound?interpret><@uiLabelWithVar/>
             <script type="text/javascript">window.onload=function(){showErrorAlert("${uiLabelMap.CommonErrorMessage2}","<@uiLabelWithVar/>");};</script>
         </div>
-    <#elseif ProductReceiveInventoryAgainstPurchaseOrderQuantityExceedsAvailableToReceive?exists>
+    <#elseif ProductReceiveInventoryAgainstPurchaseOrderQuantityExceedsAvailableToReceive??>
         <div class="errorMessage">
             <#assign uiLabelWithVar=uiLabelMap.ProductReceiveInventoryAgainstPurchaseOrderQuantityExceedsAvailableToReceive?interpret><@uiLabelWithVar/>
             <script type="text/javascript">window.onload=function(){showErrorAlert("${uiLabelMap.CommonErrorMessage2}","<@uiLabelWithVar/>");};</script>
         </div>
     </#if>
-    <#if ProductReceiveInventoryAgainstPurchaseOrderQuantityGoesToBackOrder?exists>
+    <#if ProductReceiveInventoryAgainstPurchaseOrderQuantityGoesToBackOrder??>
         <div class="errorMessage" style="color:green">
             <#assign uiLabelWithVar=uiLabelMap.ProductReceiveInventoryAgainstPurchaseOrderQuantityGoesToBackOrder?interpret><@uiLabelWithVar/>
             <script type="text/javascript">window.onload=function(){showErrorAlert("${uiLabelMap.CommonErrorMessage2}","<@uiLabelWithVar/>");};</script>
@@ -75,21 +75,21 @@
 <form name="ReceiveInventoryAgainstPurchaseOrder" action="<@ofbizUrl>ReceiveInventoryAgainstPurchaseOrder</@ofbizUrl>">
     <input type="hidden" name="clearAll" value="Y"/>
     <div>
-        <span class="label">${uiLabelMap.ProductShipmentId}</span>&nbsp;<input type="text" size="20" name="shipmentId" value="${shipmentId?if_exists}"/>
+        <span class="label">${uiLabelMap.ProductShipmentId}</span>&nbsp;<input type="text" size="20" name="shipmentId" value="${shipmentId!}"/>
         <span class="label">${uiLabelMap.ProductOrderId}</span>&nbsp;
         <span>
-            <@htmlTemplate.lookupField value="${orderId?if_exists}" formName="ReceiveInventoryAgainstPurchaseOrder" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupOrderHeaderAndShipInfo"/>
+            <@htmlTemplate.lookupField value="${orderId!}" formName="ReceiveInventoryAgainstPurchaseOrder" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupOrderHeaderAndShipInfo"/>
         </span>
-        <span class="label">${uiLabelMap.ProductOrderShipGroupId}</span>&nbsp;<input type="text" size="20" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
+        <span class="label">${uiLabelMap.ProductOrderShipGroupId}</span>&nbsp;<input type="text" size="20" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
         <input type="submit" value="${uiLabelMap.CommonSelect}" class="smallSubmit"/>
     </div>
 </form>
 
-<#if shipment?exists>
+<#if shipment??>
     <#if isPurchaseShipment>
 
         <#assign itemsAvailableToReceive = totalAvailableToReceive?default(0) &gt; 0/>
-        <#if orderItemDatas?exists>
+        <#if orderItemDatas??>
             <br />
             <#assign rowCount = 0>
             <#assign totalReadyToReceive = 0/>
@@ -119,22 +119,22 @@
                         </#if>
                     </tr>
                     <#assign alt_row = false>
-                    <#list orderItemDatas?if_exists as orderItemData>
+                    <#list orderItemDatas! as orderItemData>
                         <#assign orderItem = orderItemData.orderItem>
-                        <#assign product = orderItemData.product?if_exists>
-                        <#assign itemShipGroupSeqId = orderItemData.shipGroupSeqId?if_exists>
+                        <#assign product = orderItemData.product!>
+                        <#assign itemShipGroupSeqId = orderItemData.shipGroupSeqId!>
                         <#assign totalQuantityReceived = orderItemData.totalQuantityReceived?default(0)>
                         <#assign availableToReceive = orderItemData.availableToReceive?default(0)>
                         <#assign backOrderedQuantity = orderItemData.backOrderedQuantity?default(0)>
                         <#assign fulfilledReservations = orderItemData.fulfilledReservations>
                         <tr id="orderItemData_tableRow_${rowCount}" valign="middle"<#if alt_row> class="alternate-row"</#if>>
-                            <td>${(product.internalName)?if_exists} [${orderItem.productId?default("N/A")}]</div></td>
+                            <td>${(product.internalName)!} [${orderItem.productId?default("N/A")}]</div></td>
                             <td>
                                 <div>
                                     <#assign upcaLookup = Static["org.ofbiz.base.util.UtilMisc"].toMap("productId", product.productId, "goodIdentificationTypeId", "UPCA")/>
-                                    <#assign upca = delegator.findOne("GoodIdentification", upcaLookup, true)?if_exists/>
+                                    <#assign upca = delegator.findOne("GoodIdentification", upcaLookup, true)!/>
                                     <#if upca?has_content>
-                                        ${upca.idValue?if_exists}
+                                        ${upca.idValue!}
                                     </#if>
                                 </div>
                             </td>
@@ -158,20 +158,20 @@
                             </td>
                             <#if availableToReceive &gt; 0 >
                                 <td>
-                                    <input type="hidden" name="productId_o_${rowCount}" value="${(product.productId)?if_exists}"/>
+                                    <input type="hidden" name="productId_o_${rowCount}" value="${(product.productId)!}"/>
                                     <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId}"/>
                                     <input type="hidden" name="shipmentId_o_${rowCount}" value="${shipmentId}"/>
                                     <input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
-                                    <input type="hidden" name="shipGroupSeqId_o_${rowCount}" value="${itemShipGroupSeqId?if_exists}"/>
+                                    <input type="hidden" name="shipGroupSeqId_o_${rowCount}" value="${itemShipGroupSeqId!}"/>
                                     <input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>
                                     <input type="hidden" name="unitCost_o_${rowCount}" value="${orderItem.unitPrice?default(0)}"/>
                                     <input type="hidden" name="currencyUomId_o_${rowCount}" value="${currencyUomId?default("")}"/>
-                                    <input type="hidden" name="ownerPartyId_o_${rowCount}" value="${(facility.ownerPartyId)?if_exists}"/>
+                                    <input type="hidden" name="ownerPartyId_o_${rowCount}" value="${(facility.ownerPartyId)!}"/>
                                     <input type="hidden" name="datetimeReceived_o_${rowCount}" value="${now}"/>
                                     <input type="hidden" name="quantityRejected_o_${rowCount}" value="0"/>
                                     <#-- quantity field required by the chained issueOrderItemToShipment service -->
                                     <input type="hidden" name="quantity_o_${rowCount}" id="quantity_o_${rowCount}" value=""/>
-                                    <#if itemQuantitiesToReceive?exists && itemQuantitiesToReceive.get(orderItem.orderItemSeqId)?exists>
+                                    <#if itemQuantitiesToReceive?? && itemQuantitiesToReceive.get(orderItem.orderItemSeqId)??>
                                         <#assign quantityToReceive = itemQuantitiesToReceive.get(orderItem.orderItemSeqId)>
                                     <#else>
                                         <#assign quantityToReceive = 0>
@@ -243,5 +243,5 @@
     </div>
 </div>
 <#elseif parameters.shipmentId?has_content>
-  <h3>${uiLabelMap.ProductShipmentNotFoundId}: [${shipmentId?if_exists}]</h3>
+  <h3>${uiLabelMap.ProductShipmentNotFoundId}: [${shipmentId!}]</h3>
 </#if>
Index: applications/product/webapp/facility/shipment/ViewShipmentInfo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ViewShipmentInfo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ViewShipmentInfo.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if shipment?exists>
+<#if shipment??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -32,94 +32,94 @@
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductShipmentType}</td>
-            <td width="80%">${(shipmentType.get("description",locale))?default(shipment.shipmentTypeId?if_exists)}</td>
+            <td width="80%">${(shipmentType.get("description",locale))?default(shipment.shipmentTypeId!)}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.CommonStatus}</td>
-            <td width="80%">${(statusItem.get("description",locale))?default(shipment.statusId?if_exists)}</td>
+            <td width="80%">${(statusItem.get("description",locale))?default(shipment.statusId!)}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductPrimaryOrderId}</td>
-            <td width="80%"><#if shipment.primaryOrderId?exists><a href="/ordermgr/control/orderview?orderId=${shipment.primaryOrderId}" class="buttontext">${shipment.primaryOrderId}</a></#if></td>
+            <td width="80%"><#if shipment.primaryOrderId??><a href="/ordermgr/control/orderview?orderId=${shipment.primaryOrderId}" class="buttontext">${shipment.primaryOrderId}</a></#if></td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductPrimaryReturnId}</td>
-            <td width="80%"><#if shipment.primaryReturnId?exists><a href="/ordermgr/control/returnMain?returnId=${shipment.primaryReturnId}" class="buttontext">${shipment.primaryReturnId}</a></#if></td>
+            <td width="80%"><#if shipment.primaryReturnId??><a href="/ordermgr/control/returnMain?returnId=${shipment.primaryReturnId}" class="buttontext">${shipment.primaryReturnId}</a></#if></td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductPrimaryShipGroupSeqId}</td>
-            <td width="80%">${shipment.primaryShipGroupSeqId?if_exists}</td>
+            <td width="80%">${shipment.primaryShipGroupSeqId!}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductEstimatedDates}</td>
             <td width="80%">
               <span>
-                <span>${uiLabelMap.CommonReady}:&nbsp;</span>${(shipment.estimatedReadyDate.toString())?if_exists}
-                <span>${uiLabelMap.ProductEstimatedShipDate}:&nbsp;</span>${(shipment.estimatedShipDate.toString())?if_exists}
-                <span>${uiLabelMap.ProductArrival}:&nbsp;</span>${(shipment.estimatedArrivalDate.toString())?if_exists}
+                <span>${uiLabelMap.CommonReady}:&nbsp;</span>${(shipment.estimatedReadyDate.toString())!}
+                <span>${uiLabelMap.ProductEstimatedShipDate}:&nbsp;</span>${(shipment.estimatedShipDate.toString())!}
+                <span>${uiLabelMap.ProductArrival}:&nbsp;</span>${(shipment.estimatedArrivalDate.toString())!}
               </span>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductLatestCancelDate}</td>
-            <td width="80%">${(shipment.latestCancelDate.toString())?if_exists}</td>
+            <td width="80%">${(shipment.latestCancelDate.toString())!}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductEstimatedShipCost}</td>
-            <td width="80%">${(shipment.estimatedShipCost)?if_exists}</td>
+            <td width="80%">${(shipment.estimatedShipCost)!}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductAdditionalShippingCharge}</td>
             <td width="80%">
-                <#if shipment.additionalShippingCharge?exists>
-                    <@ofbizCurrency amount=shipment.additionalShippingCharge isoCode=shipment.currencyUomId?if_exists />
+                <#if shipment.additionalShippingCharge??>
+                    <@ofbizCurrency amount=shipment.additionalShippingCharge isoCode=shipment.currencyUomId! />
                 </#if>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductHandlingInstructions}</td>
-            <td width="80%">${shipment.handlingInstructions?if_exists}</td>
+            <td width="80%">${shipment.handlingInstructions!}</td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductFacilities}</td>
             <td width="80%">
-              <div>${uiLabelMap.ProductOrigin}:&nbsp;${(originFacility.facilityName)?if_exists}&nbsp;[${(shipment.originFacilityId?if_exists)}]</div>
-              <div>${uiLabelMap.ProductDestination}:&nbsp;${(destinationFacility.facilityName)?if_exists}&nbsp;[${(shipment.destinationFacilityId?if_exists)}]</div>
+              <div>${uiLabelMap.ProductOrigin}:&nbsp;${(originFacility.facilityName)!}&nbsp;[${(shipment.originFacilityId!)}]</div>
+              <div>${uiLabelMap.ProductDestination}:&nbsp;${(destinationFacility.facilityName)!}&nbsp;[${(shipment.destinationFacilityId!)}]</div>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.PartyParties}</td>
             <td width="80%">
               <span>
-                <span>${uiLabelMap.CommonTo}:&nbsp;${(toPerson.firstName)?if_exists} ${(toPerson.middleName)?if_exists} ${(toPerson.lastName)?if_exists} ${(toPartyGroup.groupName)?if_exists} [${shipment.partyIdTo?if_exists}]</span>
-                <span>${uiLabelMap.CommonFrom}:&nbsp;${(fromPerson.firstName)?if_exists} ${(fromPerson.middleName)?if_exists} ${(fromPerson.lastName)?if_exists} ${(fromPartyGroup.groupName)?if_exists} [${shipment.partyIdFrom?if_exists}]</span>
+                <span>${uiLabelMap.CommonTo}:&nbsp;${(toPerson.firstName)!} ${(toPerson.middleName)!} ${(toPerson.lastName)!} ${(toPartyGroup.groupName)!} [${shipment.partyIdTo!}]</span>
+                <span>${uiLabelMap.CommonFrom}:&nbsp;${(fromPerson.firstName)!} ${(fromPerson.middleName)!} ${(fromPerson.lastName)!} ${(fromPartyGroup.groupName)!} [${shipment.partyIdFrom!}]</span>
               </span>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductAddresses}</td>
             <td width="80%">
-              <div>${uiLabelMap.ProductOrigin}:&nbsp;${shipment.originContactMechId?if_exists}&nbsp;<#if originPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${originPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${originPostalAddress.attnName?if_exists}, ${originPostalAddress.address1?if_exists}, ${originPostalAddress.address2?if_exists}, ${originPostalAddress.city?if_exists}, ${originPostalAddress.stateProvinceGeoId?if_exists}, ${originPostalAddress.postalCode?if_exists}, ${originPostalAddress.countryGeoId?if_exists}]</#if></div>
-              <div>${uiLabelMap.ProductDestination}:&nbsp;${shipment.destinationContactMechId?if_exists}&nbsp;<#if destinationPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${destinationPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${destinationPostalAddress.attnName?if_exists}, ${destinationPostalAddress.address1?if_exists}, ${destinationPostalAddress.address2?if_exists}, ${destinationPostalAddress.city?if_exists}, ${destinationPostalAddress.stateProvinceGeoId?if_exists}, ${destinationPostalAddress.postalCode?if_exists}, ${destinationPostalAddress.countryGeoId?if_exists}]</#if></div>
+              <div>${uiLabelMap.ProductOrigin}:&nbsp;${shipment.originContactMechId!}&nbsp;<#if originPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${originPostalAddress.toName!}, ${uiLabelMap.CommonAttn} : ${originPostalAddress.attnName!}, ${originPostalAddress.address1!}, ${originPostalAddress.address2!}, ${originPostalAddress.city!}, ${originPostalAddress.stateProvinceGeoId!}, ${originPostalAddress.postalCode!}, ${originPostalAddress.countryGeoId!}]</#if></div>
+              <div>${uiLabelMap.ProductDestination}:&nbsp;${shipment.destinationContactMechId!}&nbsp;<#if destinationPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${destinationPostalAddress.toName!}, ${uiLabelMap.CommonAttn} : ${destinationPostalAddress.attnName!}, ${destinationPostalAddress.address1!}, ${destinationPostalAddress.address2!}, ${destinationPostalAddress.city!}, ${destinationPostalAddress.stateProvinceGeoId!}, ${destinationPostalAddress.postalCode!}, ${destinationPostalAddress.countryGeoId!}]</#if></div>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.ProductPhoneNumbers}</td>
             <td width="80%">
-              <div>${uiLabelMap.ProductOrigin}:&nbsp;${shipment.originTelecomNumberId?if_exists}&nbsp;<#if originTelecomNumber?has_content>[${originTelecomNumber.countryCode?if_exists}  ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}]</#if></div>
-              <div>${uiLabelMap.ProductDestination}:&nbsp;${shipment.destinationTelecomNumberId?if_exists}&nbsp;<#if destinationTelecomNumber?has_content>[${destinationTelecomNumber.countryCode?if_exists}  ${destinationTelecomNumber.areaCode?if_exists} ${destinationTelecomNumber.contactNumber?if_exists}]</#if></div>
+              <div>${uiLabelMap.ProductOrigin}:&nbsp;${shipment.originTelecomNumberId!}&nbsp;<#if originTelecomNumber?has_content>[${originTelecomNumber.countryCode!}  ${originTelecomNumber.areaCode!} ${originTelecomNumber.contactNumber!}]</#if></div>
+              <div>${uiLabelMap.ProductDestination}:&nbsp;${shipment.destinationTelecomNumberId!}&nbsp;<#if destinationTelecomNumber?has_content>[${destinationTelecomNumber.countryCode!}  ${destinationTelecomNumber.areaCode!} ${destinationTelecomNumber.contactNumber!}]</#if></div>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.CommonCreated}</td>
             <td width="80%">
-              <div>${uiLabelMap.CommonBy} [${shipment.createdByUserLogin?if_exists}] ${uiLabelMap.CommonOn} ${(shipment.createdDate.toString())?if_exists}</div>
+              <div>${uiLabelMap.CommonBy} [${shipment.createdByUserLogin!}] ${uiLabelMap.CommonOn} ${(shipment.createdDate.toString())!}</div>
             </td>
           </tr>
           <tr>
             <td width="20%" align="right" class="label">${uiLabelMap.CommonLastUpdated}</td>
             <td width="80%">
-              <div>${uiLabelMap.CommonBy} [${shipment.lastModifiedByUserLogin?if_exists}] ${uiLabelMap.CommonOn} ${(shipment.lastModifiedDate.toString())?if_exists}</div>
+              <div>${uiLabelMap.CommonBy} [${shipment.lastModifiedByUserLogin!}] ${uiLabelMap.CommonOn} ${(shipment.lastModifiedDate.toString())!}</div>
             </td>
           </tr>
         </table>
Index: applications/product/webapp/facility/shipment/EditShipmentItems.ftl
===================================================================
--- applications/product/webapp/facility/shipment/EditShipmentItems.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/EditShipmentItems.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if shipment?exists>
+<#if shipment??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -42,12 +42,12 @@
             <#assign itemIssuances = shipmentItemData.itemIssuances>
             <#assign orderShipments = shipmentItemData.orderShipments>
             <#assign shipmentPackageContents = shipmentItemData.shipmentPackageContents>
-            <#assign product = shipmentItemData.product?if_exists>
+            <#assign product = shipmentItemData.product!>
             <#assign totalQuantityPackaged = shipmentItemData.totalQuantityPackaged>
             <#assign totalQuantityToPackage = shipmentItemData.totalQuantityToPackage>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>${shipmentItem.shipmentItemSeqId}</td>
-                <td colspan="2">${(product.internalName)?if_exists} <a href="/catalog/control/EditProduct?productId=${shipmentItem.productId?if_exists}" class="buttontext">${shipmentItem.productId?if_exists}</a></td>
+                <td colspan="2">${(product.internalName)!} <a href="/catalog/control/EditProduct?productId=${shipmentItem.productId!}" class="buttontext">${shipmentItem.productId!}</a></td>
                 <td>${shipmentItem.quantity?default("&nbsp;")}</td>
                 <td colspan="2">${shipmentItem.shipmentContentDescription?default("&nbsp;")}</td>
                 <td><a href="javascript:document.deleteShipmentItem${shipmentItemData_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a></td>
@@ -59,9 +59,9 @@
             <#list orderShipments as orderShipment>
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
-                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${orderShipment.orderId?if_exists}" class="buttontext">${orderShipment.orderId?if_exists}</a> ${orderShipment.orderItemSeqId?if_exists}</td>
+                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${orderShipment.orderId!}" class="buttontext">${orderShipment.orderId!}</a> ${orderShipment.orderItemSeqId!}</td>
                     <td>&nbsp;</td>
-                    <td>${orderShipment.quantity?if_exists}</td>
+                    <td>${orderShipment.quantity!}</td>
                     <td>&nbsp;</td>
                     <td>&nbsp;</td>
                     <td>&nbsp;<#-- don't allow a delete, need to implement a cancel issuance <a href="<@ofbizUrl>deleteShipmentItemIssuance?shipmentId=${shipmentId}&amp;itemIssuanceId=${itemIssuance.itemIssuanceId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a> --></td>
@@ -70,10 +70,10 @@
             <#list itemIssuances as itemIssuance>
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
-                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${itemIssuance.orderId?if_exists}" class="buttontext">${itemIssuance.orderId?if_exists}</a> ${itemIssuance.orderItemSeqId?if_exists}</td>
-                    <td><span class="label">${uiLabelMap.ProductInventory}</span> <a href="<@ofbizUrl>EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId?if_exists}</@ofbizUrl>" class="buttontext">${itemIssuance.inventoryItemId?if_exists}</a></td>
-                    <td>${itemIssuance.quantity?if_exists}</td>
-                    <td>${itemIssuance.issuedDateTime?if_exists}</td>
+                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${itemIssuance.orderId!}" class="buttontext">${itemIssuance.orderId!}</a> ${itemIssuance.orderItemSeqId!}</td>
+                    <td><span class="label">${uiLabelMap.ProductInventory}</span> <a href="<@ofbizUrl>EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId!}</@ofbizUrl>" class="buttontext">${itemIssuance.inventoryItemId!}</a></td>
+                    <td>${itemIssuance.quantity!}</td>
+                    <td>${itemIssuance.issuedDateTime!}</td>
                     <td class="label">${uiLabelMap.ProductFuturePartyRoleList}</td>
                     <td>&nbsp;<#-- don't allow a delete, need to implement a cancel issuance <a href="<@ofbizUrl>deleteShipmentItemIssuance?shipmentId=${shipmentId}&amp;itemIssuanceId=${itemIssuance.itemIssuanceId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a> --></td>
                 </tr>
@@ -82,10 +82,10 @@
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
                     <td colspan="2"><span class="label">${uiLabelMap.ProductPackage}</span> ${shipmentPackageContent.shipmentPackageSeqId}</td>
-                    <td>${shipmentPackageContent.quantity?if_exists}&nbsp;</td>
+                    <td>${shipmentPackageContent.quantity!}&nbsp;</td>
                     <#if shipmentPackageContent.subProductId?has_content>
                     <td><span class="label">${uiLabelMap.ProductSubProduct}</span> ${shipmentPackageContent.subProductId}</td>
-                    <td>${shipmentPackageContent.subProductQuantity?if_exists}</td>
+                    <td>${shipmentPackageContent.subProductQuantity!}</td>
                     <#else>
                     <td colspan="2">&nbsp;</td>
                     </#if>
@@ -146,7 +146,7 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
-            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId?if_exists}]</li>
+            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId} : [${shipmentId!}]</li>
         </ul>
         <br class="clear"/>
     </div>
Index: applications/product/webapp/facility/shipment/ShipmentTabBar.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ShipmentTabBar.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ShipmentTabBar.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if requestAttributes.uiLabelMap?exists>
+<#if requestAttributes.uiLabelMap??>
 <#assign uiLabelMap = requestAttributes.uiLabelMap>
 </#if>
 <#assign selected = tabButtonItem?default("void")>
@@ -25,17 +25,17 @@
         <ul>
             <li<#if selected="ViewShipment"> class="selected"</#if>><a href="<@ofbizUrl>ViewShipment?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.CommonView}</a></li>
             <li<#if selected="EditShipment"> class="selected"</#if>><a href="<@ofbizUrl>EditShipment?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a></li>
-        <#if (shipment.shipmentTypeId)?exists && shipment.shipmentTypeId = "PURCHASE_RETURN">
+        <#if (shipment.shipmentTypeId)?? && shipment.shipmentTypeId = "PURCHASE_RETURN">
             <li<#if selected="AddItemsFromInventory"> class="selected"</#if>><a href="<@ofbizUrl>AddItemsFromInventory?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductOrderItems}</a></li>
         </#if>
-        <#if (shipment.shipmentTypeId)?exists && shipment.shipmentTypeId = "SALES_SHIPMENT">
+        <#if (shipment.shipmentTypeId)?? && shipment.shipmentTypeId = "SALES_SHIPMENT">
             <li<#if selected="EditShipmentPlan"> class="selected"</#if>><a href="<@ofbizUrl>EditShipmentPlan?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductShipmentPlan}</a></li>
             <li<#if selected="AddItemsFromOrder"> class="selected"</#if>><a href="<@ofbizUrl>AddItemsFromOrder?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductOrderItems}</a></li>
             <li<#if selected="EditShipmentItems"> class="selected"</#if>><a href="<@ofbizUrl>EditShipmentItems?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductItems}</a></li>
             <li<#if selected="EditShipmentPackages"> class="selected"</#if>><a href="<@ofbizUrl>EditShipmentPackages?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductPackages}</a></li>
             <li<#if selected="EditShipmentRouteSegments"> class="selected"</#if>><a href="<@ofbizUrl>EditShipmentRouteSegments?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductRouteSegments}</a></li>
         </#if>
-        <#if (shipment.shipmentTypeId)?exists && shipment.shipmentTypeId='PURCHASE_SHIPMENT'>
+        <#if (shipment.shipmentTypeId)?? && shipment.shipmentTypeId='PURCHASE_SHIPMENT'>
             <li<#if selected="EditShipmentPlan"> class="selected"</#if>><a href="<@ofbizUrl>EditShipmentPlan?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductOrderItems}</a></li>
             <li<#if selected="ViewShipmentReceipts"> class="selected"</#if>><a href="<@ofbizUrl>ViewShipmentReceipts?shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.ProductShipmentReceipts}</a></li>
         </#if>
Index: applications/product/webapp/facility/shipment/WeightPackage.ftl
===================================================================
--- applications/product/webapp/facility/shipment/WeightPackage.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/WeightPackage.ftl	(working copy)
@@ -22,7 +22,7 @@
     <div class="screenlet">
       <div class="screenlet-title-bar">
         <ul>
-          <li class="h3">${uiLabelMap.ProductWeighPackageOnly}&nbsp;in&nbsp;${facility.facilityName?if_exists} [${(facility.facilityId)?if_exists}]</li>
+          <li class="h3">${uiLabelMap.ProductWeighPackageOnly}&nbsp;in&nbsp;${facility.facilityName!} [${(facility.facilityId)!}]</li>
         </ul>
         <br class="clear"/>
       </div>
@@ -32,7 +32,7 @@
             ${uiLabelMap.CommonView} <a href="<@ofbizUrl>/PackingSlip.pdf?shipmentId=${shipmentId}</@ofbizUrl>" target="_blank" class="buttontext">${uiLabelMap.ProductPackingSlip}</a> ${uiLabelMap.CommonOr}
             ${uiLabelMap.CommonView} <a href="<@ofbizUrl>/ShipmentBarCode.pdf?shipmentId=${shipmentId}</@ofbizUrl>" target="_blank" class="buttontext">${uiLabelMap.ProductBarcode}</a> ${uiLabelMap.CommonFor} ${uiLabelMap.ProductShipmentId} <a href="<@ofbizUrl>/ViewShipment?shipmentId=${shipmentId}</@ofbizUrl>" class="buttontext">${shipmentId}</a>
           </div>
-          <#if invoiceIds?exists && invoiceIds?has_content>
+          <#if invoiceIds?? && invoiceIds?has_content>
             <div>
               <p>${uiLabelMap.AccountingInvoices}:</p>
               <ul>
@@ -46,15 +46,15 @@
             </div>
           </#if>
         </#if>
-        <#if shipmentPackageRouteSegList?exists && shipmentPackageRouteSegList?has_content>
+        <#if shipmentPackageRouteSegList?? && shipmentPackageRouteSegList?has_content>
           <#list shipmentPackageRouteSegList as shipmentPackageRouteSeg>
             <form name="viewShipmentPackageRouteSegLabelImageForm_${shipmentPackageRouteSeg_index}" method="post" action="<@ofbizUrl>viewShipmentPackageRouteSegLabelImage</@ofbizUrl>">
-              <input type="hidden" name="shipmentId" value ="${(shipmentPackageRouteSeg.shipmentId)?if_exists}"/>
-              <input type="hidden" name ="shipmentPackageSeqId" value = "${(shipmentPackageRouteSeg.shipmentPackageSeqId)?if_exists}"/>
-              <input type="hidden" name="shipmentRouteSegmentId" value ="${(shipmentPackageRouteSeg.shipmentRouteSegmentId)?if_exists}"/>
+              <input type="hidden" name="shipmentId" value ="${(shipmentPackageRouteSeg.shipmentId)!}"/>
+              <input type="hidden" name ="shipmentPackageSeqId" value = "${(shipmentPackageRouteSeg.shipmentPackageSeqId)!}"/>
+              <input type="hidden" name="shipmentRouteSegmentId" value ="${(shipmentPackageRouteSeg.shipmentRouteSegmentId)!}"/>
               <div>
-                <span class="label">${uiLabelMap.ProductPackage}</span> ${(shipmentPackageRouteSeg.shipmentPackageSeqId)?if_exists}
-                <#if shipmentPackageRouteSeg.labelImage?exists>
+                <span class="label">${uiLabelMap.ProductPackage}</span> ${(shipmentPackageRouteSeg.shipmentPackageSeqId)!}
+                <#if shipmentPackageRouteSeg.labelImage??>
                   <a href="javascript:document.viewShipmentPackageRouteSegLabelImageForm_${shipmentPackageRouteSeg_index}.submit();" class="buttontext">${uiLabelMap.ProductViewLabelImage}</a>
                 </#if>
               </div>
@@ -64,13 +64,13 @@
         <br />
         <#if !(orderId?has_content)>
           <form name="selectOrderForm" method="post" action="<@ofbizUrl>WeightPackageOnly</@ofbizUrl>">
-            <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}" />
+            <input type="hidden" name="facilityId" value="${(facility.facilityId)!}" />
             <table cellspacing="0" class="basic-table">
               <tr>
                 <td width="25%" align="right"><span class="label">${uiLabelMap.ProductOrderId}</span></td>
                 <td width="1">&nbsp;</td>
                 <td width="25%">
-                  <input type="text" name="orderId" size="20" maxlength="20" value="${primaryOrderId?if_exists}"/>
+                  <input type="text" name="orderId" size="20" maxlength="20" value="${primaryOrderId!}"/>
                   /
                   <input type="text" name="shipGroupSeqId" size="6" maxlength="6" value="${shipGroupSeqId?default("00001")}"/>
                 </td>
@@ -88,13 +88,13 @@
           <br />
           <!-- select picklist bin form -->
           <form name="selectPicklistBinForm" method="post" action="<@ofbizUrl>WeightPackageOnly</@ofbizUrl>" style="margin: 0;">
-            <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}" />
+            <input type="hidden" name="facilityId" value="${(facility.facilityId)!}" />
             <table cellspacing="0" class="basic-table">
               <tr>
                 <td width="25%" align='right'><span class="label">${uiLabelMap.FormFieldTitle_picklistBinId}</span></td>
                 <td width="1">&nbsp;</td>
                 <td width="25%">
-                  <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId?if_exists}"/>
+                  <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId!}"/>
                 </td>
                 <td>&nbsp;</td>
               </tr>
@@ -125,25 +125,25 @@
                 </tr>
                 <#list packedLines as packedLine>
                   <form name="updateWeightPackageForm_${packedLine.getWeightPackageSeqId()}" method="post" action="<@ofbizUrl>updatePackedLine</@ofbizUrl>">
-                    <input type="hidden" name="orderId" value ="${orderId?if_exists}"/>
-                    <input type="hidden" name = "facilityId" value = "${(facility.facilityId)?if_exists}"/>
+                    <input type="hidden" name="orderId" value ="${orderId!}"/>
+                    <input type="hidden" name = "facilityId" value = "${(facility.facilityId)!}"/>
                     <input type="hidden" name="weightPackageSeqId" value ="${packedLine.getWeightPackageSeqId()}"/>
                     <tr>
                       <td>
                         <span class="label">
                           ${uiLabelMap.ProductPackage} ${packedLine.getWeightPackageSeqId()}
-                          <input type="text" size="7" name="packageWeight" value="${(packedLine.getPackageWeight())?if_exists}" />
+                          <input type="text" size="7" name="packageWeight" value="${(packedLine.getPackageWeight())!}" />
                         </span>
                       </td>
                       <td>
-                        <span class="label">${uiLabelMap.CommonLength}<input type="text" name="packageLength" value="${(packedLine.getPackageLength())?if_exists}" size="5"/></span>
-                        <span class="label">${uiLabelMap.ProductWidth}<input type="text" name="packageWidth" value="${(packedLine.getPackageWidth())?if_exists}" size="5"/></span>
-                        <span class="label">${uiLabelMap.PartyHeight}<input type="text" name="packageHeight" value="${(packedLine.getPackageHeight())?if_exists}" size="5"/></span>
+                        <span class="label">${uiLabelMap.CommonLength}<input type="text" name="packageLength" value="${(packedLine.getPackageLength())!}" size="5"/></span>
+                        <span class="label">${uiLabelMap.ProductWidth}<input type="text" name="packageWidth" value="${(packedLine.getPackageWidth())!}" size="5"/></span>
+                        <span class="label">${uiLabelMap.PartyHeight}<input type="text" name="packageHeight" value="${(packedLine.getPackageHeight())!}" size="5"/></span>
                       </td>
                       <td>
                         <select name="shipmentBoxTypeId">
                           <#if shipmentBoxTypes?has_content>
-                            <#assign shipmentBoxTypeId = "${(packedLine.getShipmentBoxTypeId())?if_exists}"/>
+                            <#assign shipmentBoxTypeId = "${(packedLine.getShipmentBoxTypeId())!}"/>
                             <#list shipmentBoxTypes as shipmentBoxType>
                               <#if shipmentBoxTypeId == "${shipmentBoxType.shipmentBoxTypeId}">
                                 <option value="${shipmentBoxType.shipmentBoxTypeId}">${shipmentBoxType.description}</option>
@@ -166,23 +166,23 @@
                 <a href="javascript:document.completePackageForm.submit()" class="buttontext">${uiLabelMap.ProductComplete}</a>
               </div>
               <form name="completePackageForm" method ="post" action="<@ofbizUrl>completePackage</@ofbizUrl>">
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-                <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}"/>
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+                <input type="hidden" name="facilityId" value="${(facility.facilityId)!}"/>
                 <input type="hidden" name="weightUomId" value="${defaultWeightUomId}"/>
                 <input type="hidden" name="dimensionUomId" value="${defaultDimensionUomId}"/>
-                <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)?if_exists}"/>
-                <input type="hidden" name="invoiceId" value="${(invoice.invoiceId)?if_exists}"/>
-                <input type="hidden" name="estimatedShippingCost" value="${estimatedShippingCost?if_exists}"/>
-                <input type="hidden" name="newEstimatedShippingCost" value="${newEstimatedShippingCost?if_exists}"/>
+                <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)!}"/>
+                <input type="hidden" name="invoiceId" value="${(invoice.invoiceId)!}"/>
+                <input type="hidden" name="estimatedShippingCost" value="${estimatedShippingCost!}"/>
+                <input type="hidden" name="newEstimatedShippingCost" value="${newEstimatedShippingCost!}"/>
               </form>
             </#if>
             <#if (orderedQuantity > packedLines.size())>
             <table class="basic-table" cellpadding="2" cellspacing='0'>
               <form name="weightPackageForm" method ="post" action="<@ofbizUrl>setPackageInfo</@ofbizUrl>">
-                <input type="hidden" name = "shipGroupSeqId" value = "${shipGroupSeqId?if_exists}"/>
-                <input type="hidden" name = "facilityId" value = "${(facility.facilityId)?if_exists}"/>
-                <input type="hidden" name = "orderId" value = "${orderId?if_exists}"/>
+                <input type="hidden" name = "shipGroupSeqId" value = "${shipGroupSeqId!}"/>
+                <input type="hidden" name = "facilityId" value = "${(facility.facilityId)!}"/>
+                <input type="hidden" name = "orderId" value = "${orderId!}"/>
                 <#assign packedLines = weightPackageSession.getPackedLines(orderId)/>
                 <#if packedLines?has_content>
                   <hr/>
@@ -233,29 +233,29 @@
                </th>
               </tr>
               <form name="completePackForm" method="post" action="<@ofbizUrl>shipNow</@ofbizUrl>">
-                <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-                <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}"/>
-                <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)?if_exists}"/>
-                <input type="hidden" name="invoiceId" value="${(invoice.invoiceId)?if_exists}"/> 
+                <input type="hidden" name="orderId" value="${orderId!}"/>
+                <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+                <input type="hidden" name="facilityId" value="${(facility.facilityId)!}"/>
+                <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)!}"/>
+                <input type="hidden" name="invoiceId" value="${(invoice.invoiceId)!}"/> 
                 <#list shipmentPackages?sort_by("shipmentPackageSeqId") as shipmentPackage>
                   <tr>
                     <td>
                       <span class="label">
                         ${uiLabelMap.ProductPackage} ${(shipmentPackage_index + 1)}
-                        <input type="text" size="7" readonly="readonly" name="packageWeight" value="${(shipmentPackage.weight)?if_exists}" />
+                        <input type="text" size="7" readonly="readonly" name="packageWeight" value="${(shipmentPackage.weight)!}" />
                       </span>
                     </td>
                     <td>
-                      <span class="label">${uiLabelMap.CommonLength}<input type="text" readonly="readonly" name="packageLength" value="${(shipmentPackage.boxLength)?if_exists}" size="5"/></span>
-                      <span class="label">${uiLabelMap.ProductWidth}<input type="text" readonly="readonly" name="packageWidth" value="${(shipmentPackage.boxWidth)?if_exists}" size="5"/></span>
-                      <span class="label">${uiLabelMap.PartyHeight}<input type="text" readonly="readonly" name="packageHeight" value="${(shipmentPackage.boxHeight)?if_exists}" size="5"/></span>
+                      <span class="label">${uiLabelMap.CommonLength}<input type="text" readonly="readonly" name="packageLength" value="${(shipmentPackage.boxLength)!}" size="5"/></span>
+                      <span class="label">${uiLabelMap.ProductWidth}<input type="text" readonly="readonly" name="packageWidth" value="${(shipmentPackage.boxWidth)!}" size="5"/></span>
+                      <span class="label">${uiLabelMap.PartyHeight}<input type="text" readonly="readonly" name="packageHeight" value="${(shipmentPackage.boxHeight)!}" size="5"/></span>
                     </td>
                     <td>
                       <#if (shipmentPackage.shipmentBoxTypeId)?has_content>
                         <#assign shipmentBoxType = delegator.findOne("ShipmentBoxType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentBoxTypeId", shipmentPackage.shipmentBoxTypeId), true)>
                       </#if>
-                      <input type="text" readonly="readonly" name="shipmentBoxTypeId" value="${(shipmentBoxType.description)?if_exists}" size="50"/>
+                      <input type="text" readonly="readonly" name="shipmentBoxTypeId" value="${(shipmentBoxType.description)!}" size="50"/>
                     </td>
                   </tr>
                 </#list>
@@ -278,18 +278,18 @@
       </div>
       <div class="screenlet-body">
         <div>
-          <h3>${uiLabelMap.FacilityWarningMessageThereIsMuchDifferenceInShippingCharges}&nbsp;[${uiLabelMap.FacilityEstimatedShippingCharges} = <@ofbizCurrency amount=estimatedShippingCost?if_exists isoCode=shipment.currencyUomId?if_exists/>, ${uiLabelMap.FacilityActualShippingCharges} = <@ofbizCurrency amount=newEstimatedShippingCost?if_exists isoCode=shipment.currencyUomId?if_exists/>]</h3>
+          <h3>${uiLabelMap.FacilityWarningMessageThereIsMuchDifferenceInShippingCharges}&nbsp;[${uiLabelMap.FacilityEstimatedShippingCharges} = <@ofbizCurrency amount=estimatedShippingCost! isoCode=shipment.currencyUomId!/>, ${uiLabelMap.FacilityActualShippingCharges} = <@ofbizCurrency amount=newEstimatedShippingCost! isoCode=shipment.currencyUomId!/>]</h3>
         </div>
         <form name="shipNowForm" method="post" action="<@ofbizUrl>shipNow</@ofbizUrl>">
-          <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-          <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}"/>
-          <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)?if_exists}"/>
+          <input type="hidden" name="orderId" value="${orderId!}"/>
+          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+          <input type="hidden" name="facilityId" value="${(facility.facilityId)!}"/>
+          <input type="hidden" name="shipmentId" value="${(shipment.shipmentId)!}"/>
         </form>
         <form name="holdShipmentForm" method="post" action="<@ofbizUrl>HoldShipment</@ofbizUrl>">
-          <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-          <input type="hidden" name="facilityId" value="${(facility.facilityId)?if_exists}"/>
+          <input type="hidden" name="orderId" value="${orderId!}"/>
+          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+          <input type="hidden" name="facilityId" value="${(facility.facilityId)!}"/>
         </form>
         <div>
           <a href="javascript:document.shipNowForm.submit()" class="buttontext">${uiLabelMap.FacilityShip} ${uiLabelMap.CommonNow}</a>
Index: applications/product/webapp/facility/shipment/PackingSlip.fo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/PackingSlip.fo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/PackingSlip.fo.ftl	(working copy)
@@ -20,7 +20,7 @@
 <#escape x as x?xml>
 
     <#if hasPermission>
-        <#assign shipGroup = shipment.getRelatedOne("PrimaryOrderItemShipGroup", false)?if_exists>
+        <#assign shipGroup = shipment.getRelatedOne("PrimaryOrderItemShipGroup", false)!>
         <#assign carrier = (shipGroup.carrierPartyId)?default("N/A")>
             <#if packages?has_content>
             <#list packages as package>
@@ -54,15 +54,15 @@
                         <fo:table-cell padding="2pt">
                             <fo:block>
                                 <#if destinationPostalAddress?has_content>
-                                  <fo:block>${uiLabelMap.CommonTo}: ${destinationPostalAddress.toName?if_exists}</fo:block>
+                                  <fo:block>${uiLabelMap.CommonTo}: ${destinationPostalAddress.toName!}</fo:block>
                                   <#if destinationPostalAddress.attnName?has_content>
-                                    <fo:block>${uiLabelMap.CommonAttn}: ${destinationPostalAddress.attnName?if_exists}</fo:block>
+                                    <fo:block>${uiLabelMap.CommonAttn}: ${destinationPostalAddress.attnName!}</fo:block>
                                   </#if>
-                                  <fo:block>${destinationPostalAddress.address1?if_exists}</fo:block>
-                                  <fo:block>${destinationPostalAddress.address2?if_exists}</fo:block>
+                                  <fo:block>${destinationPostalAddress.address1!}</fo:block>
+                                  <fo:block>${destinationPostalAddress.address2!}</fo:block>
                                   <fo:block>
-                                    ${destinationPostalAddress.city?if_exists}<#if destinationPostalAddress.stateProvinceGeoId?has_content>, ${destinationPostalAddress.stateProvinceGeoId}</#if>
-                                    ${destinationPostalAddress.postalCode?if_exists} ${destinationPostalAddress.countryGeoId?if_exists}
+                                    ${destinationPostalAddress.city!}<#if destinationPostalAddress.stateProvinceGeoId?has_content>, ${destinationPostalAddress.stateProvinceGeoId}</#if>
+                                    ${destinationPostalAddress.postalCode!} ${destinationPostalAddress.countryGeoId!}
                                   </fo:block>
                                 </#if>
                             </fo:block>
@@ -72,13 +72,13 @@
                                 <#if carrier != "_NA_">
                                    ${carrier}
                                 </#if>
-                                <#if (shipGroup.shipmentMethodTypeId)?exists>
+                                <#if (shipGroup.shipmentMethodTypeId)??>
                                   ${(shipGroup.getRelatedOne("ShipmentMethodType", false).get("description", locale))?default(shipGroup.shipmentMethodTypeId)}
                                 </#if>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell padding="2pt">
-                            <fo:block text-align="right">${shipment.handlingInstructions?if_exists}</fo:block>
+                            <fo:block text-align="right">${shipment.handlingInstructions!}</fo:block>
                         </fo:table-cell>
                     </fo:table-row>
                 </fo:table-body>
@@ -148,7 +148,7 @@
             <fo:table>
                 <fo:table-column column-width="450pt"/>
                 <fo:table-body>
-                    <#if shipGroup.giftMessage?exists >
+                    <#if shipGroup.giftMessage?? >
                         <fo:table-row font-weight="bold">
                             <fo:table-cell>
                                 <fo:block>${uiLabelMap.OrderGiftMessage}</fo:block>
Index: applications/product/webapp/facility/shipment/PackOrder.ftl
===================================================================
--- applications/product/webapp/facility/shipment/PackOrder.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/PackOrder.ftl	(working copy)
@@ -42,7 +42,7 @@
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <ul>
-                <li class="h3">${uiLabelMap.ProductPackOrder}&nbsp;in&nbsp;${facility.facilityName?if_exists} [${facilityId?if_exists}]</li>
+                <li class="h3">${uiLabelMap.ProductPackOrder}&nbsp;in&nbsp;${facility.facilityName!} [${facilityId!}]</li>
             </ul>
             <br class="clear"/>
         </div>
@@ -52,7 +52,7 @@
                 ${uiLabelMap.CommonView} <a href="<@ofbizUrl>/PackingSlip.pdf?shipmentId=${shipmentId}</@ofbizUrl>" target="_blank" class="buttontext">${uiLabelMap.ProductPackingSlip}</a> ${uiLabelMap.CommonOr}
                 ${uiLabelMap.CommonView} <a href="<@ofbizUrl>/ShipmentBarCode.pdf?shipmentId=${shipmentId}</@ofbizUrl>" target="_blank" class="buttontext">${uiLabelMap.ProductBarcode}</a> ${uiLabelMap.CommonFor} ${uiLabelMap.ProductShipmentId} <a href="<@ofbizUrl>/ViewShipment?shipmentId=${shipmentId}</@ofbizUrl>" class="buttontext">${shipmentId}</a>
                 </div>
-                <#if invoiceIds?exists && invoiceIds?has_content>
+                <#if invoiceIds?? && invoiceIds?has_content>
                 <div>
                     <p>${uiLabelMap.AccountingInvoices}:</p>
                     <ul>
@@ -70,13 +70,13 @@
 
             <!-- select order form -->
             <form name="selectOrderForm" method="post" action="<@ofbizUrl>PackOrder</@ofbizUrl>">
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+              <input type="hidden" name="facilityId" value="${facilityId!}" />
               <table cellspacing="0" class="basic-table">
                 <tr>
                   <td width="25%" align="right"><span class="label">${uiLabelMap.ProductOrderId}</span></td>
                   <td width="1">&nbsp;</td>
                   <td width="25%">
-                    <input type="text" name="orderId" size="20" maxlength="20" value="${orderId?if_exists}"/>
+                    <input type="text" name="orderId" size="20" maxlength="20" value="${orderId!}"/>
                     /
                     <input type="text" name="shipGroupSeqId" size="6" maxlength="6" value="${shipGroupSeqId?default("00001")}"/>
                   </td>
@@ -97,13 +97,13 @@
 
             <!-- select picklist bin form -->
             <form name="selectPicklistBinForm" method="post" action="<@ofbizUrl>PackOrder</@ofbizUrl>" style="margin: 0;">
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
+              <input type="hidden" name="facilityId" value="${facilityId!}" />
               <table cellspacing="0" class="basic-table">
                 <tr>
                   <td width="25%" align='right'><span class="label">${uiLabelMap.FormFieldTitle_picklistBinId}</span></td>
                   <td width="1">&nbsp;</td>
                   <td width="25%">
-                    <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId?if_exists}"/>
+                    <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId!}"/>
                   </td>
                   <td><span class="label">${uiLabelMap.ProductHideGrid}</span>&nbsp;<input type="checkbox" name="hideGrid" value="Y" <#if (hideGrid == "Y")>checked=""</#if> /></td>
                   <td>&nbsp;</td>
@@ -119,14 +119,14 @@
               </table>
             </form>
             <form name="clearPackForm" method="post" action="<@ofbizUrl>ClearPackAll</@ofbizUrl>">
-              <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-              <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+              <input type="hidden" name="orderId" value="${orderId!}"/>
+              <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+              <input type="hidden" name="facilityId" value="${facilityId!}"/>
             </form>
             <form name="incPkgSeq" method="post" action="<@ofbizUrl>SetNextPackageSeq</@ofbizUrl>">
-              <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-              <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-              <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+              <input type="hidden" name="orderId" value="${orderId!}"/>
+              <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+              <input type="hidden" name="facilityId" value="${facilityId!}"/>
             </form>
             <form name="clearPackLineForm" method="post" action="<@ofbizUrl>ClearPackLine</@ofbizUrl>">
                 <input type="hidden" name="facilityId"/>
@@ -140,7 +140,7 @@
         </div>
     </div>
 
-    <#if showInput != "N" && ((orderHeader?exists && orderHeader?has_content))>
+    <#if showInput != "N" && ((orderHeader?? && orderHeader?has_content))>
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <ul>
@@ -169,7 +169,7 @@
                           ${postalAddress.address2}
                           <br />
                       </#if>
-                      ${postalAddress.city?if_exists}, ${postalAddress.stateProvinceGeoId?if_exists} ${postalAddress.postalCode?if_exists}
+                      ${postalAddress.city!}, ${postalAddress.stateProvinceGeoId!} ${postalAddress.postalCode!}
                       <br />
                       ${postalAddress.countryGeoId}
                       <br />
@@ -193,8 +193,8 @@
                       <br />
                       <span class="label">${uiLabelMap.ProductEstimatedShipCostForShipGroup}</span>
                       <br />
-                      <#if shipmentCostEstimateForShipGroup?exists>
-                          <@ofbizCurrency amount=shipmentCostEstimateForShipGroup isoCode=orderReadHelper.getCurrency()?if_exists/>
+                      <#if shipmentCostEstimateForShipGroup??>
+                          <@ofbizCurrency amount=shipmentCostEstimateForShipGroup isoCode=orderReadHelper.getCurrency()!/>
                           <br />
                       </#if>
                     </td>
@@ -215,7 +215,7 @@
                   <input type="hidden" name="packageSeq" value="${packingSession.getCurrentPackageSeq()}"/>
                   <input type="hidden" name="orderId" value="${orderId}"/>
                   <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId}"/>
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
                   <input type="hidden" name="hideGrid" value="${hideGrid}"/>
                   <table cellpadding="2" cellspacing="0" class="basic-table">
                     <tr>
@@ -239,14 +239,14 @@
               </#if>
 
               <!-- auto grid form -->
-              <#assign itemInfos = packingSession.getItemInfos()?if_exists>
+              <#assign itemInfos = packingSession.getItemInfos()!>
               <#if showInput != "N" && hideGrid != "Y" && itemInfos?has_content>
                 <br />
                 <form name="multiPackForm" method="post" action="<@ofbizUrl>ProcessBulkPackOrder</@ofbizUrl>">
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}" />
-                  <input type="hidden" name="orderId" value="${orderId?if_exists}" />
-                  <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}" />
-                  <input type="hidden" name="originFacilityId" value="${facilityId?if_exists}" />
+                  <input type="hidden" name="facilityId" value="${facilityId!}" />
+                  <input type="hidden" name="orderId" value="${orderId!}" />
+                  <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}" />
+                  <input type="hidden" name="originFacilityId" value="${facilityId!}" />
                   <input type="hidden" name="hideGrid" value="${hideGrid}"/>
 
                   <table class="basic-table" cellspacing='0'>
@@ -273,12 +273,12 @@
                       <#list itemInfos as itemInfo>
                       <#-- <#list itemInfos as orderItem>  -->
                         <#assign orderItem = itemInfo.orderItem/>
-                        <#assign shippedQuantity = orderReadHelper.getItemShippedQuantity(orderItem)?if_exists>
+                        <#assign shippedQuantity = orderReadHelper.getItemShippedQuantity(orderItem)!>
                         <#assign orderItemQuantity = itemInfo.quantity/>
-                        <#assign orderProduct = orderItem.getRelatedOne("Product", false)?if_exists/>
-                        <#assign product = Static["org.ofbiz.product.product.ProductWorker"].findProduct(delegator, itemInfo.productId)?if_exists/>
+                        <#assign orderProduct = orderItem.getRelatedOne("Product", false)!/>
+                        <#assign product = Static["org.ofbiz.product.product.ProductWorker"].findProduct(delegator, itemInfo.productId)!/>
                         <#--
-                        <#if orderItem.cancelQuantity?exists>
+                        <#if orderItem.cancelQuantity??>
                           <#assign orderItemQuantity = orderItem.quantity - orderItem.cancelQuantity>
                         <#else>
                           <#assign orderItemQuantity = orderItem.quantity>
@@ -295,9 +295,9 @@
                               </#if>
                           </td>
                           <td>
-                              <a href="/catalog/control/EditProduct?productId=${orderProduct.productId?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(orderProduct.internalName)?if_exists}</a>
+                              <a href="/catalog/control/EditProduct?productId=${orderProduct.productId!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(orderProduct.internalName)!}</a>
                               <#if orderProduct.productId != product.productId>
-                                  &nbsp;[<a href="/catalog/control/EditProduct?productId=${product.productId?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)?if_exists}</a>]
+                                  &nbsp;[<a href="/catalog/control/EditProduct?productId=${product.productId!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)!}</a>]
                               </#if>
                           </td>
                           <td align="right">${orderItemQuantity}</td>
@@ -323,7 +323,7 @@
                           </#if>
                           <td align="center">
                             <select name="pkg_${rowKey}">
-                              <#if packingSession.getPackageSeqIds()?exists>
+                              <#if packingSession.getPackageSeqIds()??>
                                 <#list packingSession.getPackageSeqIds() as packageSeqId>
                                   <option value="${packageSeqId}">${uiLabelMap.ProductPackage} ${packageSeqId}</option>
                                 </#list>
@@ -341,7 +341,7 @@
                           <td align="right">
                             <input type="text" size="7" name="numPackages_${rowKey}" value="1" />
                           </td>
-                          <input type="hidden" name="prd_${rowKey}" value="${itemInfo.productId?if_exists}"/>
+                          <input type="hidden" name="prd_${rowKey}" value="${itemInfo.productId!}"/>
                           <input type="hidden" name="ite_${rowKey}" value="${orderItem.orderItemSeqId}"/>
                         </tr>
                         <#assign rowKey = rowKey + 1>
@@ -363,9 +363,9 @@
               <!-- complete form -->
               <#if showInput != "N">
                 <form name="completePackForm" method="post" action="<@ofbizUrl>CompletePack</@ofbizUrl>">
-                  <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-                  <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-                  <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+                  <input type="hidden" name="orderId" value="${orderId!}"/>
+                  <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+                  <input type="hidden" name="facilityId" value="${facilityId!}"/>
                   <input type="hidden" name="forceComplete" value="${forceComplete?default('false')}"/>
                   <input type="hidden" name="weightUomId" value="${defaultWeightUomId}"/>
                   <input type="hidden" name="showInput" value="N"/>
@@ -379,22 +379,22 @@
                                 <br />
                                 <#list packageSeqIds as packageSeqId>
                                     ${uiLabelMap.ProductPackage} ${packageSeqId}
-                                    <input type="text" size="7" name="packageWeight_${packageSeqId}" value="${packingSession.getPackageWeight(packageSeqId?int)?if_exists}" />
+                                    <input type="text" size="7" name="packageWeight_${packageSeqId}" value="${packingSession.getPackageWeight(packageSeqId?int)!}" />
                                     <br />
                                 </#list>
                                 <#if orderItemShipGroup?has_content>
-                                    <input type="hidden" name="shippingContactMechId" value="${orderItemShipGroup.contactMechId?if_exists}"/>
-                                    <input type="hidden" name="shipmentMethodTypeId" value="${orderItemShipGroup.shipmentMethodTypeId?if_exists}"/>
-                                    <input type="hidden" name="carrierPartyId" value="${orderItemShipGroup.carrierPartyId?if_exists}"/>
-                                    <input type="hidden" name="carrierRoleTypeId" value="${orderItemShipGroup.carrierRoleTypeId?if_exists}"/>
-                                    <input type="hidden" name="productStoreId" value="${productStoreId?if_exists}"/>
+                                    <input type="hidden" name="shippingContactMechId" value="${orderItemShipGroup.contactMechId!}"/>
+                                    <input type="hidden" name="shipmentMethodTypeId" value="${orderItemShipGroup.shipmentMethodTypeId!}"/>
+                                    <input type="hidden" name="carrierPartyId" value="${orderItemShipGroup.carrierPartyId!}"/>
+                                    <input type="hidden" name="carrierRoleTypeId" value="${orderItemShipGroup.carrierRoleTypeId!}"/>
+                                    <input type="hidden" name="productStoreId" value="${productStoreId!}"/>
                                 </#if>
                             </td>
                         </#if>
                         <td nowrap="nowrap">
                             <span class="label">${uiLabelMap.ProductAdditionalShippingCharge}:</span>
                             <br />
-                            <input type="text" name="additionalShippingCharge" value="${packingSession.getAdditionalShippingCharge()?if_exists}" size="20"/>
+                            <input type="text" name="additionalShippingCharge" value="${packingSession.getAdditionalShippingCharge()!}" size="20"/>
                             <#if packageSeqIds?has_content>
                                 <a href="javascript:document.completePackForm.action='<@ofbizUrl>calcPackSessionAdditionalShippingCharge</@ofbizUrl>';document.completePackForm.submit();" class="buttontext">${uiLabelMap.ProductEstimateShipCost}</a>
                                 <br />
@@ -403,7 +403,7 @@
                       <td>
                         <span class="label">${uiLabelMap.ProductHandlingInstructions}:</span>
                         <br />
-                        <textarea name="handlingInstructions" rows="2" cols="30">${packingSession.getHandlingInstructions()?if_exists}</textarea>
+                        <textarea name="handlingInstructions" rows="2" cols="30">${packingSession.getHandlingInstructions()!}</textarea>
                       </td>
                       <td align="right">
                         <div>
@@ -423,14 +423,14 @@
     </div>
 
     <!-- display items in packages, per packed package and in order -->
-    <#assign linesByPackageResultMap = packingSession.getPackingSessionLinesByPackage()?if_exists>
-    <#assign packageMap = linesByPackageResultMap.get("packageMap")?if_exists>
-    <#assign sortedKeys = linesByPackageResultMap.get("sortedKeys")?if_exists>
+    <#assign linesByPackageResultMap = packingSession.getPackingSessionLinesByPackage()!>
+    <#assign packageMap = linesByPackageResultMap.get("packageMap")!>
+    <#assign sortedKeys = linesByPackageResultMap.get("sortedKeys")!>
     <#if ((packageMap?has_content) && (sortedKeys?has_content))>
       <div class="screenlet">
         <div class="screenlet-title-bar">
             <ul>
-                <li class="h3">${uiLabelMap.ProductPackages} : ${sortedKeys.size()?if_exists}</li>
+                <li class="h3">${uiLabelMap.ProductPackages} : ${sortedKeys.size()!}</li>
             </ul>
             <br class="clear"/>
         </div>
@@ -439,8 +439,8 @@
               <#assign packedLines = packageMap.get(key)>
               <#if packedLines?has_content>
                 <br />
-                <#assign packedLine = packedLines.get(0)?if_exists>
-                <span class="label" style="font-size:1.2em">${uiLabelMap.ProductPackage}&nbsp;${packedLine.getPackageSeq()?if_exists}</span>
+                <#assign packedLine = packedLines.get(0)!>
+                <span class="label" style="font-size:1.2em">${uiLabelMap.ProductPackage}&nbsp;${packedLine.getPackageSeq()!}</span>
                 <br />
                 <table class="basic-table" cellspacing='0'>
                   <tr class="header-row">
@@ -459,11 +459,11 @@
                       <td>${line.getOrderItemSeqId()}</td>
                       <td>${line.getProductId()?default("N/A")}</td>
                       <td>
-                          <a href="/catalog/control/EditProduct?productId=${line.getProductId()?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${product.internalName?if_exists?default("[N/A]")}</a>
+                          <a href="/catalog/control/EditProduct?productId=${line.getProductId()!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${product.internalName!?default("[N/A]")}</a>
                       </td>
                       <td>${line.getInventoryItemId()}</td>
                       <td align="right">${line.getQuantity()}</td>
-                      <td align="right">${line.getWeight()} (${packingSession.getPackageWeight(line.getPackageSeq()?int)?if_exists})</td>
+                      <td align="right">${line.getWeight()} (${packingSession.getPackageWeight(line.getPackageSeq()?int)!})</td>
                       <td align="right">${line.getPackageSeq()}</td>
                       <td align="right"><a href="javascript:clearLine('${facilityId}', '${line.getOrderId()}', '${line.getOrderItemSeqId()}', '${line.getProductId()?default("")}', '${line.getShipGroupSeqId()}', '${line.getInventoryItemId()}', '${line.getPackageSeq()}')" class="buttontext">${uiLabelMap.CommonClear}</a></td>
                     </tr>
@@ -476,12 +476,12 @@
     </#if>
 
     <!-- packed items display -->
-    <#assign packedLines = packingSession.getLines()?if_exists>
+    <#assign packedLines = packingSession.getLines()!>
     <#if packedLines?has_content>
       <div class="screenlet">
           <div class="screenlet-title-bar">
               <ul>
-                  <li class="h3">${uiLabelMap.ProductItems} (${uiLabelMap.ProductPackages}): ${packedLines.size()?if_exists}</li>
+                  <li class="h3">${uiLabelMap.ProductItems} (${uiLabelMap.ProductPackages}): ${packedLines.size()!}</li>
               </ul>
               <br class="clear"/>
           </div>
@@ -503,11 +503,11 @@
                       <td>${line.getOrderItemSeqId()}</td>
                       <td>${line.getProductId()?default("N/A")}</td>
                       <td>
-                          <a href="/catalog/control/EditProduct?productId=${line.getProductId()?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${product.internalName?if_exists?default("[N/A]")}</a>
+                          <a href="/catalog/control/EditProduct?productId=${line.getProductId()!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${product.internalName!?default("[N/A]")}</a>
                       </td>
                       <td>${line.getInventoryItemId()}</td>
                       <td align="right">${line.getQuantity()}</td>
-                      <td align="right">${line.getWeight()} (${packingSession.getPackageWeight(line.getPackageSeq()?int)?if_exists})</td>
+                      <td align="right">${line.getWeight()} (${packingSession.getPackageWeight(line.getPackageSeq()?int)!})</td>
                       <td align="right">${line.getPackageSeq()}</td>
                       <td align="right"><a href="javascript:clearLine('${facilityId}', '${line.getOrderId()}', '${line.getOrderItemSeqId()}', '${line.getProductId()?default("")}', '${line.getShipGroupSeqId()}', '${line.getInventoryItemId()}', '${line.getPackageSeq()}')" class="buttontext">${uiLabelMap.CommonClear}</a></td>
                   </tr>
Index: applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl
===================================================================
--- applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if shipment?exists>
+<#if shipment??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
@@ -30,10 +30,10 @@
             <div>
                 <span class="label">${uiLabelMap.ProductOrderId}</span>
                 <span>
-                  <@htmlTemplate.lookupField value="${orderId?if_exists}" formName="additemsfromorder" name="orderId" id="orderId" fieldFormName="LookupOrderHeaderAndShipInfo"/>
+                  <@htmlTemplate.lookupField value="${orderId!}" formName="additemsfromorder" name="orderId" id="orderId" fieldFormName="LookupOrderHeaderAndShipInfo"/>
                 </span>
                 <span class="label">${uiLabelMap.ProductOrderShipGroupId}</span>
-                <input type="text" size="20" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
+                <input type="text" size="20" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
                 <input type="submit" value="${uiLabelMap.CommonSelect}" class="smallSubmit"/>
             </div>
         </form>
@@ -42,38 +42,38 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
-            <li class="h3">${uiLabelMap.ProductAddItemsShipment}: [${shipmentId?if_exists}]; ${uiLabelMap.ProductFromAnOrder}: [${orderId?if_exists}], ${uiLabelMap.ProductOrderShipGroupId}: [${shipGroupSeqId?if_exists}]</li>
+            <li class="h3">${uiLabelMap.ProductAddItemsShipment}: [${shipmentId!}]; ${uiLabelMap.ProductFromAnOrder}: [${orderId!}], ${uiLabelMap.ProductOrderShipGroupId}: [${shipGroupSeqId!}]</li>
         </ul>
         <br class="clear"/>
     </div>
     <div class="screenlet-body">
-    <#if orderId?has_content && !orderHeader?exists>
+    <#if orderId?has_content && !orderHeader??>
         <h3 style="color: red;"><#assign uiLabelWithVar=uiLabelMap.ProductErrorOrderIdNotFound?interpret><@uiLabelWithVar/>.</h3>
     </#if>
-    <#if orderHeader?exists>
-        <#if orderHeader.orderTypeId == "SALES_ORDER" && shipment.shipmentTypeId?if_exists != "SALES_SHIPMENT">
-            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId?if_exists)}, ${uiLabelMap.ProductNotSalesShipment}.</h3>
-        <#elseif orderHeader.orderTypeId == "PURCHASE_ORDER" && shipment.shipmentTypeId?if_exists != "PURCHASE_SHIPMENT" && shipment.shipmentTypeId?if_exists != "DROP_SHIPMENT">
-            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId?if_exists)}, ${uiLabelMap.ProductNotPurchaseShipment}.</h3>
+    <#if orderHeader??>
+        <#if orderHeader.orderTypeId == "SALES_ORDER" && shipment.shipmentTypeId! != "SALES_SHIPMENT">
+            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId!)}, ${uiLabelMap.ProductNotSalesShipment}.</h3>
+        <#elseif orderHeader.orderTypeId == "PURCHASE_ORDER" && shipment.shipmentTypeId! != "PURCHASE_SHIPMENT" && shipment.shipmentTypeId! != "DROP_SHIPMENT">
+            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId!)}, ${uiLabelMap.ProductNotPurchaseShipment}.</h3>
         <#else>
-            <h3>${uiLabelMap.ProductNoteOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId?if_exists)}.</h3>
-            <h3>${uiLabelMap.ProductShipmentType}: ${shipment.shipmentTypeId?if_exists}.</h3>
+            <h3>${uiLabelMap.ProductNoteOrderType} ${(orderType.get("description",locale))?default(orderHeader.orderTypeId!)}.</h3>
+            <h3>${uiLabelMap.ProductShipmentType}: ${shipment.shipmentTypeId!}.</h3>
         </#if>
-        <#if shipment.shipmentTypeId?if_exists == "SALES_SHIPMENT">
-            <h3>${uiLabelMap.ProductOriginFacilityIs}: <#if originFacility?exists>${originFacility.facilityName?if_exists} [${originFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></h3>
-        <#elseif shipment.shipmentTypeId?if_exists == "PURCHASE_SHIPMENT">
-            <h3>${uiLabelMap.ProductDestinationFacilityIs}: <#if destinationFacility?exists>${destinationFacility.facilityName?if_exists} [${destinationFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></h3>
+        <#if shipment.shipmentTypeId! == "SALES_SHIPMENT">
+            <h3>${uiLabelMap.ProductOriginFacilityIs}: <#if originFacility??>${originFacility.facilityName!} [${originFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></h3>
+        <#elseif shipment.shipmentTypeId! == "PURCHASE_SHIPMENT">
+            <h3>${uiLabelMap.ProductDestinationFacilityIs}: <#if destinationFacility??>${destinationFacility.facilityName!} [${destinationFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></h3>
         </#if>
         <#if "ORDER_APPROVED" == orderHeader.statusId || "ORDER_BACKORDERED" == orderHeader.statusId>
-            <h3>${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId?if_exists)}.</h3>
+            <h3>${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId!)}.</h3>
         <#elseif "ORDER_COMPLETED" == orderHeader.statusId>
-            <h3>${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId?if_exists)}, ${uiLabelMap.ProductNoItemsLeft}.</h3>
+            <h3>${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId!)}, ${uiLabelMap.ProductNoItemsLeft}.</h3>
         <#else>
-            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId?if_exists)}; ${uiLabelMap.ProductApprovedBeforeShipping}.</h3>
+            <h3 style="color: red;">${uiLabelMap.ProductWarningOrderStatus} ${(orderHeaderStatus.get("description",locale))?default(orderHeader.statusId!)}; ${uiLabelMap.ProductApprovedBeforeShipping}.</h3>
         </#if>
     </#if>
     <br />
-    <#if orderItemDatas?exists>
+    <#if orderItemDatas??>
         <#assign rowCount = 0>
         <#if isSalesOrder>
             <form action="<@ofbizUrl>issueOrderItemShipGrpInvResToShipment</@ofbizUrl>" method="post" name="selectAllForm">
@@ -102,21 +102,21 @@
                 </td>
             </tr>
             <#assign alt_row = false>
-            <#list orderItemDatas?if_exists as orderItemData>
+            <#list orderItemDatas! as orderItemData>
                 <#assign orderItemAndShipGroupAssoc = orderItemData.orderItemAndShipGroupAssoc>
-                <#assign product = orderItemData.product?if_exists>
+                <#assign product = orderItemData.product!>
                 <#assign itemIssuances = orderItemData.itemIssuances>
                 <#assign totalQuantityIssued = orderItemData.totalQuantityIssued>
-                <#assign orderItemShipGrpInvResDatas = orderItemData.orderItemShipGrpInvResDatas?if_exists>
-                <#assign totalQuantityReserved = orderItemData.totalQuantityReserved?if_exists>
-                <#assign totalQuantityIssuedAndReserved = orderItemData.totalQuantityIssuedAndReserved?if_exists>
+                <#assign orderItemShipGrpInvResDatas = orderItemData.orderItemShipGrpInvResDatas!>
+                <#assign totalQuantityReserved = orderItemData.totalQuantityReserved!>
+                <#assign totalQuantityIssuedAndReserved = orderItemData.totalQuantityIssuedAndReserved!>
                 <tr id="orderItemData_tableRow_${rowCount}" valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td><div>${orderItemAndShipGroupAssoc.orderId} / ${orderItemAndShipGroupAssoc.shipGroupSeqId} / ${orderItemAndShipGroupAssoc.orderItemSeqId}</div></td>
-                    <td><div>${(product.internalName)?if_exists} [${orderItemAndShipGroupAssoc.productId?default("N/A")}]</div></td>
+                    <td><div>${(product.internalName)!} [${orderItemAndShipGroupAssoc.productId?default("N/A")}]</div></td>
                     <td>
                         <#if itemIssuances?has_content>
                             <#list itemIssuances as itemIssuance>
-                                <div><b>[${itemIssuance.quantity?if_exists}]</b>${itemIssuance.shipmentId?if_exists}:${itemIssuance.shipmentItemSeqId?if_exists} ${uiLabelMap.CommonOn} [${(itemIssuance.issuedDateTime.toString())?if_exists}] ${uiLabelMap.CommonBy} [${(itemIssuance.issuedByUserLoginId)?if_exists}]</div>
+                                <div><b>[${itemIssuance.quantity!}]</b>${itemIssuance.shipmentId!}:${itemIssuance.shipmentItemSeqId!} ${uiLabelMap.CommonOn} [${(itemIssuance.issuedDateTime.toString())!}] ${uiLabelMap.CommonBy} [${(itemIssuance.issuedByUserLoginId)!}]</div>
                             </#list>
                         <#else>
                             <div>&nbsp;</div>
@@ -192,7 +192,7 @@
                                 <div>
                                     ${orderItemShipGrpInvRes.inventoryItemId}
                                     <#if inventoryItem.facilityId?has_content>
-                                        <span<#if originFacility?exists && originFacility.facilityId != inventoryItem.facilityId> style="color: red;"</#if>>[${(inventoryItemFacility.facilityName)?default(inventoryItem.facilityId)}]</span>
+                                        <span<#if originFacility?? && originFacility.facilityId != inventoryItem.facilityId> style="color: red;"</#if>>[${(inventoryItemFacility.facilityName)?default(inventoryItem.facilityId)}]</span>
                                     <#else>
                                         <span style="color: red;">[${uiLabelMap.ProductNoFacility}]</span>
                                     </#if>
@@ -201,7 +201,7 @@
                             <td>&nbsp;</td>
                             <td>${orderItemShipGrpInvRes.quantity}</td>
                             <td>${orderItemShipGrpInvRes.quantityNotAvailable?default("&nbsp;")}</td>
-                            <#if originFacility?exists && originFacility.facilityId == inventoryItem.facilityId?if_exists>
+                            <#if originFacility?? && originFacility.facilityId == inventoryItem.facilityId!>
                                 <td>
                                     <input type="hidden" name="shipmentId_o_${rowCount}" value="${shipmentId}"/>
                                     <input type="hidden" name="orderId_o_${rowCount}" value="${orderItemShipGrpInvRes.orderId}"/>
@@ -236,7 +236,7 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <ul>
-            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId}: [${shipmentId?if_exists}]</li>
+            <li class="h3">${uiLabelMap.ProductShipmentNotFoundId}: [${shipmentId!}]</li>
         </ul>
         <br class="clear"/>
     </div>
Index: applications/product/webapp/facility/shipment/ViewShipmentPackageInfo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ViewShipmentPackageInfo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ViewShipmentPackageInfo.ftl	(working copy)
@@ -29,20 +29,20 @@
         <#assign alt_row = false>
         <#list shipmentPackageDatas as shipmentPackageData>
           <#assign shipmentPackage = shipmentPackageData.shipmentPackage>
-          <#assign shipmentPackageContents = shipmentPackageData.shipmentPackageContents?if_exists>
-          <#assign shipmentPackageRouteSegs = shipmentPackageData.shipmentPackageRouteSegs?if_exists>
-          <#assign weightUom = shipmentPackageData.weightUom?if_exists>
+          <#assign shipmentPackageContents = shipmentPackageData.shipmentPackageContents!>
+          <#assign shipmentPackageRouteSegs = shipmentPackageData.shipmentPackageRouteSegs!>
+          <#assign weightUom = shipmentPackageData.weightUom!>
           <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
             <td>${shipmentPackage.shipmentPackageSeqId}</td>
-            <td>${(shipmentPackage.dateCreated.toString())?if_exists}</td>
-            <td><span class="label">${uiLabelMap.ProductWeight}</span> ${shipmentPackage.weight?if_exists}</td>
-            <td><span class="label">${uiLabelMap.ProductWeightUnit}</span> <#if weightUom?has_content>${weightUom.get("description",locale)}<#else>${shipmentPackage.weightUomId?if_exists}</#if></td>
+            <td>${(shipmentPackage.dateCreated.toString())!}</td>
+            <td><span class="label">${uiLabelMap.ProductWeight}</span> ${shipmentPackage.weight!}</td>
+            <td><span class="label">${uiLabelMap.ProductWeightUnit}</span> <#if weightUom?has_content>${weightUom.get("description",locale)}<#else>${shipmentPackage.weightUomId!}</#if></td>
           </tr>
           <#list shipmentPackageContents as shipmentPackageContent>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td>&nbsp;</td>
               <td><span class="label">${uiLabelMap.ProductItem}</span> ${shipmentPackageContent.shipmentItemSeqId}</td>
-              <td><span class="label">${uiLabelMap.ProductQuantity}</span> ${shipmentPackageContent.quantity?if_exists}</td>
+              <td><span class="label">${uiLabelMap.ProductQuantity}</span> ${shipmentPackageContent.quantity!}</td>
               <td>&nbsp;</td>
             </tr>
           </#list>
@@ -50,8 +50,8 @@
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
               <td>&nbsp;</td>
               <td><span class="label">${uiLabelMap.ProductRouteSegment}</span> ${shipmentPackageRouteSeg.shipmentRouteSegmentId}</td>
-              <td><span class="label">${uiLabelMap.ProductTracking}</span> ${shipmentPackageRouteSeg.trackingCode?if_exists}</td>
-              <td><span class="label">${uiLabelMap.ProductBox}</span> ${shipmentPackageRouteSeg.boxNumber?if_exists}</td>
+              <td><span class="label">${uiLabelMap.ProductTracking}</span> ${shipmentPackageRouteSeg.trackingCode!}</td>
+              <td><span class="label">${uiLabelMap.ProductBox}</span> ${shipmentPackageRouteSeg.boxNumber!}</td>
             </tr>
           </#list>
           <#-- toggle the row color -->
Index: applications/product/webapp/facility/shipment/VerifyPick.ftl
===================================================================
--- applications/product/webapp/facility/shipment/VerifyPick.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/VerifyPick.ftl	(working copy)
@@ -22,7 +22,7 @@
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <ul>
-        <li class="h3">${uiLabelMap.ProductVerify}&nbsp;${uiLabelMap.OrderOrder}&nbsp;${uiLabelMap.CommonIn}&nbsp;${facility.facilityName?if_exists} [${facility.facilityId?if_exists}]</li>
+        <li class="h3">${uiLabelMap.ProductVerify}&nbsp;${uiLabelMap.OrderOrder}&nbsp;${uiLabelMap.CommonIn}&nbsp;${facility.facilityName!} [${facility.facilityId!}]</li>
       </ul>
       <br class="clear"/>
     </div>
@@ -33,7 +33,7 @@
       <div>
         <span class="label">${uiLabelMap.ProductShipmentId}</span><a href="<@ofbizUrl>/ViewShipment?shipmentId=${shipmentId}</@ofbizUrl>" class="buttontext">${shipmentId}</a>
       </div>
-      <#if invoiceIds?exists && invoiceIds?has_content>
+      <#if invoiceIds?? && invoiceIds?has_content>
         <div>
           <span class="label">${uiLabelMap.AccountingInvoices}:</span>
           <ul>
@@ -50,7 +50,7 @@
     <br />
     <div class="screenlet-body">
       <form name="selectOrderForm" method="post" action="<@ofbizUrl>VerifyPick</@ofbizUrl>">
-        <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
+        <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
         <table cellspacing="0" class="basic-table">
           <tr>
             <td width="25%" align="right"><span class="label">${uiLabelMap.ProductOrderId}</span></td>
@@ -59,7 +59,7 @@
               <#if shipmentId?has_content>
                 <input type="text" name="orderId" size="20" maxlength="20" value=""/>
               <#else>
-                <input type="text" name="orderId" size="20" maxlength="20" value="${orderId?if_exists}"/>
+                <input type="text" name="orderId" size="20" maxlength="20" value="${orderId!}"/>
               </#if>
               /
               <input type="text" name="shipGroupSeqId" size="6" maxlength="6" value="${shipGroupSeqId?default("00001")}"/>
@@ -77,13 +77,13 @@
       <br />
       <!-- select picklist bin form -->
       <form name="selectPicklistBinForm" method="post" action="<@ofbizUrl>VerifyPick</@ofbizUrl>" style="margin: 0;">
-        <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
+        <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
         <table cellspacing="0" class="basic-table">
           <tr>
             <td width="25%" align='right'><span class="label">${uiLabelMap.FormFieldTitle_picklistBinId}</span></td>
             <td width="1">&nbsp;</td>
             <td width="25%">
-              <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId?if_exists}"/>
+              <input type="text" name="picklistBinId" size="29" maxlength="60" value="${picklistBinId!}"/>
             </td>
             <td>&nbsp;</td>
           </tr>
@@ -96,13 +96,13 @@
         </table>
       </form>
       <form name="clearPickForm" method="post" action="<@ofbizUrl>cancelAllRows</@ofbizUrl>">
-        <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-        <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-        <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
+        <input type="hidden" name="orderId" value="${orderId!}"/>
+        <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+        <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
       </form>
     </div>
   </div>
-  <#if showInput != "N" && orderHeader?exists && orderHeader?has_content>
+  <#if showInput != "N" && orderHeader?? && orderHeader?has_content>
     <div class="screenlet">
       <div class="screenlet-title-bar">
         <ul>
@@ -131,7 +131,7 @@
                   ${postalAddress.address2}
                   <br />
                 </#if>
-                ${postalAddress.city?if_exists}, ${postalAddress.stateProvinceGeoId?if_exists} ${postalAddress.postalCode?if_exists}
+                ${postalAddress.city!}, ${postalAddress.stateProvinceGeoId!} ${postalAddress.postalCode!}
                 <br />
                 ${postalAddress.countryGeoId}
                 <br />
@@ -164,9 +164,9 @@
         </#if>
         <hr />
         <form name="singlePickForm" method="post" action="<@ofbizUrl>processVerifyPick</@ofbizUrl>">
-          <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-          <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
+          <input type="hidden" name="orderId" value="${orderId!}"/>
+          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+          <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
           <table cellpadding="2" cellspacing="0" class="basic-table">
             <tr>
               <td>
@@ -182,12 +182,12 @@
           </table>
         </form>
         <br />
-        <#assign orderItems = orderItems?if_exists>
+        <#assign orderItems = orderItems!>
         <form name="multiPickForm" method="post" action="<@ofbizUrl>processBulkVerifyPick</@ofbizUrl>">
-          <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
-          <input type="hidden" name="userLoginId" value="${userLoginId?if_exists}"/>
-          <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
+          <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
+          <input type="hidden" name="userLoginId" value="${userLoginId!}"/>
+          <input type="hidden" name="orderId" value="${orderId!}"/>
+          <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
           <table class="basic-table" cellspacing='0'>
             <tr class="header-row">
               <td>&nbsp;</td>
@@ -204,7 +204,7 @@
               <#assign counter = 1>
               <#assign isShowVerifyItemButton = "false">
               <#list orderItems as orderItem>
-                <#assign orderItemSeqId = orderItem.orderItemSeqId?if_exists>
+                <#assign orderItemSeqId = orderItem.orderItemSeqId!>
                 <#assign readyToVerify = verifyPickSession.getReadyToVerifyQuantity(orderId,orderItemSeqId)>
                 <#assign orderItemQuantity = orderItem.getBigDecimal("quantity")>
                 <#assign verifiedQuantity = 0.000000>
@@ -223,7 +223,7 @@
                   <#assign counter = counter +1>
                 </#if>
                 <#assign orderItemQuantity = orderItemQuantity.subtract(verifiedQuantity)>
-                <#assign product = orderItem.getRelatedOne("Product", false)?if_exists/>
+                <#assign product = orderItem.getRelatedOne("Product", false)!/>
                 <tr>
                   <#if (orderItemQuantity.compareTo(readyToVerify) > 0) >
                     <td><input type="checkbox" name="sel_${rowKey}" value="Y" checked=""/></td>
@@ -231,35 +231,35 @@
                   <#else>
                     <td>&nbsp;</td>
                   </#if>
-                  <td>${orderItemSeqId?if_exists}</td>
+                  <td>${orderItemSeqId!}</td>
                   <td>${product.productId?default("N/A")}</td>
                   <td>
-                    <a href="/catalog/control/EditProduct?productId=${product.productId?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)?if_exists}</a>
+                    <a href="/catalog/control/EditProduct?productId=${product.productId!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${(product.internalName)!}</a>
                   </td>
                   <td>
                     <select name="geo_${rowKey}">
                       <#if product.originGeoId?has_content>
                         <#assign originGeoId = product.originGeoId>
                         <#assign geo = delegator.findOne("Geo", Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId", originGeoId), true)>
-                        <option value="${originGeoId}">${geo.geoName?if_exists}</option>
+                        <option value="${originGeoId}">${geo.geoName!}</option>
                         <option value="${originGeoId}">---</option>
                       </#if>
                       <option value=""></option>
                       ${screens.render("component://common/widget/CommonScreens.xml#countries")}
                     </select>
                   </td>
-                  <td align="right">${orderItemQuantity?if_exists}</td>
-                  <td align="right">${readyToVerify?if_exists}</td>
+                  <td align="right">${orderItemQuantity!}</td>
+                  <td align="right">${readyToVerify!}</td>
                   <td align="center">
                     <#if (orderItemQuantity.compareTo(readyToVerify) > 0)>
                       <#assign qtyToVerify = orderItemQuantity.subtract(readyToVerify) >
-                      <input type="text" size="7" name="qty_${rowKey}" value="${qtyToVerify?if_exists}"/>
+                      <input type="text" size="7" name="qty_${rowKey}" value="${qtyToVerify!}"/>
                     <#else>
                       0
                     </#if>
                   </td>
-                  <input type="hidden" name="prd_${rowKey}" value="${(orderItem.productId)?if_exists}"/>
-                  <input type="hidden" name="ite_${rowKey}" value="${(orderItem.orderItemSeqId)?if_exists}"/>
+                  <input type="hidden" name="prd_${rowKey}" value="${(orderItem.productId)!}"/>
+                  <input type="hidden" name="ite_${rowKey}" value="${(orderItem.orderItemSeqId)!}"/>
                 </tr>
                 <#assign workOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)/>
                 <#if workOrderItemFulfillments?has_content>
@@ -283,9 +283,9 @@
                             <tr>
                               <td colspan="2"></td>
                               <td>${product.productId?default("N/A")}</td>
-                              <td>${product.internalName?if_exists}</td>
+                              <td>${product.internalName!}</td>
                               <td></td>
-                              <td align="right">${workEffortInventoryAssign.quantity?if_exists}</td>
+                              <td align="right">${workEffortInventoryAssign.quantity!}</td>
                             </tr>
                           </#list>
                           <tr><td colspan="8"><hr /></td></tr>
@@ -316,18 +316,18 @@
         <br />
       </div>
     </div>
-    <#assign orderId = orderId?if_exists >
-    <#assign pickRows = verifyPickSession.getPickRows(orderId)?if_exists>
+    <#assign orderId = orderId! >
+    <#assign pickRows = verifyPickSession.getPickRows(orderId)!>
     <form name="completePickForm" method="post" action="<@ofbizUrl>completeVerifiedPick</@ofbizUrl>">
-      <input type="hidden" name="orderId" value="${orderId?if_exists}"/>
-      <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>
-      <input type="hidden" name="facilityId" value="${facility.facilityId?if_exists}"/>
-      <input type="hidden" name="userLoginId" value="${userLoginId?if_exists}"/>
+      <input type="hidden" name="orderId" value="${orderId!}"/>
+      <input type="hidden" name="shipGroupSeqId" value="${shipGroupSeqId!}"/>
+      <input type="hidden" name="facilityId" value="${facility.facilityId!}"/>
+      <input type="hidden" name="userLoginId" value="${userLoginId!}"/>
       <#if pickRows?has_content>
         <div class="screenlet">
           <div class="screenlet-title-bar">
             <ul>
-              <li class="h3">${uiLabelMap.ProductVerified}&nbsp;${uiLabelMap.OrderItems} : ${pickRows.size()?if_exists}</li>
+              <li class="h3">${uiLabelMap.ProductVerified}&nbsp;${uiLabelMap.OrderItems} : ${pickRows.size()!}</li>
             </ul>
             <br class="clear"/>
           </div>
@@ -341,12 +341,12 @@
                 <td>&nbsp;</td>
               </tr>
               <#list pickRows as pickRow>
-                <#if (pickRow.getOrderId()?if_exists).equals(orderId)>
+                <#if (pickRow.getOrderId()!).equals(orderId)>
                   <tr>
-                    <td>${pickRow.getOrderItemSeqId()?if_exists}</td>
-                    <td>${pickRow.getProductId()?if_exists}</td>
-                    <td>${pickRow.getInventoryItemId()?if_exists}</td>
-                    <td align="right">${pickRow.getReadyToVerifyQty()?if_exists}</td>
+                    <td>${pickRow.getOrderItemSeqId()!}</td>
+                    <td>${pickRow.getProductId()!}</td>
+                    <td>${pickRow.getInventoryItemId()!}</td>
+                    <td align="right">${pickRow.getReadyToVerifyQty()!}</td>
                   </tr>
                 </#if>
               </#list>
Index: applications/product/webapp/facility/shipment/ViewShipmentItemInfo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ViewShipmentItemInfo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ViewShipmentItemInfo.ftl	(working copy)
@@ -34,19 +34,19 @@
             <#assign itemIssuances = shipmentItemData.itemIssuances>
             <#assign orderShipments = shipmentItemData.orderShipments>
             <#assign shipmentPackageContents = shipmentItemData.shipmentPackageContents>
-            <#assign product = shipmentItemData.product?if_exists>
+            <#assign product = shipmentItemData.product!>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>${shipmentItem.shipmentItemSeqId}</td>
-                <td colspan="2">${(product.internalName)?if_exists} <a href="/catalog/control/EditProduct?productId=${shipmentItem.productId?if_exists}" class="buttontext">${shipmentItem.productId?if_exists}</a></td>
+                <td colspan="2">${(product.internalName)!} <a href="/catalog/control/EditProduct?productId=${shipmentItem.productId!}" class="buttontext">${shipmentItem.productId!}</a></td>
                 <td>${shipmentItem.quantity?default("&nbsp;")}</td>
                 <td colspan="2">${shipmentItem.shipmentContentDescription?default("&nbsp;")}</td>
             </tr>
             <#list orderShipments as orderShipment>
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
-                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${orderShipment.orderId?if_exists}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${orderShipment.orderId?if_exists}</a>${orderShipment.orderItemSeqId?if_exists}</td>
+                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${orderShipment.orderId!}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${orderShipment.orderId!}</a>${orderShipment.orderItemSeqId!}</td>
                     <td>&nbsp;</td>
-                    <td>${orderShipment.quantity?if_exists}</td>
+                    <td>${orderShipment.quantity!}</td>
                     <td>&nbsp;</td>
                     <td>&nbsp;</td>
                 </tr>
@@ -54,10 +54,10 @@
             <#list itemIssuances as itemIssuance>
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
-                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${itemIssuance.orderId?if_exists}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${itemIssuance.orderId?if_exists}</a>${itemIssuance.orderItemSeqId?if_exists}</td>
-                    <td><span class="label">${uiLabelMap.ProductInventory}</span> <a href="<@ofbizUrl>EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId?if_exists}</@ofbizUrl>" class="buttontext">${itemIssuance.inventoryItemId?if_exists}</a></td>
-                    <td>${itemIssuance.quantity?if_exists}</td>
-                    <td>${itemIssuance.issuedDateTime?if_exists}</td>
+                    <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${itemIssuance.orderId!}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${itemIssuance.orderId!}</a>${itemIssuance.orderItemSeqId!}</td>
+                    <td><span class="label">${uiLabelMap.ProductInventory}</span> <a href="<@ofbizUrl>EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId!}</@ofbizUrl>" class="buttontext">${itemIssuance.inventoryItemId!}</a></td>
+                    <td>${itemIssuance.quantity!}</td>
+                    <td>${itemIssuance.issuedDateTime!}</td>
                     <td class="label">${uiLabelMap.ProductFuturePartyRoleList}</td>
                 </tr>
             </#list>
@@ -65,7 +65,7 @@
                 <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                     <td>&nbsp;</td>
                     <td colspan="2"><span class="label">${uiLabelMap.ProductPackage}</span> ${shipmentPackageContent.shipmentPackageSeqId}</td>
-                    <td>${shipmentPackageContent.quantity?if_exists}</td>
+                    <td>${shipmentPackageContent.quantity!}</td>
                     <td colspan="2">&nbsp;</td>
                 </tr>
             </#list>
Index: applications/product/webapp/facility/shipment/ViewShipmentRouteInfo.ftl
===================================================================
--- applications/product/webapp/facility/shipment/ViewShipmentRouteInfo.ftl	(revision 1590602)
+++ applications/product/webapp/facility/shipment/ViewShipmentRouteInfo.ftl	(working copy)
@@ -46,53 +46,53 @@
         <#assign alt_row = false>
         <#list shipmentRouteSegmentDatas as shipmentRouteSegmentData>
             <#assign shipmentRouteSegment = shipmentRouteSegmentData.shipmentRouteSegment>
-            <#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs?if_exists>
-            <#assign originFacility = shipmentRouteSegmentData.originFacility?if_exists>
-            <#assign destFacility = shipmentRouteSegmentData.destFacility?if_exists>
-            <#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType?if_exists>
-            <#assign carrierPerson = shipmentRouteSegmentData.carrierPerson?if_exists>
-            <#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup?if_exists>
-            <#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress?if_exists>
-            <#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress?if_exists>
-            <#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber?if_exists>
-            <#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber?if_exists>
-            <#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem?if_exists>
-            <#assign currencyUom = shipmentRouteSegmentData.currencyUom?if_exists>
-            <#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom?if_exists>
-            <#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails?if_exists>
+            <#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs!>
+            <#assign originFacility = shipmentRouteSegmentData.originFacility!>
+            <#assign destFacility = shipmentRouteSegmentData.destFacility!>
+            <#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType!>
+            <#assign carrierPerson = shipmentRouteSegmentData.carrierPerson!>
+            <#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup!>
+            <#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress!>
+            <#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress!>
+            <#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber!>
+            <#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber!>
+            <#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem!>
+            <#assign currencyUom = shipmentRouteSegmentData.currencyUom!>
+            <#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom!>
+            <#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails!>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>${shipmentRouteSegment.shipmentRouteSegmentId}</td>
                 <td>
-                    <span>${(carrierPerson.firstName)?if_exists} ${(carrierPerson.middleName)?if_exists} ${(carrierPerson.lastName)?if_exists} ${(carrierPartyGroup.groupName)?if_exists} [${shipmentRouteSegment.carrierPartyId?if_exists}]</span>
-                    <span>${shipmentMethodType.description?default(shipmentRouteSegment.shipmentMethodTypeId?if_exists)}</span>
+                    <span>${(carrierPerson.firstName)!} ${(carrierPerson.middleName)!} ${(carrierPerson.lastName)!} ${(carrierPartyGroup.groupName)!} [${shipmentRouteSegment.carrierPartyId!}]</span>
+                    <span>${shipmentMethodType.description?default(shipmentRouteSegment.shipmentMethodTypeId!)}</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductOrigin}</span>
-                    <span>${(originFacility.facilityName)?if_exists} [${originFacility.facilityId?if_exists}]</span>
+                    <span>${(originFacility.facilityName)!} [${originFacility.facilityId!}]</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductDest}</span>
-                    <span>${(destFacility.facilityName)?if_exists} [${destFacility.facilityId?if_exists}]</span>
+                    <span>${(destFacility.facilityName)!} [${destFacility.facilityId!}]</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductOrigin}</span>
-                    <span><#if originPostalAddress?has_content>${uiLabelMap.CommonTo} : ${originPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${originPostalAddress.attnName?if_exists}, ${originPostalAddress.address1?if_exists}, ${originPostalAddress.address2?if_exists}, ${originPostalAddress.city?if_exists}, ${originPostalAddress.stateProvinceGeoId?if_exists}, ${originPostalAddress.postalCode?if_exists}, ${originPostalAddress.countryGeoId?if_exists}</#if> [${shipmentRouteSegment.originContactMechId?if_exists}]</span>
+                    <span><#if originPostalAddress?has_content>${uiLabelMap.CommonTo} : ${originPostalAddress.toName!}, ${uiLabelMap.CommonAttn} : ${originPostalAddress.attnName!}, ${originPostalAddress.address1!}, ${originPostalAddress.address2!}, ${originPostalAddress.city!}, ${originPostalAddress.stateProvinceGeoId!}, ${originPostalAddress.postalCode!}, ${originPostalAddress.countryGeoId!}</#if> [${shipmentRouteSegment.originContactMechId!}]</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductDest}</span>
-                    <span><#if destPostalAddress?has_content>${uiLabelMap.CommonTo} : ${destPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${destPostalAddress.attnName?if_exists}, ${destPostalAddress.address1?if_exists}, ${destPostalAddress.address2?if_exists}, ${destPostalAddress.city?if_exists}, ${destPostalAddress.stateProvinceGeoId?if_exists}, ${destPostalAddress.postalCode?if_exists}, ${destPostalAddress.countryGeoId?if_exists}</#if> [${shipmentRouteSegment.destContactMechId?if_exists}]</span>
+                    <span><#if destPostalAddress?has_content>${uiLabelMap.CommonTo} : ${destPostalAddress.toName!}, ${uiLabelMap.CommonAttn} : ${destPostalAddress.attnName!}, ${destPostalAddress.address1!}, ${destPostalAddress.address2!}, ${destPostalAddress.city!}, ${destPostalAddress.stateProvinceGeoId!}, ${destPostalAddress.postalCode!}, ${destPostalAddress.countryGeoId!}</#if> [${shipmentRouteSegment.destContactMechId!}]</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductOrigin}</span>
-                    <span><#if originTelecomNumber?has_content>${originTelecomNumber.countryCode?if_exists}  ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}</#if> [${shipmentRouteSegment.originTelecomNumberId?if_exists}]</span>
+                    <span><#if originTelecomNumber?has_content>${originTelecomNumber.countryCode!}  ${originTelecomNumber.areaCode!} ${originTelecomNumber.contactNumber!}</#if> [${shipmentRouteSegment.originTelecomNumberId!}]</span>
                     <br />
                     <span class="label">${uiLabelMap.ProductDest}</span>
-                    <span><#if destTelecomNumber?has_content>${destTelecomNumber.countryCode?if_exists}  ${destTelecomNumber.areaCode?if_exists} ${destTelecomNumber.contactNumber?if_exists}</#if> [${shipmentRouteSegment.destTelecomNumberId?if_exists}]</span>
+                    <span><#if destTelecomNumber?has_content>${destTelecomNumber.countryCode!}  ${destTelecomNumber.areaCode!} ${destTelecomNumber.contactNumber!}</#if> [${shipmentRouteSegment.destTelecomNumberId!}]</span>
                     <br />
                 </td>
                 <td>
                     <div>${(carrierServiceStatus.description)?default("&nbsp;")}</div>
                     <div>${shipmentRouteSegment.trackingIdNumber?default("&nbsp;")}</div>
-                    <div>${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists} - ${(shipmentRouteSegment.estimatedArrivalDate.toString())?if_exists}</div>
-                    <div>${(shipmentRouteSegment.actualStartDate.toString())?if_exists} - ${(shipmentRouteSegment.actualArrivalDate.toString())?if_exists}</div>
+                    <div>${(shipmentRouteSegment.estimatedStartDate.toString())!} - ${(shipmentRouteSegment.estimatedArrivalDate.toString())!}</div>
+                    <div>${(shipmentRouteSegment.actualStartDate.toString())!} - ${(shipmentRouteSegment.actualArrivalDate.toString())!}</div>
                 </td>
                 <td>
-                    <div>${shipmentRouteSegment.billingWeight?if_exists} ${(billingWeightUom.get("description",locale))?if_exists} [${(billingWeightUom.abbreviation)?if_exists}]</div>
+                    <div>${shipmentRouteSegment.billingWeight!} ${(billingWeightUom.get("description",locale))!} [${(billingWeightUom.abbreviation)!}]</div>
                     <div>${(currencyUom.get("description",locale))?default("&nbsp;")}</div>
                     <div>${(shipmentRouteSegment.actualTransportCost)?default("&nbsp;")}</div>
                     <div>${(shipmentRouteSegment.actualServiceCost)?default("&nbsp;")}</div>
@@ -104,8 +104,8 @@
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td>&nbsp;</td>
                 <td><span class="label">${uiLabelMap.ProductPackage}</span> ${shipmentPackageRouteSeg.shipmentPackageSeqId}</td>
-                <td><span class="label">${uiLabelMap.ProductTracking}</span> ${shipmentPackageRouteSeg.trackingCode?if_exists}</td>
-                <td><span class="label">${uiLabelMap.ProductBox}</span> ${shipmentPackageRouteSeg.boxNumber?if_exists}</td>
+                <td><span class="label">${uiLabelMap.ProductTracking}</span> ${shipmentPackageRouteSeg.trackingCode!}</td>
+                <td><span class="label">${uiLabelMap.ProductBox}</span> ${shipmentPackageRouteSeg.boxNumber!}</td>
             </tr>
             </#list>
             <#-- toggle the row color -->
Index: applications/product/webapp/catalog/feature/EditFeatureCategoryFeatures.ftl
===================================================================
--- applications/product/webapp/catalog/feature/EditFeatureCategoryFeatures.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/feature/EditFeatureCategoryFeatures.ftl	(working copy)
@@ -18,11 +18,11 @@
 -->
 <div class="screenlet">
     <div class="screenlet-title-bar">
-        <h3>${uiLabelMap.ProductEditFeaturesForFeatureCategory} "${(curProductFeatureCategory.description)?if_exists}"</h3>
+        <h3>${uiLabelMap.ProductEditFeaturesForFeatureCategory} "${(curProductFeatureCategory.description)!}"</h3>
     </div>
     <div class="screenlet-body">
         <div class="button-bar">
-          <a href="<@ofbizUrl>CreateFeature?productFeatureCategoryId=${productFeatureCategoryId?if_exists}</@ofbizUrl>" class="buttontext create">${uiLabelMap.ProductCreateNewFeature}</a>
+          <a href="<@ofbizUrl>CreateFeature?productFeatureCategoryId=${productFeatureCategoryId!}</@ofbizUrl>" class="buttontext create">${uiLabelMap.ProductCreateNewFeature}</a>
         </div>
         <br/>
         <form action="<@ofbizUrl>QuickAddProductFeatures</@ofbizUrl>" method="post">
@@ -52,11 +52,11 @@
                     <span class="label">
                     <b>
                     <#if (viewIndex > 0)>
-                    <a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${productFeatureCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}${productString?if_exists}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
+                    <a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${productFeatureCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}${productString!}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
                     </#if>
                     ${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}
                     <#if (listSize > highIndex)>
-                    | <a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${productFeatureCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}${productString?if_exists}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
+                    | <a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${productFeatureCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}${productString!}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
                     </#if>
                     </b>
                     </span>
@@ -94,29 +94,29 @@
               <td><input type="text" size='15' name="description_o_${rowCount}" value="${productFeature.description}" /></td>
               <td><select name='productFeatureTypeId_o_${rowCount}' size="1">
                 <#if productFeature.productFeatureTypeId?has_content>
-                  <option value='${productFeature.productFeatureTypeId}'><#if curProductFeatureType?exists>${curProductFeatureType.get("description",locale)?if_exists}<#else> [${productFeature.productFeatureTypeId}]</#if></option>
+                  <option value='${productFeature.productFeatureTypeId}'><#if curProductFeatureType??>${curProductFeatureType.get("description",locale)!}<#else> [${productFeature.productFeatureTypeId}]</#if></option>
                   <option value='${productFeature.productFeatureTypeId}'>---</option>
                 </#if>
                 <#list productFeatureTypes as productFeatureType>
-                  <option value='${productFeatureType.productFeatureTypeId}'>${productFeatureType.get("description",locale)?if_exists}</option>
+                  <option value='${productFeatureType.productFeatureTypeId}'>${productFeatureType.get("description",locale)!}</option>
                 </#list>
               </select></td>
               <td><select name='productFeatureCategoryId_o_${rowCount}' size="1">
                 <#if productFeature.productFeatureCategoryId?has_content>
                   <#assign curProdFeatCat = productFeature.getRelatedOne("ProductFeatureCategory", false)>
-                  <option value='${productFeature.productFeatureCategoryId}'>${(curProdFeatCat.description)?if_exists} [${productFeature.productFeatureCategoryId}]</option>
+                  <option value='${productFeature.productFeatureCategoryId}'>${(curProdFeatCat.description)!} [${productFeature.productFeatureCategoryId}]</option>
                   <option value='${productFeature.productFeatureCategoryId}'>---</option>
                 </#if>
                 <#list productFeatureCategories as productFeatureCategory>
-                  <option value='${productFeatureCategory.productFeatureCategoryId}'>${productFeatureCategory.get("description",locale)?if_exists} [${productFeatureCategory.productFeatureCategoryId}]</option>
+                  <option value='${productFeatureCategory.productFeatureCategoryId}'>${productFeatureCategory.get("description",locale)!} [${productFeatureCategory.productFeatureCategoryId}]</option>
                 </#list>
               </select></td>
-              <td><input type="text" size='10' name="uomId_o_${rowCount}" value="${productFeature.uomId?if_exists}" /></td>
-              <td><input type="text" size='5' name="numberSpecified_o_${rowCount}" value="${productFeature.numberSpecified?if_exists}" /></td>
-              <td><input type="text" size='5' name="defaultAmount_o_${rowCount}" value="${productFeature.defaultAmount?if_exists}" /></td>
-              <td><input type="text" size='5' name="defaultSequenceNum_o_${rowCount}" value="${productFeature.defaultSequenceNum?if_exists}" /></td>
-              <td><input type="text" size='5' name="idCode_o_${rowCount}" value="${productFeature.idCode?if_exists}" /></td>
-              <td><input type="text" size='5' name="abbrev_o_${rowCount}" value="${productFeature.abbrev?if_exists}" /></td>
+              <td><input type="text" size='10' name="uomId_o_${rowCount}" value="${productFeature.uomId!}" /></td>
+              <td><input type="text" size='5' name="numberSpecified_o_${rowCount}" value="${productFeature.numberSpecified!}" /></td>
+              <td><input type="text" size='5' name="defaultAmount_o_${rowCount}" value="${productFeature.defaultAmount!}" /></td>
+              <td><input type="text" size='5' name="defaultSequenceNum_o_${rowCount}" value="${productFeature.defaultSequenceNum!}" /></td>
+              <td><input type="text" size='5' name="idCode_o_${rowCount}" value="${productFeature.idCode!}" /></td>
+              <td><input type="text" size='5' name="abbrev_o_${rowCount}" value="${productFeature.abbrev!}" /></td>
               <td align="right"><input type="checkbox" name="_rowSubmit_o_${rowCount}" value="Y" onclick="javascript:checkToggle(this, 'selectAllForm');highlightRow(this,'productFeatureId_tableRow_${rowCount}');" /></td>
             </tr>
             <#assign rowCount = rowCount + 1>
Index: applications/product/webapp/catalog/feature/EditFeatureGroups.ftl
===================================================================
--- applications/product/webapp/catalog/feature/EditFeatureGroups.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/feature/EditFeatureGroups.ftl	(working copy)
@@ -36,7 +36,7 @@
                 <td>
                     <form method='post' action='<@ofbizUrl>UpdateProductFeatureGroup</@ofbizUrl>'>
                     <input type='hidden' name="productFeatureGroupId" value="${productFeatureGroup.productFeatureGroupId}" />
-                    <input type='text' size='30' name="description" value="${productFeatureGroup.description?if_exists}" />
+                    <input type='text' size='30' name="description" value="${productFeatureGroup.description!}" />
                     <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                     </form>
                 </td>
Index: applications/product/webapp/catalog/feature/BulkAddFeature.ftl
===================================================================
--- applications/product/webapp/catalog/feature/BulkAddFeature.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/feature/BulkAddFeature.ftl	(working copy)
@@ -39,7 +39,7 @@
               <td><input type="text" size='15' name="description_o_${feature_index}" /></td>
               <td><select name='productFeatureTypeId_o_${feature_index}' size="1">
                   <#list productFeatureTypes as productFeatureType>
-                  <option value='${productFeatureType.productFeatureTypeId}'>${productFeatureType.get("description",locale)?if_exists}</option>
+                  <option value='${productFeatureType.productFeatureTypeId}'>${productFeatureType.get("description",locale)!}</option>
                   </#list>
                   </select>
                   <input name='productFeatureCategoryId_o_${feature_index}' type="hidden" value="${productFeatureCategoryId}" />
Index: applications/product/webapp/catalog/store/EditProductStoreWebSites.ftl
===================================================================
--- applications/product/webapp/catalog/store/EditProductStoreWebSites.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/store/EditProductStoreWebSites.ftl	(working copy)
@@ -33,7 +33,7 @@
               <#assign rowClass = "2">
               <#list storeWebSites as webSite>
                 <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                  <td><a href="/content/control/EditWebSite?webSiteId=${webSite.webSiteId}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${webSite.siteName?if_exists} [${webSite.webSiteId}]</a></td>
+                  <td><a href="/content/control/EditWebSite?webSiteId=${webSite.webSiteId}&amp;externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${webSite.siteName!} [${webSite.webSiteId}]</a></td>
                   <td>${webSite.httpHost?default('&nbsp;')}</td>
                   <td>${webSite.httpPort?default('&nbsp;')}</td>
                   <td align="center">
@@ -66,7 +66,7 @@
             <input type="hidden" name="productStoreId" value="${productStoreId}" />
             <select name="webSiteId">
               <#list webSites as webSite>
-                <option value="${webSite.webSiteId}">${webSite.siteName?if_exists} [${webSite.webSiteId}]</option>
+                <option value="${webSite.webSiteId}">${webSite.siteName!} [${webSite.webSiteId}]</option>
               </#list>
             </select>
             <input type="submit" class="smallSubmit" value="${uiLabelMap.CommonUpdate}" />
Index: applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl
===================================================================
--- applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl	(working copy)
@@ -34,7 +34,7 @@
 var rawdata = [
     <#list parentGroupList as parentGroup>
                    {
-                    "data": {"title" : unescapeHtmlText("<#if parentGroup.productStoreGroupName?exists>${parentGroup.productStoreGroupName?js_string} [${parentGroup.productStoreGroupId}]</#if>"),
+                    "data": {"title" : unescapeHtmlText("<#if parentGroup.productStoreGroupName??>${parentGroup.productStoreGroupName?js_string} [${parentGroup.productStoreGroupId}]</#if>"),
                                   "attr": {"href" : "<@ofbizUrl>/EditProductStoreGroupAndAssoc</@ofbizUrl>","onClick" : "callDocument('${parentGroup.productStoreGroupId}');"}},
                     "attr": {"parentGroupId" : "${parentGroup.productStoreGroupId}"}, 
                     "state" : "closed"
Index: applications/product/webapp/catalog/store/EditProductStoreSurveys.ftl
===================================================================
--- applications/product/webapp/catalog/store/EditProductStoreSurveys.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/store/EditProductStoreSurveys.ftl	(working copy)
@@ -38,12 +38,12 @@
               <#assign survey = storeSurvey.getRelatedOne("Survey", false)>
               <tr valign="middle"<#if alt_row>class="alternate-row"</#if>>
                 <td>${surveyType.get("description",locale)}</td>
-                <td>${storeSurvey.groupName?if_exists}</td>
+                <td>${storeSurvey.groupName!}</td>
                 <td><a href="/content/control/EditSurvey?surveyId=${storeSurvey.surveyId}" class="buttontext">${survey.description?default("[" + survey.surveyId + "]")}</a></td>
                 <td>${storeSurvey.productId?default("${uiLabelMap.CommonNA}")}</td>
                 <td>${storeSurvey.productCategoryId?default("${uiLabelMap.CommonNA}")}</td>
-                <td>${storeSurvey.fromDate?if_exists?string}</td>
-                <td>${storeSurvey.sequenceNum?if_exists}</td>
+                <td>${storeSurvey.fromDate!?string}</td>
+                <td>${storeSurvey.sequenceNum!}</td>
                 <td>
                   <form name="deleteProductStoreSurveyAppl_${storeSurvey_index}" method="post" action="<@ofbizUrl>deleteProductStoreSurveyAppl</@ofbizUrl>">
                     <input type="hidden" name="productStoreId" value="${productStoreId}" />
Index: applications/product/webapp/catalog/store/EditProductStoreShipSetup.ftl
===================================================================
--- applications/product/webapp/catalog/store/EditProductStoreShipSetup.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/store/EditProductStoreShipSetup.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 <form name="addscarr" method="post" action="<@ofbizUrl>prepareCreateShipMeth</@ofbizUrl>">
     <input type="hidden" name="newShipMethod" value="Y"/>
-    <input type="hidden" name="productStoreId" value="${productStoreId?if_exists}"/>
+    <input type="hidden" name="productStoreId" value="${productStoreId!}"/>
     <table cellspacing="0" class="basic-table">
         <tr>
           <td align="right" class="label">${uiLabelMap.ProductCarrierShipmentMethod}</td>
Index: applications/product/webapp/catalog/promo/FindProductPromoCode.ftl
===================================================================
--- applications/product/webapp/catalog/promo/FindProductPromoCode.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/promo/FindProductPromoCode.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if productPromoId?exists>
+<#if productPromoId??>
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <h3>${uiLabelMap.ProductPromotionUploadSetOfPromotionCodes}</h3>
Index: applications/product/webapp/catalog/promo/EditProductPromoCode.ftl
===================================================================
--- applications/product/webapp/catalog/promo/EditProductPromoCode.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/promo/EditProductPromoCode.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if productPromoCode?exists>
+<#if productPromoCode??>
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <h3>${uiLabelMap.ProductPromoCodeEmails}</h3>
@@ -34,16 +34,16 @@
             </#list>
             <div>
                 <form method="post" action="<@ofbizUrl>createProductPromoCodeEmail</@ofbizUrl>" style="margin: 0;">
-                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId?if_exists}"/>
+                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId!}"/>
                     <input type="hidden" name="productPromoId" value="${productPromoId}"/>
                     <span class="label">${uiLabelMap.ProductAddEmail}:</span><input type="text" size="40" name="emailAddress" />
                     <input type="submit" value="${uiLabelMap.CommonAdd}" />
                 </form>
-                <#if productPromoCode.requireEmailOrParty?if_exists == "N">
+                <#if productPromoCode.requireEmailOrParty! == "N">
                     <div class="tooltip">${uiLabelMap.ProductNoteRequireEmailParty}</div>
                 </#if>
-                <form method="post" action="<@ofbizUrl>createBulkProductPromoCodeEmail?productPromoCodeId=${productPromoCodeId?if_exists}</@ofbizUrl>" enctype="multipart/form-data" style="margin: 0;">
-                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId?if_exists}"/>
+                <form method="post" action="<@ofbizUrl>createBulkProductPromoCodeEmail?productPromoCodeId=${productPromoCodeId!}</@ofbizUrl>" enctype="multipart/form-data" style="margin: 0;">
+                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId!}"/>
                     <input type="hidden" name="productPromoId" value="${productPromoId}"/>
                     <input type="file" size="40" name="uploadedFile" />
                     <input type="submit" value="${uiLabelMap.CommonUpload}" />
@@ -61,7 +61,7 @@
             </#list>
             <div>
                 <form method="post" action="<@ofbizUrl>createProductPromoCodeParty</@ofbizUrl>">
-                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId?if_exists}"/>
+                    <input type="hidden" name="productPromoCodeId" value="${productPromoCodeId!}"/>
                     <input type="hidden" name="productPromoId" value="${productPromoId}"/>
                     <span class="label">${uiLabelMap.ProductAddPartyId}:</span><input type="text" size="10" name="partyId" />
                     <input type="submit" value="${uiLabelMap.CommonAdd}" />
Index: applications/product/webapp/catalog/promo/EditProductPromoRules.ftl
===================================================================
--- applications/product/webapp/catalog/promo/EditProductPromoRules.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/promo/EditProductPromoRules.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if productPromoId?exists && productPromo?exists>
+<#if productPromoId?? && productPromo??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <h3>${uiLabelMap.PageTitleEditProductPromoRules}</h3>
@@ -37,20 +37,20 @@
         <tr><td colspan="3"><hr /></td></tr>
       </#if>
       <tr valign="middle" class="row-level-one<#if ruleClass == "1"> alternate-row</#if>">
-        <td class="label"><b> ${uiLabelMap.ProductRule} ${(productPromoRule.productPromoRuleId)?if_exists}</b></td>
+        <td class="label"><b> ${uiLabelMap.ProductRule} ${(productPromoRule.productPromoRuleId)!}</b></td>
         <td>
           <form method="post" action="<@ofbizUrl>updateProductPromoRule</@ofbizUrl>">
-            <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)?if_exists}" />
-            <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)?if_exists}" />
-            <input type="text" size="30" name="ruleName" value="${(productPromoRule.ruleName)?if_exists}" />
+            <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)!}" />
+            <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)!}" />
+            <input type="text" size="30" name="ruleName" value="${(productPromoRule.ruleName)!}" />
             <input type="submit" value="${uiLabelMap.CommonUpdate}" />
           </form>
         </td>
         <td align="center">&nbsp;
     <#if (productPromoConds.size() == 0 && productPromoActions.size() == 0)>
           <form name="deleteProductPromoRule_${productPromoRule_index}" method="post" action="<@ofbizUrl>deleteProductPromoRule</@ofbizUrl>">
-            <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)?if_exists}" />
-            <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)?if_exists}" />
+            <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)!}" />
+            <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)!}" />
             <a href="javascript:document.deleteProductPromoRule_${productPromoRule_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
           </form>
     </#if>
@@ -58,7 +58,7 @@
       </tr>
       <tr><td><hr /></td><td colspan="2"></td></tr>
       <tr valign="top" class="row-level-one<#if ruleClass == "1"> alternate-row</#if>">
-        <td align="right" class="label">${uiLabelMap.ProductConditionsForRule} ${(productPromoRule.productPromoRuleId)?if_exists} :</td>
+        <td align="right" class="label">${uiLabelMap.ProductConditionsForRule} ${(productPromoRule.productPromoRuleId)!} :</td>
         <td colspan="2">
           <table cellspacing="0" class="basic-table">
     <#assign maxCondSeqId = 1>
@@ -66,7 +66,7 @@
     <#list productPromoConds as productPromoCond>
             <tr class="row-level-two<#if condClass == "1"> alternate-row</#if>">
               <!-- if cur seq id is a number and is greater than max, set new max for input box prefill below -->
-      <#if (productPromoCond.productPromoCondSeqId)?exists>
+      <#if (productPromoCond.productPromoCondSeqId)??>
         <#assign curCondSeqId = Static["java.lang.Integer"].valueOf(productPromoCond.getString("productPromoCondSeqId"))>
         <#if (curCondSeqId >= maxCondSeqId)>
           <#assign maxCondSeqId = curCondSeqId + 1>
@@ -74,41 +74,41 @@
       </#if>
               <td></td>
               <td>
-                <b>${uiLabelMap.ProductCondition} ${(productPromoCond.productPromoCondSeqId)?if_exists}</b>
+                <b>${uiLabelMap.ProductCondition} ${(productPromoCond.productPromoCondSeqId)!}</b>
                 <form method="post" action="<@ofbizUrl>updateProductPromoCond</@ofbizUrl>">
-                  <input type="hidden" name="productPromoId" value="${(productPromoCond.productPromoId)?if_exists}"/>
-                  <input type="hidden" name="productPromoRuleId" value="${(productPromoCond.productPromoRuleId)?if_exists}"/>
-                  <input type="hidden" name="productPromoCondSeqId" value="${(productPromoCond.productPromoCondSeqId)?if_exists}"/>
+                  <input type="hidden" name="productPromoId" value="${(productPromoCond.productPromoId)!}"/>
+                  <input type="hidden" name="productPromoRuleId" value="${(productPromoCond.productPromoRuleId)!}"/>
+                  <input type="hidden" name="productPromoCondSeqId" value="${(productPromoCond.productPromoCondSeqId)!}"/>
                   <select name="inputParamEnumId" size="1">
-      <#if (productPromoCond.inputParamEnumId)?exists>
+      <#if (productPromoCond.inputParamEnumId)??>
         <#assign inputParamEnum = productPromoCond.getRelatedOne("InputParamEnumeration", true)>
-                    <option value="${productPromoCond.inputParamEnumId}"><#if inputParamEnum?exists>${(inputParamEnum.get("description",locale))?if_exists}<#else>[${(productPromoCond.inputParamEnumId)?if_exists}]</#if></option>
-                    <option value="${(productPromoCond.inputParamEnumId)?if_exists}">&nbsp;</option>
+                    <option value="${productPromoCond.inputParamEnumId}"><#if inputParamEnum??>${(inputParamEnum.get("description",locale))!}<#else>[${(productPromoCond.inputParamEnumId)!}]</#if></option>
+                    <option value="${(productPromoCond.inputParamEnumId)!}">&nbsp;</option>
       <#else>
                     <option value="">&nbsp;</option>
       </#if>
       <#list inputParamEnums as inputParamEnum>
-                    <option value="${(inputParamEnum.enumId)?if_exists}">${(inputParamEnum.get("description",locale))?if_exists}</option>
+                    <option value="${(inputParamEnum.enumId)!}">${(inputParamEnum.get("description",locale))!}</option>
       </#list>
                   </select>
                   <select name="operatorEnumId" size="1">
-      <#if (productPromoCond.operatorEnumId)?exists>
+      <#if (productPromoCond.operatorEnumId)??>
         <#assign operatorEnum = productPromoCond.getRelatedOne("OperatorEnumeration", true)>
-                    <option value="${(productPromoCond.operatorEnumId)?if_exists}"><#if operatorEnum?exists>${(operatorEnum.get("description",locale))?if_exists}<#else>[${(productPromoCond.operatorEnumId)?if_exists}]</#if></option>
-                    <option value="${(productPromoCond.operatorEnumId)?if_exists}">&nbsp;</option>
+                    <option value="${(productPromoCond.operatorEnumId)!}"><#if operatorEnum??>${(operatorEnum.get("description",locale))!}<#else>[${(productPromoCond.operatorEnumId)!}]</#if></option>
+                    <option value="${(productPromoCond.operatorEnumId)!}">&nbsp;</option>
       <#else>
                     <option value="">&nbsp;</option>
       </#if>
       <#list condOperEnums as condOperEnum>
-                    <option value="${(condOperEnum.enumId)?if_exists}">${(condOperEnum.get("description",locale))?if_exists}</option>
+                    <option value="${(condOperEnum.enumId)!}">${(condOperEnum.get("description",locale))!}</option>
       </#list>
                   </select>
                   <label>${uiLabelMap.ProductConditionValue}:</label>
-                  <input type="text" size="25" name="condValue" value="${(productPromoCond.condValue)?if_exists}" />
-      <#assign otherValue = productPromoCond.otherValue?if_exists>
-                  <label>${uiLabelMap.CommonOther}:</label><input type="text" size="10" name="otherValue" <#if otherValue?has_content && !otherValue.contains("@")> value="${(productPromoCond.otherValue)?if_exists}"</#if> />
+                  <input type="text" size="25" name="condValue" value="${(productPromoCond.condValue)!}" />
+      <#assign otherValue = productPromoCond.otherValue!>
+                  <label>${uiLabelMap.CommonOther}:</label><input type="text" size="10" name="otherValue" <#if otherValue?has_content && !otherValue.contains("@")> value="${(productPromoCond.otherValue)!}"</#if> />
       <#if otherValue?has_content && otherValue.contains("@")>
-        <#assign carrierShippingMethod = productPromoCond.otherValue?if_exists>
+        <#assign carrierShippingMethod = productPromoCond.otherValue!>
       </#if>
       <#if carrierShippingMethod?has_content>
         <#assign carrierParty = carrierShippingMethod.substring(0, carrierShippingMethod.indexOf("@"))>
@@ -119,40 +119,40 @@
       </#if>
                   <label>${uiLabelMap.OrderSelectShippingMethod}:</label>
                   <select name = "carrierShipmentMethod">
-                    <option value = "${carrierShippingMethod?if_exists}">${carrierParty?if_exists}&nbsp;${description}</option>
+                    <option value = "${carrierShippingMethod!}">${carrierParty!}&nbsp;${description}</option>
                     <option value = "">&nbsp;</option>
       <#list carrierShipmentMethods as carrierShipmentMethod>
         <#assign shipmentMethodType = carrierShipmentMethod.getRelatedOne("ShipmentMethodType", true)>
-                    <option value = "${carrierShipmentMethod.partyId?if_exists}@${carrierShipmentMethod.shipmentMethodTypeId?if_exists}">${carrierShipmentMethod.partyId?if_exists}&nbsp;${shipmentMethodType.get("description")?if_exists}</option>
+                    <option value = "${carrierShipmentMethod.partyId!}@${carrierShipmentMethod.shipmentMethodTypeId!}">${carrierShipmentMethod.partyId!}&nbsp;${shipmentMethodType.get("description")!}</option>
       </#list>
                   </select>
                   <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                 </form>
                 <form name="deleteProductPromoCondition_${productPromoRule_index}_${productPromoCond_index}" method="post" action="<@ofbizUrl>deleteProductPromoCond</@ofbizUrl>">
-                  <input type="hidden" name="productPromoId" value="${(productPromoCond.productPromoId)?if_exists}" />
-                  <input type="hidden" name="productPromoRuleId" value="${(productPromoCond.productPromoRuleId)?if_exists}" />
-                  <input type="hidden" name="productPromoCondSeqId" value="${(productPromoCond.productPromoCondSeqId)?if_exists}" />
+                  <input type="hidden" name="productPromoId" value="${(productPromoCond.productPromoId)!}" />
+                  <input type="hidden" name="productPromoRuleId" value="${(productPromoCond.productPromoRuleId)!}" />
+                  <input type="hidden" name="productPromoCondSeqId" value="${(productPromoCond.productPromoCondSeqId)!}" />
                   <a href="javascript:document.deleteProductPromoCondition_${productPromoRule_index}_${productPromoCond_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                 </form>
       <#-- ======================= Categories ======================== -->
-                <div class="label">${uiLabelMap.ProductConditionsCategoriesForCondition} ${(productPromoCond.productPromoCondSeqId)?if_exists}:</div>
+                <div class="label">${uiLabelMap.ProductConditionsCategoriesForCondition} ${(productPromoCond.productPromoCondSeqId)!}:</div>
       <#assign condProductPromoCategories = productPromoCond.getRelated("ProductPromoCategory", null, null, false)>
       <#if condProductPromoCategories?has_content>
       <#list condProductPromoCategories as condProductPromoCategory>
         <#assign condProductCategory = condProductPromoCategory.getRelatedOne("ProductCategory", true)>
         <#assign condApplEnumeration = condProductPromoCategory.getRelatedOne("ApplEnumeration", true)>
                 <div>
-                  ${(condProductCategory.get("description",locale))?if_exists} [${condProductPromoCategory.productCategoryId}]
+                  ${(condProductCategory.get("description",locale))!} [${condProductPromoCategory.productCategoryId}]
                   - ${(condApplEnumeration.get("description",locale))?default(condProductPromoCategory.productPromoApplEnumId)}
                   - ${uiLabelMap.ProductSubCats}? ${condProductPromoCategory.includeSubCategories?default("N")}
                   - ${uiLabelMap.CommonAnd} ${uiLabelMap.CommonGroup}: ${condProductPromoCategory.andGroupId}
                   <form name="deleteProductPromoCategoryCondition_${productPromoRule_index}_${condProductPromoCategory_index}_${productPromoCond_index}" method="post" action="<@ofbizUrl>deleteProductPromoCategory</@ofbizUrl>">
-                    <input type="hidden" name="productPromoId" value="${(condProductPromoCategory.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(condProductPromoCategory.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(condProductPromoCategory.productPromoActionSeqId)?if_exists}" />
-                    <input type="hidden" name="productPromoCondSeqId" value="${(condProductPromoCategory.productPromoCondSeqId)?if_exists}" />
-                    <input type="hidden" name="productCategoryId" value="${(condProductPromoCategory.productCategoryId)?if_exists}" />
-                    <input type="hidden" name="andGroupId" value="${(condProductPromoCategory.andGroupId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(condProductPromoCategory.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(condProductPromoCategory.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(condProductPromoCategory.productPromoActionSeqId)!}" />
+                    <input type="hidden" name="productPromoCondSeqId" value="${(condProductPromoCategory.productPromoCondSeqId)!}" />
+                    <input type="hidden" name="productCategoryId" value="${(condProductPromoCategory.productCategoryId)!}" />
+                    <input type="hidden" name="andGroupId" value="${(condProductPromoCategory.andGroupId)!}" />
                     <a href="javascript:document.deleteProductPromoCategoryCondition_${productPromoRule_index}_${condProductPromoCategory_index}_${productPromoCond_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </div>
@@ -181,21 +181,21 @@
                   </form>
                 </div>
       <#-- ======================= Products ======================== -->
-                <div class="label">${uiLabelMap.ProductConditionsProductsForCondition} ${(productPromoCond.productPromoCondSeqId)?if_exists}:</div>
+                <div class="label">${uiLabelMap.ProductConditionsProductsForCondition} ${(productPromoCond.productPromoCondSeqId)!}:</div>
       <#assign condProductPromoProducts = productPromoCond.getRelated("ProductPromoProduct", null, null, false)>
       <#if condProductPromoProducts?has_content>
       <#list condProductPromoProducts as condProductPromoProduct>
-        <#assign condProduct = condProductPromoProduct.getRelatedOne("Product", true)?if_exists>
+        <#assign condProduct = condProductPromoProduct.getRelatedOne("Product", true)!>
         <#assign condApplEnumeration = condProductPromoProduct.getRelatedOne("ApplEnumeration", true)>
                 <div>
-                  ${(condProduct.internalName)?if_exists} [${condProductPromoProduct.productId}]
+                  ${(condProduct.internalName)!} [${condProductPromoProduct.productId}]
                   - ${(condApplEnumeration.get("description",locale))?default(condProductPromoProduct.productPromoApplEnumId)}
                   <form name="deleteProductPromoProductCondition_${productPromoRule_index}_${productPromoCond_index}_${condProductPromoProduct_index}" method="post" action="<@ofbizUrl>deleteProductPromoProduct</@ofbizUrl>">
-                    <input type="hidden" name="productPromoId" value="${(condProductPromoProduct.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(condProductPromoProduct.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(condProductPromoProduct.productPromoActionSeqId)?if_exists}" />
-                    <input type="hidden" name="productPromoCondSeqId" value="${(condProductPromoProduct.productPromoCondSeqId)?if_exists}" />
-                    <input type="hidden" name="productId" value="${(condProductPromoProduct.productId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(condProductPromoProduct.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(condProductPromoProduct.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(condProductPromoProduct.productPromoActionSeqId)!}" />
+                    <input type="hidden" name="productPromoCondSeqId" value="${(condProductPromoProduct.productPromoCondSeqId)!}" />
+                    <input type="hidden" name="productId" value="${(condProductPromoProduct.productId)!}" />
                     <a href="javascript:document.deleteProductPromoProductCondition_${productPromoRule_index}_${productPromoCond_index}_${condProductPromoProduct_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </div>
@@ -231,17 +231,17 @@
             <tr>
               <td colspan="3">
                 <form method="post" action="<@ofbizUrl>createProductPromoCond</@ofbizUrl>">
-                  <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)?if_exists}" />
-                  <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)?if_exists}" />
+                  <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)!}" />
+                  <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)!}" />
                   <span class="label"><b>${uiLabelMap.CommonNew}</b>&nbsp;</span>
                   <select name="inputParamEnumId" size="1">
     <#list inputParamEnums as inputParamEnum>
-                    <option value="${(inputParamEnum.enumId)?if_exists}">${(inputParamEnum.get("description",locale))?if_exists}</option>
+                    <option value="${(inputParamEnum.enumId)!}">${(inputParamEnum.get("description",locale))!}</option>
     </#list>
                   </select>
                   <select name="operatorEnumId" size="1">
     <#list condOperEnums as condOperEnum>
-                    <option value="${(condOperEnum.enumId)?if_exists}">${(condOperEnum.get("description",locale))?if_exists}</option>
+                    <option value="${(condOperEnum.enumId)!}">${(condOperEnum.get("description",locale))!}</option>
     </#list>
                   </select>
                   <label>${uiLabelMap.ProductConditionValue}:</label>
@@ -252,7 +252,7 @@
                     <option value = "">--${uiLabelMap.OrderSelectShippingMethod}--</option>
     <#list carrierShipmentMethods as carrierShipmentMethod>
       <#assign shipmentMethodType = carrierShipmentMethod.getRelatedOne("ShipmentMethodType", true)>
-                    <option value = "${carrierShipmentMethod.partyId?if_exists}@${carrierShipmentMethod.shipmentMethodTypeId?if_exists}">${carrierShipmentMethod.partyId?if_exists}&nbsp;${shipmentMethodType.get("description")?if_exists}</option>
+                    <option value = "${carrierShipmentMethod.partyId!}@${carrierShipmentMethod.shipmentMethodTypeId!}">${carrierShipmentMethod.partyId!}&nbsp;${shipmentMethodType.get("description")!}</option>
     </#list>
                   </select>
                   <input type="submit" value="${uiLabelMap.ProductCreateCondition}" />
@@ -264,7 +264,7 @@
       </tr>
       <tr><td><hr /></td><td colspan="2"></td></tr>
       <tr valign="top" class="row-level-one<#if ruleClass == "1"> alternate-row</#if>">
-        <td align="right" class="label">${uiLabelMap.ProductActionForRule} ${(productPromoRule.productPromoRuleId)?if_exists} :</td>
+        <td align="right" class="label">${uiLabelMap.ProductActionForRule} ${(productPromoRule.productPromoRuleId)!} :</td>
         <td colspan="2">
           <table cellspacing="0" class="basic-table">
     <#assign actionClass = "2">
@@ -273,35 +273,35 @@
               <td></td>
               <td>
                 <div>
-                  <b> ${uiLabelMap.ProductAction} ${(productPromoAction.productPromoActionSeqId)?if_exists}</b>
+                  <b> ${uiLabelMap.ProductAction} ${(productPromoAction.productPromoActionSeqId)!}</b>
                   <form method="post" action="<@ofbizUrl>updateProductPromoAction</@ofbizUrl>">
-                    <input type="hidden" name="productPromoId" value="${(productPromoAction.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(productPromoAction.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(productPromoAction.productPromoActionSeqId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(productPromoAction.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(productPromoAction.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(productPromoAction.productPromoActionSeqId)!}" />
                     <select name="productPromoActionEnumId" size="1">
-      <#if (productPromoAction.productPromoActionEnumId)?exists>
+      <#if (productPromoAction.productPromoActionEnumId)??>
         <#assign productPromoActionCurEnum = productPromoAction.getRelatedOne("ActionEnumeration", true)>
-                      <option value="${(productPromoAction.productPromoActionEnumId)?if_exists}"><#if productPromoActionCurEnum?exists>${(productPromoActionCurEnum.get("description",locale))?if_exists}<#else>[${(productPromoAction.productPromoActionEnumId)?if_exists}]</#if></option>
-                      <option value="${(productPromoAction.productPromoActionEnumId)?if_exists}">&nbsp;</option>
+                      <option value="${(productPromoAction.productPromoActionEnumId)!}"><#if productPromoActionCurEnum??>${(productPromoActionCurEnum.get("description",locale))!}<#else>[${(productPromoAction.productPromoActionEnumId)!}]</#if></option>
+                      <option value="${(productPromoAction.productPromoActionEnumId)!}">&nbsp;</option>
       <#else>
                       <option value="">&nbsp;</option>
       </#if>
       <#list productPromoActionEnums as productPromoActionEnum>
-                      <option value="${(productPromoActionEnum.enumId)?if_exists}">${(productPromoActionEnum.get("description",locale))?if_exists}</option>
+                      <option value="${(productPromoActionEnum.enumId)!}">${(productPromoActionEnum.get("description",locale))!}</option>
       </#list>
                     </select>
-                    <input type="hidden" name="orderAdjustmentTypeId" value="${(productPromoAction.orderAdjustmentTypeId)?if_exists}" />
-                    ${uiLabelMap.ProductQuantity}:&nbsp;<input type="text" size="5" name="quantity" value="${(productPromoAction.quantity)?if_exists}" />
-                    ${uiLabelMap.ProductAmount}:&nbsp;<input type="text" size="5" name="amount" value="${(productPromoAction.amount)?if_exists}" />
-                    ${uiLabelMap.ProductItemId}:&nbsp;<input type="text" size="15" name="productId" value="${(productPromoAction.productId)?if_exists}" />
-                    ${uiLabelMap.PartyParty}:&nbsp;<input type="text" size="10" name="partyId" value="${(productPromoAction.partyId)?if_exists}" /><br />
-                    ${uiLabelMap.ProductServiceName}:&nbsp;<input type="text" size="20" name="serviceName" value="${(productPromoAction.serviceName)?if_exists}" />
+                    <input type="hidden" name="orderAdjustmentTypeId" value="${(productPromoAction.orderAdjustmentTypeId)!}" />
+                    ${uiLabelMap.ProductQuantity}:&nbsp;<input type="text" size="5" name="quantity" value="${(productPromoAction.quantity)!}" />
+                    ${uiLabelMap.ProductAmount}:&nbsp;<input type="text" size="5" name="amount" value="${(productPromoAction.amount)!}" />
+                    ${uiLabelMap.ProductItemId}:&nbsp;<input type="text" size="15" name="productId" value="${(productPromoAction.productId)!}" />
+                    ${uiLabelMap.PartyParty}:&nbsp;<input type="text" size="10" name="partyId" value="${(productPromoAction.partyId)!}" /><br />
+                    ${uiLabelMap.ProductServiceName}:&nbsp;<input type="text" size="20" name="serviceName" value="${(productPromoAction.serviceName)!}" />
                     ${uiLabelMap.UseCartQuantity}:&nbsp;
                     <select name="useCartQuantity">
-      <#if (productPromoAction.useCartQuantity)?exists>
+      <#if (productPromoAction.useCartQuantity)??>
         <#assign productPromoActionCurEnum = productPromoAction.getRelatedOne("ActionEnumeration", true)>
-                      <option value="${(productPromoAction.useCartQuantity)?if_exists}"><#if (productPromoAction.useCartQuantity.equals("Y"))>${uiLabelMap.CommonY}<#else>${uiLabelMap.CommonN}</#if></option>
-                      <option value="${(productPromoAction.useCartQuantity)?if_exists}">&nbsp;</option>
+                      <option value="${(productPromoAction.useCartQuantity)!}"><#if (productPromoAction.useCartQuantity.equals("Y"))>${uiLabelMap.CommonY}<#else>${uiLabelMap.CommonN}</#if></option>
+                      <option value="${(productPromoAction.useCartQuantity)!}">&nbsp;</option>
       <#else>
                       <option value="">&nbsp;</option>
       </#if>
@@ -311,31 +311,31 @@
                     <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                   </form>
                   <form name="deleteProductPromoAction_${productPromoRule_index}_${productPromoAction_index}" method="post" action="<@ofbizUrl>deleteProductPromoAction</@ofbizUrl>">
-                    <input type="hidden" name="productPromoId" value="${(productPromoAction.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(productPromoAction.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(productPromoAction.productPromoActionSeqId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(productPromoAction.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(productPromoAction.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(productPromoAction.productPromoActionSeqId)!}" />
                     <a href="javascript:document.deleteProductPromoAction_${productPromoRule_index}_${productPromoAction_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </div>
       <#-- ======================= Categories ======================== -->
-                <div class="label">${uiLabelMap.ProductActionsCategoriesForAction} ${(productPromoAction.productPromoActionSeqId)?if_exists}:</div>
+                <div class="label">${uiLabelMap.ProductActionsCategoriesForAction} ${(productPromoAction.productPromoActionSeqId)!}:</div>
       <#assign actionProductPromoCategories = productPromoAction.getRelated("ProductPromoCategory", null, null, false)>
       <#if actionProductPromoCategories?has_content>
       <#list actionProductPromoCategories as actionProductPromoCategory>
         <#assign actionProductCategory = actionProductPromoCategory.getRelatedOne("ProductCategory", true)>
         <#assign actionApplEnumeration = actionProductPromoCategory.getRelatedOne("ApplEnumeration", true)>
                 <div>
-                  ${(actionProductCategory.description)?if_exists} [${actionProductPromoCategory.productCategoryId}]
+                  ${(actionProductCategory.description)!} [${actionProductPromoCategory.productCategoryId}]
                   - ${(actionApplEnumeration.get("description",locale))?default(actionProductPromoCategory.productPromoApplEnumId)}
                   - ${uiLabelMap.ProductSubCats}? ${actionProductPromoCategory.includeSubCategories?default("N")}
                   - ${uiLabelMap.CommonAnd} ${uiLabelMap.CommonGroup}: ${actionProductPromoCategory.andGroupId}
                   <form name="deleteProductPromoCategoryAction_${productPromoRule_index}_${productPromoAction_index}_${actionProductPromoCategory_index}" action="<@ofbizUrl>deleteProductPromoCategory</@ofbizUrl>" method="post">
-                    <input type="hidden" name="productPromoId" value="${(actionProductPromoCategory.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(actionProductPromoCategory.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoCondSeqId" value="${(actionProductPromoCategory.productPromoCondSeqId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(actionProductPromoCategory.productPromoActionSeqId)?if_exists}" />
-                    <input type="hidden" name="productCategoryId" value="${(actionProductPromoCategory.productCategoryId)?if_exists}" />
-                    <input type="hidden" name="andGroupId" value="${(actionProductPromoCategory.andGroupId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(actionProductPromoCategory.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(actionProductPromoCategory.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoCondSeqId" value="${(actionProductPromoCategory.productPromoCondSeqId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(actionProductPromoCategory.productPromoActionSeqId)!}" />
+                    <input type="hidden" name="productCategoryId" value="${(actionProductPromoCategory.productCategoryId)!}" />
+                    <input type="hidden" name="andGroupId" value="${(actionProductPromoCategory.andGroupId)!}" />
                     <a href="javascript:document.deleteProductPromoCategoryAction_${productPromoRule_index}_${productPromoAction_index}_${actionProductPromoCategory_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </div>
@@ -365,21 +365,21 @@
                   </form>
                 </div>
       <#-- ======================= Products ======================== -->
-                 <div class="label">${uiLabelMap.ProductActionsProductsForAction} ${(productPromoAction.productPromoActionSeqId)?if_exists}:</div>
+                 <div class="label">${uiLabelMap.ProductActionsProductsForAction} ${(productPromoAction.productPromoActionSeqId)!}:</div>
       <#assign actionProductPromoProducts = productPromoAction.getRelated("ProductPromoProduct", null, null, false)>
       <#if actionProductPromoProducts?has_content>
       <#list actionProductPromoProducts as actionProductPromoProduct>
-        <#assign actionProduct = actionProductPromoProduct.getRelatedOne("Product", true)?if_exists>
+        <#assign actionProduct = actionProductPromoProduct.getRelatedOne("Product", true)!>
         <#assign actionApplEnumeration = actionProductPromoProduct.getRelatedOne("ApplEnumeration", true)>
                 <div>
-                  ${(actionProduct.internalName)?if_exists} [${actionProductPromoProduct.productId}]
+                  ${(actionProduct.internalName)!} [${actionProductPromoProduct.productId}]
                   - ${(actionApplEnumeration.get("description",locale))?default(actionProductPromoProduct.productPromoApplEnumId)}
                   <form name="deleteProductPromoProductAction_${productPromoRule_index}_${productPromoAction_index}_${actionProductPromoProduct_index}" method="post" action="<@ofbizUrl>deleteProductPromoProduct</@ofbizUrl>"> 
-                    <input type="hidden" name="productPromoId" value="${(actionProductPromoProduct.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(actionProductPromoProduct.productPromoRuleId)?if_exists}" />
-                    <input type="hidden" name="productPromoCondSeqId" value="${(actionProductPromoProduct.productPromoCondSeqId)?if_exists}" />
-                    <input type="hidden" name="productPromoActionSeqId" value="${(actionProductPromoProduct.productPromoActionSeqId)?if_exists}" />
-                    <input type="hidden" name="productId" value="${(actionProductPromoProduct.productId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(actionProductPromoProduct.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(actionProductPromoProduct.productPromoRuleId)!}" />
+                    <input type="hidden" name="productPromoCondSeqId" value="${(actionProductPromoProduct.productPromoCondSeqId)!}" />
+                    <input type="hidden" name="productPromoActionSeqId" value="${(actionProductPromoProduct.productPromoActionSeqId)!}" />
+                    <input type="hidden" name="productId" value="${(actionProductPromoProduct.productId)!}" />
                     <a href="javascript:document.deleteProductPromoProductAction_${productPromoRule_index}_${productPromoAction_index}_${actionProductPromoProduct_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </div>
@@ -416,12 +416,12 @@
               <td colspan="3">
                 <div>
                   <form method="post" action="<@ofbizUrl>createProductPromoAction</@ofbizUrl>">
-                    <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)?if_exists}" />
-                    <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)?if_exists}" />
+                    <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)!}" />
+                    <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)!}" />
                     <span class="label"><b>${uiLabelMap.CommonNew}:</b>&nbsp;</span>
                     <select name="productPromoActionEnumId" size="1">
     <#list productPromoActionEnums as productPromoActionEnum>
-                      <option value="${(productPromoActionEnum.enumId)?if_exists}">${(productPromoActionEnum.get("description",locale))?if_exists}</option>
+                      <option value="${(productPromoActionEnum.enumId)!}">${(productPromoActionEnum.get("description",locale))!}</option>
     </#list>
                     </select>
                     <input type="hidden" name="orderAdjustmentTypeId" value="PROMOTION_ADJUSTMENT" />
@@ -463,7 +463,7 @@
   </div>
   <div class="screenlet-body">
     <form method="post" action="<@ofbizUrl>createProductPromoRule</@ofbizUrl>">
-      <input type="hidden" name="productPromoId" value="${productPromoId?if_exists}" />
+      <input type="hidden" name="productPromoId" value="${productPromoId!}" />
       <span class="label">${uiLabelMap.ProductName}</span><input type="text" size="30" name="ruleName" />
       <input type="submit" value="${uiLabelMap.CommonAdd}" />
     </form>
@@ -479,17 +479,17 @@
     <#assign promoProductCategory = promoProductPromoCategory.getRelatedOne("ProductCategory", true)>
     <#assign promoApplEnumeration = promoProductPromoCategory.getRelatedOne("ApplEnumeration", true)>
     <div>
-      ${(promoProductCategory.description)?if_exists} [${promoProductPromoCategory.productCategoryId}]
+      ${(promoProductCategory.description)!} [${promoProductPromoCategory.productCategoryId}]
       - ${(promoApplEnumeration.get("description",locale))?default(promoProductPromoCategory.productPromoApplEnumId)}
       - ${uiLabelMap.ProductSubCats}? ${promoProductPromoCategory.includeSubCategories?default("N")}
       - ${uiLabelMap.CommonAnd} ${uiLabelMap.CommonGroup}: ${promoProductPromoCategory.andGroupId}
       <form name="deleteProductPromoCategoryAction_${promoProductPromoCategory_index}" method="post" action="<@ofbizUrl>deleteProductPromoCategory</@ofbizUrl>">
-        <input type="hidden" name="productPromoId" value="${(promoProductPromoCategory.productPromoId)?if_exists}" />
-        <input type="hidden" name="productPromoRuleId" value="${(promoProductPromoCategory.productPromoRuleId)?if_exists}" />
-        <input type="hidden" name="productPromoActionSeqId" value="${(promoProductPromoCategory.productPromoActionSeqId)?if_exists}" />
-        <input type="hidden" name="productPromoCondSeqId" value="${(promoProductPromoCategory.productPromoCondSeqId)?if_exists}" />
-        <input type="hidden" name="productCategoryId" value="${(promoProductPromoCategory.productCategoryId)?if_exists}" />
-        <input type="hidden" name="andGroupId" value="${(promoProductPromoCategory.andGroupId)?if_exists}" />
+        <input type="hidden" name="productPromoId" value="${(promoProductPromoCategory.productPromoId)!}" />
+        <input type="hidden" name="productPromoRuleId" value="${(promoProductPromoCategory.productPromoRuleId)!}" />
+        <input type="hidden" name="productPromoActionSeqId" value="${(promoProductPromoCategory.productPromoActionSeqId)!}" />
+        <input type="hidden" name="productPromoCondSeqId" value="${(promoProductPromoCategory.productPromoCondSeqId)!}" />
+        <input type="hidden" name="productCategoryId" value="${(promoProductPromoCategory.productCategoryId)!}" />
+        <input type="hidden" name="andGroupId" value="${(promoProductPromoCategory.andGroupId)!}" />
         <a href="javascript:document.deleteProductPromoCategoryAction_${promoProductPromoCategory_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
       </form>
     </div>
@@ -523,17 +523,17 @@
   <#-- ======================= Products ======================== -->
   <div class="screenlet-body">
   <#list promoProductPromoProducts as promoProductPromoProduct>
-    <#assign promoProduct = promoProductPromoProduct.getRelatedOne("Product", true)?if_exists>
+    <#assign promoProduct = promoProductPromoProduct.getRelatedOne("Product", true)!>
     <#assign promoApplEnumeration = promoProductPromoProduct.getRelatedOne("ApplEnumeration", true)>
     <div>
-      ${(promoProduct.internalName)?if_exists} [${promoProductPromoProduct.productId}]
+      ${(promoProduct.internalName)!} [${promoProductPromoProduct.productId}]
       - ${(promoApplEnumeration.get("description",locale))?default(promoProductPromoProduct.productPromoApplEnumId)}
       <form name="deleteProductPromoProductAction_${promoProductPromoProduct_index}" action="<@ofbizUrl>deleteProductPromoProduct</@ofbizUrl>" method="post">
-        <input type="hidden" name="productPromoId" value="${(promoProductPromoProduct.productPromoId)?if_exists}" />
-        <input type="hidden" name="productPromoRuleId" value="${(promoProductPromoProduct.productPromoRuleId)?if_exists}" />
-        <input type="hidden" name="productPromoActionSeqId" value="${(promoProductPromoProduct.productPromoActionSeqId)?if_exists}" />
-        <input type="hidden" name="productPromoCondSeqId" value="${(promoProductPromoProduct.productPromoCondSeqId)?if_exists}" />
-        <input type="hidden" name="productId" value="${(promoProductPromoProduct.productId)?if_exists}" />
+        <input type="hidden" name="productPromoId" value="${(promoProductPromoProduct.productPromoId)!}" />
+        <input type="hidden" name="productPromoRuleId" value="${(promoProductPromoProduct.productPromoRuleId)!}" />
+        <input type="hidden" name="productPromoActionSeqId" value="${(promoProductPromoProduct.productPromoActionSeqId)!}" />
+        <input type="hidden" name="productPromoCondSeqId" value="${(promoProductPromoProduct.productPromoCondSeqId)!}" />
+        <input type="hidden" name="productId" value="${(promoProductPromoProduct.productId)!}" />
         <a href="javascript:document.deleteProductPromoProductAction_${promoProductPromoProduct_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
       </form>
     </div>
Index: applications/product/webapp/catalog/promo/EditProductPromoStores.ftl
===================================================================
--- applications/product/webapp/catalog/promo/EditProductPromoStores.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/promo/EditProductPromoStores.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if productPromoId?exists && productPromo?exists>
+<#if productPromoId?? && productPromo??>
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <h3>${uiLabelMap.PageTitleEditProductPromoStores}</h3>
@@ -35,20 +35,20 @@
                 <#assign line = line + 1>
                 <#assign productStore = productStorePromoAppl.getRelatedOne("ProductStore", false)>
                 <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                    <td><a href="<@ofbizUrl>EditProductStore?productStoreId=${productStorePromoAppl.productStoreId}</@ofbizUrl>" class="buttontext"><#if productStore?exists>${(productStore.storeName)?if_exists}</#if>[${productStorePromoAppl.productStoreId}]</a></td>
+                    <td><a href="<@ofbizUrl>EditProductStore?productStoreId=${productStorePromoAppl.productStoreId}</@ofbizUrl>" class="buttontext"><#if productStore??>${(productStore.storeName)!}</#if>[${productStorePromoAppl.productStoreId}]</a></td>
                     <#assign hasntStarted = false>
-                    <#if (productStorePromoAppl.getTimestamp("fromDate"))?exists && nowTimestamp.before(productStorePromoAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-                    <td <#if hasntStarted>style="color: red;"</#if>>${productStorePromoAppl.fromDate?if_exists}</td>
+                    <#if (productStorePromoAppl.getTimestamp("fromDate"))?? && nowTimestamp.before(productStorePromoAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+                    <td <#if hasntStarted>style="color: red;"</#if>>${productStorePromoAppl.fromDate!}</td>
                     <td align="center">
                         <#assign hasExpired = false>
-                        <#if (productStorePromoAppl.getTimestamp("thruDate"))?exists && nowTimestamp.after(productStorePromoAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
+                        <#if (productStorePromoAppl.getTimestamp("thruDate"))?? && nowTimestamp.after(productStorePromoAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
                         <form method="post" action="<@ofbizUrl>promo_updateProductStorePromoAppl</@ofbizUrl>" name="lineForm${line}">
                             <input type="hidden" name="productStoreId" value="${productStorePromoAppl.productStoreId}" />
                             <input type="hidden" name="productPromoId" value="${productStorePromoAppl.productPromoId}" />
                             <input type="hidden" name="fromDate" value="${productStorePromoAppl.fromDate}" />
                             <#if hasExpired><#assign class="alert"></#if>
-                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productStorePromoAppl.thruDate)?if_exists}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                            <input type="text" size="5" name="sequenceNum" value="${(productStorePromoAppl.sequenceNum)?if_exists}" />
+                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productStorePromoAppl.thruDate)!}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                            <input type="text" size="5" name="sequenceNum" value="${(productStorePromoAppl.sequenceNum)!}" />
                             <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                         </form>
                     </td>
@@ -81,7 +81,7 @@
                 <input type="hidden" name="tryEntity" value="true"/>
                 <select name="productStoreId">
                 <#list productStores as productStore>
-                    <option value="${(productStore.productStoreId)?if_exists}">${(productStore.storeName)?if_exists} [${(productStore.productStoreId)?if_exists}]</option>
+                    <option value="${(productStore.productStoreId)!}">${(productStore.storeName)!} [${(productStore.productStoreId)!}]</option>
                 </#list>
                 </select>
                 <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
Index: applications/product/webapp/catalog/price/EditProductPriceRules.ftl
===================================================================
--- applications/product/webapp/catalog/price/EditProductPriceRules.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/price/EditProductPriceRules.ftl	(working copy)
@@ -28,7 +28,7 @@
             <td width="80%"><b>${uiLabelMap.ProductRuleNameFromDateThruDate}</b></td>
             <td width="10%"><b>&nbsp;</b></td>
           </tr>
-        <#if productPriceRule?exists>
+        <#if productPriceRule??>
           <#assign productPriceConds = productPriceRule.getRelated("ProductPriceCond", null, null, false)>
           <#assign productPriceActions = productPriceRule.getRelated("ProductPriceAction", null, null, false)>
           <tr valign="middle">
@@ -37,11 +37,11 @@
                 <form method="post" action="<@ofbizUrl>updateProductPriceRule</@ofbizUrl>" name="updateProductPriceRule">
                     <input type="hidden" name="productPriceRuleId" value="${productPriceRule.productPriceRuleId}" />
                     <input type="text" size="15" name="ruleName" value="${productPriceRule.ruleName}" />
-                    <input type="text" size="15" name="description" value="${productPriceRule.description?if_exists}" />
-                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${productPriceRule.fromDate?if_exists}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${productPriceRule.thruDate?if_exists}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <input type="text" size="15" name="description" value="${productPriceRule.description!}" />
+                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${productPriceRule.fromDate!}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${productPriceRule.thruDate!}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     &nbsp;&nbsp;
-                    <#assign saleRule = productPriceRule.isSale?exists && productPriceRule.isSale == "Y">
+                    <#assign saleRule = productPriceRule.isSale?? && productPriceRule.isSale == "Y">
                     <div>
                     <span class="label"><b>${uiLabelMap.ProductNotifySale}</b></span>&nbsp;
                     <input type="radio" name="isSale" value="Y" <#if saleRule>checked="checked"</#if> />${uiLabelMap.CommonYes}&nbsp;
@@ -83,8 +83,8 @@
                                 <input type="hidden" name="productPriceCondSeqId" value="${productPriceCond.productPriceCondSeqId}"/>
                                 <select name="inputParamEnumId" size="1">
                                     <#if productPriceCond.inputParamEnumId?has_content>
-                                      <#assign inputParamEnum = productPriceCond.getRelatedOne("InputParamEnumeration", true)?if_exists>
-                                      <option value="${productPriceCond.inputParamEnumId}"><#if inputParamEnum?exists>${inputParamEnum.get("description",locale)}<#else>[${productPriceCond.inputParamEnumId}]</#if></option>
+                                      <#assign inputParamEnum = productPriceCond.getRelatedOne("InputParamEnumeration", true)!>
+                                      <option value="${productPriceCond.inputParamEnumId}"><#if inputParamEnum??>${inputParamEnum.get("description",locale)}<#else>[${productPriceCond.inputParamEnumId}]</#if></option>
                                       <option value="${productPriceCond.inputParamEnumId}">&nbsp;</option>
                                     <#else>
                                       <option value="">&nbsp;</option>
@@ -95,8 +95,8 @@
                                 </select>
                                 <select name="operatorEnumId" size="1">
                                     <#if productPriceCond.operatorEnumId?has_content>
-                                      <#assign operatorEnum = productPriceCond.getRelatedOne("OperatorEnumeration", true)?if_exists>
-                                      <option value="${productPriceCond.operatorEnumId}"><#if operatorEnum?exists>${operatorEnum.get("description",locale)}<#else>[${productPriceCond.operatorEnumId}]</#if></option>
+                                      <#assign operatorEnum = productPriceCond.getRelatedOne("OperatorEnumeration", true)!>
+                                      <option value="${productPriceCond.operatorEnumId}"><#if operatorEnum??>${operatorEnum.get("description",locale)}<#else>[${productPriceCond.operatorEnumId}]</#if></option>
                                       <option value="${productPriceCond.operatorEnumId}">&nbsp;</option>
                                     <#else>
                                       <option value="">&nbsp;</option>
@@ -105,7 +105,7 @@
                                       <option value="${condOperEnum.enumId}">${condOperEnum.get("description",locale)}<#--[${condOperEnum.enumId}]--></option>
                                     </#list>
                                 </select>
-                                <input type="text" size="20" name="condValue" value="${productPriceCond.condValue?if_exists}" />
+                                <input type="text" size="20" name="condValue" value="${productPriceCond.condValue!}" />
                                 <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                             </form>
                         </td>
@@ -167,7 +167,7 @@
                                 <select name="productPriceActionTypeId" size="1">
                                     <#if productPriceAction.productPriceActionTypeId?has_content>
                                       <#assign productPriceActionType = productPriceAction.getRelatedOne("ProductPriceActionType", true)>
-                                      <option value="${productPriceAction.productPriceActionTypeId}"><#if productPriceActionType?exists>${productPriceActionType.get("description",locale)}<#else>[${productPriceAction.productPriceActionTypeId}]</#if></option>
+                                      <option value="${productPriceAction.productPriceActionTypeId}"><#if productPriceActionType??>${productPriceActionType.get("description",locale)}<#else>[${productPriceAction.productPriceActionTypeId}]</#if></option>
                                       <option value="${productPriceAction.productPriceActionTypeId}">&nbsp;</option>
                                     <#else>
                                       <option value="">&nbsp;</option>
@@ -176,7 +176,7 @@
                                       <option value="${productPriceActionType.productPriceActionTypeId}">${productPriceActionType.get("description",locale)}<#--[${productPriceActionType.productPriceActionTypeId}]--></option>
                                     </#list>
                                 </select>
-                                <input type="text" size="8" name="amount" value="${productPriceAction.amount?if_exists}" />
+                                <input type="text" size="8" name="amount" value="${productPriceAction.amount!}" />
                                 <input type="submit" value="${uiLabelMap.CommonUpdate}" />
                             </form>
                         </td>
Index: applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl
===================================================================
--- applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl	(working copy)
@@ -30,15 +30,15 @@
     <#if !(clientFileName?has_content)>
         <div>${uiLabelMap.ProductNoFileSpecifiedForUpload}.</div>
     <#else>
-        <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName?if_exists}</b></div>
-        <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse?if_exists}</b></div>
-        <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath?if_exists}</b></div>
-        <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl?if_exists}</@ofbizContentUrl>">${imageUrl?if_exists}</a></b></div>
+        <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName!}</b></div>
+        <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse!}</b></div>
+        <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath!}</b></div>
+        <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl!}</@ofbizContentUrl>">${imageUrl!}</a></b></div>
     </#if>
 <br />
 </#if>
 
-<#if !(configItem?exists)>
+<#if !(configItem??)>
     <h3>${uiLabelMap.ProductCouldNotFindProductConfigItem} "${configItemId}".</h3>
 <#else>
     <table cellspacing="0" class="basic-table">
@@ -60,7 +60,7 @@
             <td>${productContent.fromDate?default("N/A")}</td>
             <td>${productContent.thruDate?default("N/A")}</td>
             <td><a href="<@ofbizUrl>removeContentFromProductConfigItem?configItemId=${productContent.configItemId}&amp;contentId=${productContent.contentId}&amp;confItemContentTypeId=${productContent.confItemContentTypeId}&amp;fromDate=${productContent.fromDate}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a></td>
-            <td><a href="/content/control/EditContent?contentId=${productContent.contentId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}" class="buttontext">${uiLabelMap.ProductEditContent} ${entry.content.contentId}</td>
+            <td><a href="/content/control/EditContent?contentId=${productContent.contentId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}" class="buttontext">${uiLabelMap.ProductEditContent} ${entry.content.contentId}</td>
          </tr>
          <#-- toggle the row color -->
          <#if rowClass == "2">
@@ -95,26 +95,26 @@
         </div>
         <div class="screenlet-body">
             <form action="<@ofbizUrl>updateProductConfigItemContent</@ofbizUrl>" method="post" style="margin: 0;" name="productForm">
-                <input type="hidden" name="configItemId" value="${configItemId?if_exists}" />
+                <input type="hidden" name="configItemId" value="${configItemId!}" />
                 <table cellspacing="0" class="basic-table">
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">${uiLabelMap.CommonDescription}</td>
                     <td>&nbsp;</td>
                     <td width="80%" colspan="4" valign="top">
-                        <textarea name="description" cols="60" rows="2">${(configItem.description)?if_exists}</textarea>
+                        <textarea name="description" cols="60" rows="2">${(configItem.description)!}</textarea>
                     </td>
                 </tr>
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">${uiLabelMap.ProductLongDescription}</td>
                     <td>&nbsp;</td>
                     <td width="80%" colspan="4" valign="top">
-                        <textarea name="longDescription" cols="60" rows="7">${(configItem.longDescription)?if_exists}</textarea>
+                        <textarea name="longDescription" cols="60" rows="7">${(configItem.longDescription)!}</textarea>
                     </td>
                 </tr>
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">
                         ${uiLabelMap.ProductSmallImage}
-                        <#if (configItem.imageUrl)?exists>
+                        <#if (configItem.imageUrl)??>
                             <a href="<@ofbizContentUrl>${configItem.imageUrl}</@ofbizContentUrl>" target="_blank"><img alt="Image" src="<@ofbizContentUrl>${configItem.imageUrl}</@ofbizContentUrl>" class="cssImgSmall" /></a>
                         </#if>
                     </td>
Index: applications/product/webapp/catalog/main.ftl
===================================================================
--- applications/product/webapp/catalog/main.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/main.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if !sessionAttributes.userLogin?exists>
+<#if !sessionAttributes.userLogin??>
   <div class='label'> ${uiLabelMap.ProductGeneralMessage}.</div>
 </#if>
 <br />
Index: applications/product/webapp/catalog/lookup/LookupVariantProduct.ftl
===================================================================
--- applications/product/webapp/catalog/lookup/LookupVariantProduct.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/lookup/LookupVariantProduct.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if (requestAttributes.uiLabelMap)?exists><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
+<#if (requestAttributes.uiLabelMap)??><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
 <br />
 <div class="label">[${product.productId}] ${product.internalName}</div>
 <br />
@@ -51,7 +51,7 @@
     </table>
 </#if>
 <br />
-<#if variantProducts?exists>
+<#if variantProducts??>
     <table cellspacing="0" class="basic-table">
         <tr class="header-row">
             <td><b>${uiLabelMap.ProductProductId}</b></td>
@@ -61,13 +61,13 @@
         <#list variantProducts as variant>
             <tr>
                 <td><a class="buttontext" href="javascript:set_value('${variant.productId}')">${variant.productId}</a></td>
-                <td>${variant.brandName?if_exists}</td>
-                <td>${variant.internalName?if_exists}</td>
+                <td>${variant.brandName!}</td>
+                <td>${variant.internalName!}</td>
             </tr>
         </#list>
     </table>
 </#if>
-<#if productFeatureIds?exists>
+<#if productFeatureIds??>
     <table cellspacing="0" class="basic-table">
         <form method="post" action="<@ofbizUrl>LookupVariantProduct</@ofbizUrl>" name="createNewVariant">
         <input type="hidden" name="productId" value="${product.productId}" />
Index: applications/product/webapp/catalog/category/EditCategoryRollup.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryRollup.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryRollup.ftl	(working copy)
@@ -50,13 +50,13 @@
                     <#assign suffix = "_o_" + productCategoryRollup_index>
                     <#assign curCategory = productCategoryRollup.getRelatedOne("ParentProductCategory", false)>
                     <#assign hasntStarted = false>
-                    <#if productCategoryRollup.fromDate?exists && nowTimestamp.before(productCategoryRollup.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
+                    <#if productCategoryRollup.fromDate?? && nowTimestamp.before(productCategoryRollup.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
                     <#assign hasExpired = false>
-                    <#if productCategoryRollup.thruDate?exists && nowTimestamp.after(productCategoryRollup.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
+                    <#if productCategoryRollup.thruDate?? && nowTimestamp.after(productCategoryRollup.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
                     <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
                         <td><#if curCategory?has_content>
                                 <a href="<@ofbizUrl>EditCategory?productCategoryId=${curCategory.productCategoryId}</@ofbizUrl>" >
-                                    <#assign catContentWrapper = Static["org.ofbiz.product.category.CategoryContentWrapper"].makeCategoryContentWrapper(curCategory, request)?if_exists>
+                                    <#assign catContentWrapper = Static["org.ofbiz.product.category.CategoryContentWrapper"].makeCategoryContentWrapper(curCategory, request)!>
                                     <#if catContentWrapper?has_content>
                                         ${catContentWrapper.get("CATEGORY_NAME")!catContentWrapper.get("DESCRIPTION")!curCategory.categoryName!curCategory.description!}
                                     <#else>
@@ -73,7 +73,7 @@
                             <input type="hidden" name="parentProductCategoryId${suffix}" value="${productCategoryRollup.parentProductCategoryId}" />
                             <input type="hidden" name="fromDate${suffix}" value="${productCategoryRollup.fromDate}" />
                             <@htmlTemplate.renderDateTimeField name="thruDate${suffix}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${productCategoryRollup.thruDate!''}" size="25" maxlength="30" id="thruDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                            <input type="text" size="5" name="sequenceNum${suffix}" value="${productCategoryRollup.sequenceNum?if_exists}" />
+                            <input type="text" size="5" name="sequenceNum${suffix}" value="${productCategoryRollup.sequenceNum!}" />
                         </td>
                         <td>
                             <a href="javascript:document.removeProductCategoryFromCategory_${productCategoryRollup_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
@@ -115,7 +115,7 @@
                 <form method="post" action="<@ofbizUrl>addProductCategoryToCategory</@ofbizUrl>" style="margin: 0;" name="addParentForm">
                     <input type="hidden" name="productCategoryId" value="${productCategoryId}" />
                     <input type="hidden" name="showProductCategoryId" value="${productCategoryId}" />
-                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="addParentForm" name="parentProductCategoryId" id="parentProductCategoryId" fieldFormName="LookupProductCategory"/>
+                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="addParentForm" name="parentProductCategoryId" id="parentProductCategoryId" fieldFormName="LookupProductCategory"/>
                     <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
 
                     <input type="submit" value="${uiLabelMap.CommonAdd}" />
@@ -158,13 +158,13 @@
                     <#assign lineChild = lineChild + 1>
                     <#assign curCategory = productCategoryRollup.getRelatedOne("CurrentProductCategory", false)>
                     <#assign hasntStarted = false>
-                    <#if productCategoryRollup.fromDate?exists && nowTimestamp.before(productCategoryRollup.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
+                    <#if productCategoryRollup.fromDate?? && nowTimestamp.before(productCategoryRollup.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
                     <#assign hasExpired = false>
-                    <#if productCategoryRollup.thruDate?exists && nowTimestamp.after(productCategoryRollup.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
+                    <#if productCategoryRollup.thruDate?? && nowTimestamp.after(productCategoryRollup.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
                         <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
                             <td><#if curCategory?has_content>
                                     <a href="<@ofbizUrl>EditCategory?productCategoryId=${curCategory.productCategoryId}</@ofbizUrl>" >
-                                        <#assign catContentWrapper = Static["org.ofbiz.product.category.CategoryContentWrapper"].makeCategoryContentWrapper(curCategory, request)?if_exists>
+                                        <#assign catContentWrapper = Static["org.ofbiz.product.category.CategoryContentWrapper"].makeCategoryContentWrapper(curCategory, request)!>
                                         <#if catContentWrapper?has_content>
                                             ${catContentWrapper.get("CATEGORY_NAME")!catContentWrapper.get("DESCRIPTION")!curCategory.categoryName!curCategory.description!}
                                         <#else>
@@ -181,7 +181,7 @@
                                 <input type="hidden" name="fromDate${suffix}" value="${productCategoryRollup.fromDate}" />
                                 <@htmlTemplate.renderDateTimeField name="thruDate${suffix}" event="" action="" className="" alert="" title="Thru Date" value="${productCategoryRollup.thruDate!''}" size="25" maxlength="50" id="thruDatefromDate${suffix}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
 
-                                <input type="text" size="5" name="sequenceNum${suffix}" value="${productCategoryRollup.sequenceNum?if_exists}" />
+                                <input type="text" size="5" name="sequenceNum${suffix}" value="${productCategoryRollup.sequenceNum!}" />
                             </td>
                             <td>
                                 <a href="javascript:document.removeProductCategoryFromCategory_1_${productCategoryRollup_index}.submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
@@ -223,7 +223,7 @@
                 <form method="post" action="<@ofbizUrl>addProductCategoryToCategory</@ofbizUrl>" style="margin: 0;" name="addChildForm">
                     <input type="hidden" name="showProductCategoryId" value="${productCategoryId}" />
                     <input type="hidden" name="parentProductCategoryId" value="${productCategoryId}" />
-                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}"  formName="addChildForm" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/>
+                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}"  formName="addChildForm" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/>
                     <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate_2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <input type="submit" value="${uiLabelMap.CommonAdd}" />
                 </form>
Index: applications/product/webapp/catalog/category/createProductInCategoryCheckExisting.ftl
===================================================================
--- applications/product/webapp/catalog/category/createProductInCategoryCheckExisting.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/createProductInCategoryCheckExisting.ftl	(working copy)
@@ -23,7 +23,7 @@
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <h3>
-            <b>${uiLabelMap.ProductCheckingForExistingProductInCategory} <#if (productCategory.description)?has_content>"${productCategory.description}"</#if> [${uiLabelMap.CommonId}:${productCategoryId?if_exists}]</b>
+            <b>${uiLabelMap.ProductCheckingForExistingProductInCategory} <#if (productCategory.description)?has_content>"${productCategory.description}"</#if> [${uiLabelMap.CommonId}:${productCategoryId!}]</b>
             <#if productFeatureAndTypeDatas?has_content>
             ${uiLabelMap.CommonWhere}
                 <#list productFeatureAndTypeDatas as productFeatureAndTypeData>
@@ -60,7 +60,7 @@
         <form name="createProductInCategoryForm" method="post" action="<@ofbizUrl>createProductInCategory</@ofbizUrl>" style="margin: 0;">
             <input type="hidden" name="productCategoryId" value="${productCategoryId}" />
             <table cellspacing="0" class="basic-table">
-                <#list productFeatureAndTypeDatas?if_exists as productFeatureAndTypeData>
+                <#list productFeatureAndTypeDatas! as productFeatureAndTypeData>
                 <#assign productFeatureType = productFeatureAndTypeData.productFeatureType>
                 <#assign productFeature = productFeatureAndTypeData.productFeature>
                 <#assign productFeatureTypeId = productFeatureType.productFeatureTypeId>
@@ -70,7 +70,7 @@
                     <td>
                         <div>
                             ${productFeature.description}
-                            <#if requestParameters["pftsel_" + productFeatureTypeId]?exists>
+                            <#if requestParameters["pftsel_" + productFeatureTypeId]??>
                                 <input type="hidden" name="pftsel_${productFeatureTypeId}" value="Y"/>
                                 [${uiLabelMap.ProductSelectable}]
                             <#else>
@@ -84,36 +84,36 @@
                 <tr>
                     <td width="15%">${uiLabelMap.ProductInternalName}:</td>
                     <td>
-                        <input type="hidden" name="internalName" value="${requestParameters.internalName?if_exists}"/>
+                        <input type="hidden" name="internalName" value="${requestParameters.internalName!}"/>
                         <div>&nbsp;${requestParameters.internalName?default("&nbsp;")}</div>
                     </td>
                 </tr>
                 <tr>
                     <td width="15%">${uiLabelMap.ProductProductName}:</td>
                     <td>
-                        <input type="hidden" name="productName" value="${requestParameters.productName?if_exists}"/>
+                        <input type="hidden" name="productName" value="${requestParameters.productName!}"/>
                         <div>&nbsp;${requestParameters.productName?default("&nbsp;")}</div>
                     </td>
                 </tr>
                 <tr>
                     <td width="15%">${uiLabelMap.ProductShortDescription}:</td>
                     <td>
-                        <input type="hidden" name="description" value="${requestParameters.description?if_exists}"/>
+                        <input type="hidden" name="description" value="${requestParameters.description!}"/>
                         <div>&nbsp;${requestParameters.description?default("&nbsp;")}</div>
                     </td>
                 </tr>
                 <tr>
                     <td width="15%">${uiLabelMap.ProductDefaultPrice}:</td>
                     <td>
-                        <input type="hidden" name="defaultPrice" value="${requestParameters.defaultPrice?if_exists}"/>
-                        <input type="hidden" name="currencyUomId" value="${requestParameters.currencyUomId?if_exists}"/>
+                        <input type="hidden" name="defaultPrice" value="${requestParameters.defaultPrice!}"/>
+                        <input type="hidden" name="currencyUomId" value="${requestParameters.currencyUomId!}"/>
                         <div>&nbsp;${requestParameters.defaultPrice?default("&nbsp;")}&nbsp;${requestParameters.currencyUomId?default("&nbsp;")}</div>
                     </td>
                 </tr>
                 <tr>
                     <td width="15%">${uiLabelMap.ProductAverageCost}:</td>
                     <td>
-                        <input type="hidden" name="averageCost" value="${requestParameters.averageCost?if_exists}"/>
+                        <input type="hidden" name="averageCost" value="${requestParameters.averageCost!}"/>
                         <div>&nbsp;${requestParameters.averageCost?default("&nbsp;")}</div>
                     </td>
                 </tr>
Index: applications/product/webapp/catalog/category/EditCategory.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategory.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategory.ftl	(working copy)
@@ -30,10 +30,10 @@
             <#if !(clientFileName?has_content)>
                 <div>${uiLabelMap.ProductNoFileSpecifiedForUpload}.</div>
             <#else>
-                <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName?if_exists}</b></div>
-                <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse?if_exists}</b></div>
-                <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath?if_exists}</b></div>
-                <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl?if_exists}</@ofbizContentUrl>">${imageUrl?if_exists}</a></b></div>
+                <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName!}</b></div>
+                <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse!}</b></div>
+                <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath!}</b></div>
+                <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl!}</@ofbizContentUrl>">${imageUrl!}</a></b></div>
             </#if>
         </div>
     </div>
@@ -100,10 +100,10 @@
                             <#list productCategoryTypes as productCategoryTypeData>
                                 <#if requestParameters.productCategoryTypeId?has_content>
                                     <#assign selectedKey = requestParameters.productCategoryTypeId>
-                                <#elseif (productCategory?has_content && productCategory.productCategoryTypeId?if_exists == productCategoryTypeData.productCategoryTypeId)>
+                                <#elseif (productCategory?has_content && productCategory.productCategoryTypeId! == productCategoryTypeData.productCategoryTypeId)>
                                     <#assign selectedKey = productCategory.productCategoryTypeId>
                                 </#if>
-                                <option <#if selectedKey == productCategoryTypeData.productCategoryTypeId?if_exists>selected="selected"</#if> value="${productCategoryTypeData.productCategoryTypeId}">${productCategoryTypeData.get("description",locale)}</option>
+                                <option <#if selectedKey == productCategoryTypeData.productCategoryTypeId!>selected="selected"</#if> value="${productCategoryTypeData.productCategoryTypeId}">${productCategoryTypeData.get("description",locale)}</option>
                             </#list>
                         </select>
                     </td>
@@ -111,18 +111,18 @@
                 <tr>
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductProductCategoryName}</td>
                     <td>&nbsp;</td>
-                    <td width="74%"><input type="text" value="${(productCategory.categoryName)?if_exists}" name="categoryName" size="60" maxlength="60"/></td>
+                    <td width="74%"><input type="text" value="${(productCategory.categoryName)!}" name="categoryName" size="60" maxlength="60"/></td>
                 </tr>
                 <tr>
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductProductCategoryDescription}</td>
                     <td>&nbsp;</td>
-                    <td width="74%"><textarea name="description" cols="60" rows="2"><#if productCategory?has_content>${(productCategory.description)?if_exists}</#if></textarea></td>
+                    <td width="74%"><textarea name="description" cols="60" rows="2"><#if productCategory?has_content>${(productCategory.description)!}</#if></textarea></td>
                 </tr>
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">
                         ${uiLabelMap.ProductCategoryImageUrl}
-                        <#if (productCategory.categoryImageUrl)?exists>
-                            <a href="<@ofbizContentUrl>${(productCategory.categoryImageUrl)?if_exists}</@ofbizContentUrl>" target="_blank"><img alt="Category Image" src="<@ofbizContentUrl>${(productCategory.categoryImageUrl)?if_exists}</@ofbizContentUrl>" class="cssImgSmall" /></a>
+                        <#if (productCategory.categoryImageUrl)??>
+                            <a href="<@ofbizContentUrl>${(productCategory.categoryImageUrl)!}</@ofbizContentUrl>" target="_blank"><img alt="Category Image" src="<@ofbizContentUrl>${(productCategory.categoryImageUrl)!}</@ofbizContentUrl>" class="cssImgSmall" /></a>
                         </#if>
                     </td>
                     <td>&nbsp;</td>
@@ -141,8 +141,8 @@
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">
                         ${uiLabelMap.ProductLinkOneImageUrl}
-                        <#if (productCategory.linkOneImageUrl)?exists>
-                            <a href="<@ofbizContentUrl>${(productCategory.linkOneImageUrl)?if_exists}</@ofbizContentUrl>" target="_blank"><img alt="Link One Image" src="<@ofbizContentUrl>${(productCategory.linkOneImageUrl)?if_exists}</@ofbizContentUrl>" class="cssImgSmall" /></a>
+                        <#if (productCategory.linkOneImageUrl)??>
+                            <a href="<@ofbizContentUrl>${(productCategory.linkOneImageUrl)!}</@ofbizContentUrl>" target="_blank"><img alt="Link One Image" src="<@ofbizContentUrl>${(productCategory.linkOneImageUrl)!}</@ofbizContentUrl>" class="cssImgSmall" /></a>
                         </#if>
                     </td>
                     <td>&nbsp;</td>
@@ -161,8 +161,8 @@
                 <tr>
                     <td width="20%" align="right" valign="top" class="label">
                         ${uiLabelMap.ProductLinkTwoImageUrl}
-                        <#if (productCategory.linkTwoImageUrl)?exists>
-                            <a href="<@ofbizContentUrl>${(productCategory.linkTwoImageUrl)?if_exists}</@ofbizContentUrl>" target="_blank"><img alt="Link One Image" src="<@ofbizContentUrl>${(productCategory.linkTwoImageUrl)?if_exists}</@ofbizContentUrl>" class="cssImgSmall" /></a>
+                        <#if (productCategory.linkTwoImageUrl)??>
+                            <a href="<@ofbizContentUrl>${(productCategory.linkTwoImageUrl)!}</@ofbizContentUrl>" target="_blank"><img alt="Link One Image" src="<@ofbizContentUrl>${(productCategory.linkTwoImageUrl)!}</@ofbizContentUrl>" class="cssImgSmall" /></a>
                         </#if>
                     </td>
                     <td>&nbsp;</td>
@@ -182,7 +182,7 @@
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductDetailScreen}</td>
                     <td>&nbsp;</td>
                     <td width="74%">
-                        <input type="text" <#if productCategory?has_content>value="${productCategory.detailScreen?if_exists}"</#if> name="detailScreen" size="60" maxlength="250"/>
+                        <input type="text" <#if productCategory?has_content>value="${productCategory.detailScreen!}"</#if> name="detailScreen" size="60" maxlength="250"/>
                         <br /><span class="tooltip">${uiLabelMap.ProductDefaultsTo} &quot;categorydetail&quot;, ${uiLabelMap.ProductDetailScreenMessage}: &quot;component://ecommerce/widget/CatalogScreens.xml#categorydetail&quot;</span>
                     </td>
                 </tr>
@@ -213,7 +213,7 @@
             <h3>${uiLabelMap.ProductCategoryUploadImage}</h3>
         </div>
         <div class="screenlet-body">
-            <form method="post" enctype="multipart/form-data" action="<@ofbizUrl>UploadCategoryImage?productCategoryId=${productCategoryId?if_exists}&amp;upload_file_type=category</@ofbizUrl>" name="imageUploadForm">
+            <form method="post" enctype="multipart/form-data" action="<@ofbizUrl>UploadCategoryImage?productCategoryId=${productCategoryId!}&amp;upload_file_type=category</@ofbizUrl>" name="imageUploadForm">
                 <table cellspacing="0" class="basic-table">
                     <tr><td>
                         <input type="file" size="50" name="fname"/>
Index: applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if productCategoryId?exists && productCategory?exists>
+<#if productCategoryId?? && productCategory??>
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <h3>${uiLabelMap.PageTitleEditCategoryProductCatalogs}</h3>
@@ -38,34 +38,34 @@
             <#assign prodCatalog = prodCatalogCategory.getRelatedOne("ProdCatalog", false)>
             <#assign curProdCatalogCategoryType = prodCatalogCategory.getRelatedOne("ProdCatalogCategoryType", true)>
             <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                <td><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${(prodCatalogCategory.prodCatalogId)?if_exists}</@ofbizUrl>" class="buttontext"><#if prodCatalog?exists>${(prodCatalog.catalogName)?if_exists}</#if> [${(prodCatalogCategory.prodCatalogId)?if_exists}]</a></td>
+                <td><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${(prodCatalogCategory.prodCatalogId)!}</@ofbizUrl>" class="buttontext"><#if prodCatalog??>${(prodCatalog.catalogName)!}</#if> [${(prodCatalogCategory.prodCatalogId)!}]</a></td>
                 <td>
                     ${(curProdCatalogCategoryType.get("description",locale))?default(prodCatalogCategory.prodCatalogCategoryTypeId)}
                 </td>
                 <#assign hasntStarted = false>
-                <#if (prodCatalogCategory.getTimestamp("fromDate"))?exists && nowTimestamp.before(prodCatalogCategory.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-                <td <#if hasntStarted> style="color: red;"</#if>>${(prodCatalogCategory.fromDate)?if_exists}</td>
+                <#if (prodCatalogCategory.getTimestamp("fromDate"))?? && nowTimestamp.before(prodCatalogCategory.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+                <td <#if hasntStarted> style="color: red;"</#if>>${(prodCatalogCategory.fromDate)!}</td>
                 <td align="center">
                     <form method="post" action="<@ofbizUrl>category_updateProductCategoryToProdCatalog</@ofbizUrl>" name="lineForm_update${line}">
                         <#assign hasExpired = false>
-                        <#if (prodCatalogCategory.getTimestamp("thruDate"))?exists && nowTimestamp.after(prodCatalogCategory.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
-                        <input type="hidden" name="prodCatalogId" value="${(prodCatalogCategory.prodCatalogId)?if_exists}"/>
-                        <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)?if_exists}"/>
+                        <#if (prodCatalogCategory.getTimestamp("thruDate"))?? && nowTimestamp.after(prodCatalogCategory.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
+                        <input type="hidden" name="prodCatalogId" value="${(prodCatalogCategory.prodCatalogId)!}"/>
+                        <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)!}"/>
                         <input type="hidden" name="prodCatalogCategoryTypeId" value="${prodCatalogCategory.prodCatalogCategoryTypeId}"/>
-                        <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)?if_exists}"/>
+                        <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)!}"/>
                         <#if hasExpired><#assign class="alert"></#if>
-                        <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(prodCatalogCategory.thruDate)?if_exists}" size="25" maxlength="30" id="thruDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                        <input type="text" size="5" name="sequenceNum" value="${(prodCatalogCategory.sequenceNum)?if_exists}"/>
+                        <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(prodCatalogCategory.thruDate)!}" size="25" maxlength="30" id="thruDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <input type="text" size="5" name="sequenceNum" value="${(prodCatalogCategory.sequenceNum)!}"/>
                         <#-- the prodCatalogCategoryTypeId field is now part of the PK, so it can't be changed, must be re-created
                         <select name="prodCatalogCategoryTypeId" size="1">
-                            <#if (prodCatalogCategory.prodCatalogCategoryTypeId)?exists>
-                                <option value="${prodCatalogCategory.prodCatalogCategoryTypeId}"><#if curProdCatalogCategoryType?exists>${(curProdCatalogCategoryType.description)?if_exists}<#else> [${(prodCatalogCategory.prodCatalogCategoryTypeId)}]</#if></option>
+                            <#if (prodCatalogCategory.prodCatalogCategoryTypeId)??>
+                                <option value="${prodCatalogCategory.prodCatalogCategoryTypeId}"><#if curProdCatalogCategoryType??>${(curProdCatalogCategoryType.description)!}<#else> [${(prodCatalogCategory.prodCatalogCategoryTypeId)}]</#if></option>
                                 <option value="${prodCatalogCategory.prodCatalogCategoryTypeId}"></option>
                             <#else>
                                 <option value="">&nbsp;</option>
                             </#if>
                             <#list prodCatalogCategoryTypes as prodCatalogCategoryType>
-                            <option value="${(prodCatalogCategoryType.prodCatalogCategoryTypeId)?if_exists}">${(prodCatalogCategoryType.get("description",locale))?if_exists}</option>
+                            <option value="${(prodCatalogCategoryType.prodCatalogCategoryTypeId)!}">${(prodCatalogCategoryType.get("description",locale))!}</option>
                             </#list>
                         </select> -->
                         <input type="submit" value="${uiLabelMap.CommonUpdate}"/>
@@ -73,10 +73,10 @@
                 </td>
                 <td align="center">
                   <form method="post" action="<@ofbizUrl>category_removeProductCategoryFromProdCatalog</@ofbizUrl>" name="lineForm_delete${line}">
-                    <input type="hidden" name="prodCatalogId" value="${(prodCatalogCategory.prodCatalogId)?if_exists}"/>
-                    <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)?if_exists}"/>
+                    <input type="hidden" name="prodCatalogId" value="${(prodCatalogCategory.prodCatalogId)!}"/>
+                    <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)!}"/>
                     <input type="hidden" name="prodCatalogCategoryTypeId" value="${prodCatalogCategory.prodCatalogCategoryTypeId}"/>
-                    <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)?if_exists}"/>
+                    <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)!}"/>
                     <a href="javascript:document.lineForm_delete${line}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </td>
@@ -100,15 +100,15 @@
             <table cellspacing="0" class="basic-table">
                 <tr><td>
                     <form method="post" action="<@ofbizUrl>category_addProductCategoryToProdCatalog</@ofbizUrl>" style="margin: 0;" name="addNewForm">
-                        <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}"/>
+                        <input type="hidden" name="productCategoryId" value="${productCategoryId!}"/>
                         <select name="prodCatalogId">
                         <#list prodCatalogs as prodCatalog>
-                            <option value="${(prodCatalog.prodCatalogId)?if_exists}">${(prodCatalog.catalogName)?if_exists} [${(prodCatalog.prodCatalogId)?if_exists}]</option>
+                            <option value="${(prodCatalog.prodCatalogId)!}">${(prodCatalog.catalogName)!} [${(prodCatalog.prodCatalogId)!}]</option>
                         </#list>
                         </select>
                         <select name="prodCatalogCategoryTypeId" size="1">
                         <#list prodCatalogCategoryTypes as prodCatalogCategoryType>
-                            <option value="${(prodCatalogCategoryType.prodCatalogCategoryTypeId)?if_exists}">${(prodCatalogCategoryType.get("description",locale))?if_exists}</option>
+                            <option value="${(prodCatalogCategoryType.prodCatalogCategoryTypeId)!}">${(prodCatalogCategoryType.get("description",locale))!}</option>
                         </#list>
                         </select>
                         <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
Index: applications/product/webapp/catalog/category/EditCategoryProducts.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryProducts.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryProducts.ftl	(working copy)
@@ -17,20 +17,20 @@
 under the License.
 -->
 <#if activeOnly>
-    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;activeOnly=false</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductActiveAndInactive}</a>
+    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;activeOnly=false</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductActiveAndInactive}</a>
 <#else>
-    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;activeOnly=true</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductActiveOnly}</a>
+    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;activeOnly=true</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductActiveOnly}</a>
 </#if>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <#if (listSize > 0)>
             <div class="boxhead-right">
                 <#if (viewIndex > 1)>
-                    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonPrevious}</a> |
+                    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonPrevious}</a> |
                 </#if>
                 <span class="submenutextinfo">${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
                 <#if (listSize > highIndex)>
-                    | <a class="lightbuttontext" href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonNext}</a>
+                    | <a class="lightbuttontext" href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonNext}</a>
                 </#if>
                 &nbsp;
             </div>
@@ -55,7 +55,7 @@
               <input type="hidden" name="VIEW_SIZE" value="${viewSize}"/>
               <input type="hidden" name="VIEW_INDEX" value="${viewIndex}"/>
               <input type="hidden" name="activeOnly" value="${activeOnly.toString()}" />
-              <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+              <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
               <table cellspacing="0" class="basic-table">
                  <tr class="header-row">
                     <td>${uiLabelMap.ProductProductNameId}</td>
@@ -69,27 +69,27 @@
                 <#assign suffix = "_o_" + productCategoryMember_index>
                 <#assign product = productCategoryMember.getRelatedOne("Product", false)>
                 <#assign hasntStarted = false>
-                <#if productCategoryMember.fromDate?exists && nowTimestamp.before(productCategoryMember.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
+                <#if productCategoryMember.fromDate?? && nowTimestamp.before(productCategoryMember.getTimestamp("fromDate"))><#assign hasntStarted = true></#if>
                 <#assign hasExpired = false>
-                <#if productCategoryMember.thruDate?exists && nowTimestamp.after(productCategoryMember.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
+                <#if productCategoryMember.thruDate?? && nowTimestamp.after(productCategoryMember.getTimestamp("thruDate"))><#assign hasExpired = true></#if>
                   <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
                     <td>
-                      <#if (product.smallImageUrl)?exists>
-                         <a href="<@ofbizUrl>EditProduct?productId=${(productCategoryMember.productId)?if_exists}</@ofbizUrl>"><img alt="Small Image" src="<@ofbizContentUrl>${product.smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" align="middle" /></a>
+                      <#if (product.smallImageUrl)??>
+                         <a href="<@ofbizUrl>EditProduct?productId=${(productCategoryMember.productId)!}</@ofbizUrl>"><img alt="Small Image" src="<@ofbizContentUrl>${product.smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" align="middle" /></a>
                       </#if>
-                      <a href="<@ofbizUrl>EditProduct?productId=${(productCategoryMember.productId)?if_exists}</@ofbizUrl>" class="buttontext"><#if product?exists>${(product.internalName)?if_exists}</#if> [${(productCategoryMember.productId)?if_exists}]</a>
+                      <a href="<@ofbizUrl>EditProduct?productId=${(productCategoryMember.productId)!}</@ofbizUrl>" class="buttontext"><#if product??>${(product.internalName)!}</#if> [${(productCategoryMember.productId)!}]</a>
                     </td>
-                    <td <#if hasntStarted> style="color: red;"</#if>>${(productCategoryMember.fromDate)?if_exists}</td>
+                    <td <#if hasntStarted> style="color: red;"</#if>>${(productCategoryMember.fromDate)!}</td>
                     <td align="center">
-                        <input type="hidden" name="productId${suffix}" value="${(productCategoryMember.productId)?if_exists}" />
-                        <input type="hidden" name="productCategoryId${suffix}" value="${(productCategoryMember.productCategoryId)?if_exists}" />
-                        <input type="hidden" name="fromDate${suffix}" value="${(productCategoryMember.fromDate)?if_exists}" />
+                        <input type="hidden" name="productId${suffix}" value="${(productCategoryMember.productId)!}" />
+                        <input type="hidden" name="productCategoryId${suffix}" value="${(productCategoryMember.productCategoryId)!}" />
+                        <input type="hidden" name="fromDate${suffix}" value="${(productCategoryMember.fromDate)!}" />
                         <#if hasExpired><#assign class="alert"></#if>
-                        <@htmlTemplate.renderDateTimeField name="thruDate${suffix}" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productCategoryMember.thruDate)?if_exists}" size="25" maxlength="30" id="thruDate${suffix}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-                        <input type="text" size="5" name="sequenceNum${suffix}" value="${(productCategoryMember.sequenceNum)?if_exists}" />
-                        <input type="text" size="5" name="quantity${suffix}" value="${(productCategoryMember.quantity)?if_exists}" />
+                        <@htmlTemplate.renderDateTimeField name="thruDate${suffix}" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productCategoryMember.thruDate)!}" size="25" maxlength="30" id="thruDate${suffix}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <input type="text" size="5" name="sequenceNum${suffix}" value="${(productCategoryMember.sequenceNum)!}" />
+                        <input type="text" size="5" name="quantity${suffix}" value="${(productCategoryMember.quantity)!}" />
                         <br />
-                        <textarea name="comments${suffix}" rows="2" cols="40">${(productCategoryMember.comments)?if_exists}</textarea>
+                        <textarea name="comments${suffix}" rows="2" cols="40">${(productCategoryMember.comments)!}</textarea>
                     </td>
                     <td align="center">
                       <a href="javascript:document.deleteProductFromCategory_o_${rowCount}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
@@ -116,9 +116,9 @@
            <form name="deleteProductFromCategory_o_${rowCount}" method="post" action="<@ofbizUrl>removeCategoryProductMember</@ofbizUrl>">
               <input type="hidden" name="VIEW_SIZE" value="${viewSize}"/>
               <input type="hidden" name="VIEW_INDEX" value="${viewIndex}"/>
-              <input type="hidden" name="productId" value="${(productCategoryMember.productId)?if_exists}" />
-              <input type="hidden" name="productCategoryId" value="${(productCategoryMember.productCategoryId)?if_exists}"/>
-              <input type="hidden" name="fromDate" value="${(productCategoryMember.fromDate)?if_exists}"/>
+              <input type="hidden" name="productId" value="${(productCategoryMember.productId)!}" />
+              <input type="hidden" name="productCategoryId" value="${(productCategoryMember.productCategoryId)!}"/>
+              <input type="hidden" name="fromDate" value="${(productCategoryMember.fromDate)!}"/>
               <input type="hidden" name="activeOnly" value="${activeOnly.toString()}"/>
            </form>
            <#assign rowCount = rowCount + 1>
@@ -129,11 +129,11 @@
         <#if (listSize > 0)>
             <div class="boxhead-right">
                 <#if (viewIndex > 1)>
-                    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonPrevious}</a> |
+                    <a href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonPrevious}</a> |
                 </#if>
                 <span class="submenutextinfo">${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
                 <#if (listSize > highIndex)>
-                    | <a class="lightbuttontext" href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonNext}</a>
+                    | <a class="lightbuttontext" href="<@ofbizUrl>EditCategoryProducts?productCategoryId=${productCategoryId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}&amp;activeOnly=${activeOnly.toString()}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonNext}</a>
                 </#if>
                 &nbsp;
             </div>
@@ -152,7 +152,7 @@
         <table cellspacing="0" class="basic-table">
             <tr><td>
                 <form method="post" action="<@ofbizUrl>addCategoryProductMember</@ofbizUrl>" style="margin: 0;" name="addProductCategoryMemberForm">
-                    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                     <input type="hidden" name="activeOnly" value="${activeOnly.toString()}" />
                     <div>
                         <span class="label">${uiLabelMap.ProductProductId}</span>
@@ -178,7 +178,7 @@
         <table cellspacing="0" class="basic-table">
             <tr><td>
                 <form method="post" action="<@ofbizUrl>copyCategoryProductMembers</@ofbizUrl>" style="margin: 0;" name="copyCategoryProductMembersForm">
-                    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                     <input type="hidden" name="activeOnly" value="${activeOnly.toString()}" />
                     <div>
                         <span class="label">${uiLabelMap.ProductTargetProductCategory}</span>
@@ -207,7 +207,7 @@
         <table cellspacing="0" class="basic-table">
             <tr><td>
                 <form method="post" action="<@ofbizUrl>expireAllCategoryProductMembers</@ofbizUrl>" style="margin: 0;" name="expireAllCategoryProductMembersForm">
-                    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                     <input type="hidden" name="activeOnly" value="${activeOnly.toString()}" />
                     <div>
                         <span class="label">${uiLabelMap.ProductOptionalExpirationDate}</span>
@@ -227,7 +227,7 @@
         <table cellspacing="0" class="basic-table">
             <tr><td>
                 <form method="post" action="<@ofbizUrl>removeExpiredCategoryProductMembers</@ofbizUrl>" style="margin: 0;" name="removeExpiredCategoryProductMembersForm">
-                    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                     <input type="hidden" name="activeOnly" value="${activeOnly.toString()}" />
                     <div>
                         <span class="label">${uiLabelMap.ProductOptionalExpiredBeforeDate}</span>
Index: applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl	(working copy)
@@ -17,11 +17,11 @@
 under the License.
 -->
 <form method="post" action="<@ofbizUrl>attachProductFeaturesToCategory</@ofbizUrl>" name="attachProductFeaturesToCategory">
-    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
 </form>
 <a href="javascript:document.attachProductFeaturesToCategory.submit()" class="buttontext">${uiLabelMap.ProductFeatureCategoryAttach}</a>
 
-<#if productCategoryId?exists && productCategory?exists>
+<#if productCategoryId?? && productCategory??>
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <h3>${uiLabelMap.PageTitleEditCategoryFeatureCategories}</h3>
@@ -41,28 +41,28 @@
                 <#assign line = line + 1>
                 <#assign productFeatureGroup = (productFeatureCatGrpAppl.getRelatedOne("ProductFeatureGroup", false))?default(null)>
                 <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                    <td><a href="<@ofbizUrl>EditFeatureGroupAppls?productFeatureGroupId=${(productFeatureCatGrpAppl.productFeatureGroupId)?if_exists}</@ofbizUrl>" class="buttontext"><#if productFeatureGroup?exists>${(productFeatureGroup.description)?if_exists}</#if> [${(productFeatureCatGrpAppl.productFeatureGroupId)?if_exists}]</a></td>
+                    <td><a href="<@ofbizUrl>EditFeatureGroupAppls?productFeatureGroupId=${(productFeatureCatGrpAppl.productFeatureGroupId)!}</@ofbizUrl>" class="buttontext"><#if productFeatureGroup??>${(productFeatureGroup.description)!}</#if> [${(productFeatureCatGrpAppl.productFeatureGroupId)!}]</a></td>
                     <#assign hasntStarted = false>
-                    <#if (productFeatureCatGrpAppl.getTimestamp("fromDate"))?exists && nowTimestamp.before(productFeatureCatGrpAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-                    <td><div<#if hasntStarted> style="color: red;</#if>>${(productFeatureCatGrpAppl.fromDate)?if_exists}</div></td>
+                    <#if (productFeatureCatGrpAppl.getTimestamp("fromDate"))?? && nowTimestamp.before(productFeatureCatGrpAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+                    <td><div<#if hasntStarted> style="color: red;</#if>>${(productFeatureCatGrpAppl.fromDate)!}</div></td>
                     <td align="center">
                         <form method="post" action="<@ofbizUrl>updateProductFeatureCatGrpAppl</@ofbizUrl>" name="lineFormGrp${line}">
                             <#assign hasExpired = false>
-                            <#if (productFeatureCatGrpAppl.getTimestamp("thruDate"))?exists && nowTimestamp.after(productFeatureCatGrpAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
-                            <input type="hidden" name="productCategoryId" value="${(productFeatureCatGrpAppl.productCategoryId)?if_exists}" />
-                            <input type="hidden" name="productFeatureGroupId" value="${(productFeatureCatGrpAppl.productFeatureGroupId)?if_exists}" />
-                            <input type="hidden" name="fromDate" value="${(productFeatureCatGrpAppl.fromDate)?if_exists}" />
+                            <#if (productFeatureCatGrpAppl.getTimestamp("thruDate"))?? && nowTimestamp.after(productFeatureCatGrpAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
+                            <input type="hidden" name="productCategoryId" value="${(productFeatureCatGrpAppl.productCategoryId)!}" />
+                            <input type="hidden" name="productFeatureGroupId" value="${(productFeatureCatGrpAppl.productFeatureGroupId)!}" />
+                            <input type="hidden" name="fromDate" value="${(productFeatureCatGrpAppl.fromDate)!}" />
                             <#if hasExpired><#assign class="alert"></#if>
-                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" value="${(productFeatureCatGrpAppl.thruDate)?if_exists}" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="22" maxlength="25" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" value="${(productFeatureCatGrpAppl.thruDate)!}" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="22" maxlength="25" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                             <input type="submit" value="${uiLabelMap.CommonUpdate}" style="font-size: x-small;" />
                         </form>
                     </td>
                     <td align="center">
                         <a href="javascript:document.removeProductFeatureCatGrpApplForm_${productFeatureCatGrpAppl_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                         <form method="post" action="<@ofbizUrl>removeProductFeatureCatGrpAppl</@ofbizUrl>" name="removeProductFeatureCatGrpApplForm_${productFeatureCatGrpAppl_index}">
-                            <input type="hidden" name="productFeatureGroupId" value="${(productFeatureCatGrpAppl.productFeatureGroupId)?if_exists}" />
-                            <input type="hidden" name="productCategoryId" value="${(productFeatureCatGrpAppl.productCategoryId)?if_exists}" />
-                            <input type="hidden" name="fromDate" value="${(productFeatureCatGrpAppl.fromDate)?if_exists}" />
+                            <input type="hidden" name="productFeatureGroupId" value="${(productFeatureCatGrpAppl.productFeatureGroupId)!}" />
+                            <input type="hidden" name="productCategoryId" value="${(productFeatureCatGrpAppl.productCategoryId)!}" />
+                            <input type="hidden" name="fromDate" value="${(productFeatureCatGrpAppl.fromDate)!}" />
                         </form>
                     </td>
                 </tr>
@@ -85,10 +85,10 @@
             <table cellspacing="0" class="basic-table">
                 <tr><td>
                     <form method="post" action="<@ofbizUrl>createProductFeatureCatGrpAppl</@ofbizUrl>" style="margin: 0;" name="addNewGroupForm">
-                    <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                     <select name="productFeatureGroupId">
                     <#list productFeatureGroups as productFeatureGroup>
-                        <option value="${(productFeatureGroup.productFeatureGroupId)?if_exists}">${(productFeatureGroup.description)?if_exists} [${(productFeatureGroup.productFeatureGroupId)?if_exists}]</option>
+                        <option value="${(productFeatureGroup.productFeatureGroupId)!}">${(productFeatureGroup.description)!} [${(productFeatureGroup.productFeatureGroupId)!}]</option>
                     </#list>
                     </select>
                     <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" value="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
@@ -120,28 +120,28 @@
                 <#assign line = line + 1>
                 <#assign productFeatureCategory = (productFeatureCategoryAppl.getRelatedOne("ProductFeatureCategory", false))?default(null)>
                 <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                    <td><a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${(productFeatureCategoryAppl.productFeatureCategoryId)?if_exists}</@ofbizUrl>" class="buttontext"><#if productFeatureCategory?exists>${(productFeatureCategory.description)?if_exists}</#if> [${(productFeatureCategoryAppl.productFeatureCategoryId)?if_exists}]</a></td>
+                    <td><a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${(productFeatureCategoryAppl.productFeatureCategoryId)!}</@ofbizUrl>" class="buttontext"><#if productFeatureCategory??>${(productFeatureCategory.description)!}</#if> [${(productFeatureCategoryAppl.productFeatureCategoryId)!}]</a></td>
                     <#assign hasntStarted = false>
-                    <#if (productFeatureCategoryAppl.getTimestamp("fromDate"))?exists && nowTimestamp.before(productFeatureCategoryAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-                    <td <#if hasntStarted> style="color: red;"</#if>>${(productFeatureCategoryAppl.fromDate)?if_exists}</td>
+                    <#if (productFeatureCategoryAppl.getTimestamp("fromDate"))?? && nowTimestamp.before(productFeatureCategoryAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+                    <td <#if hasntStarted> style="color: red;"</#if>>${(productFeatureCategoryAppl.fromDate)!}</td>
                     <td align="center">
                         <form method="post" action="<@ofbizUrl>updateProductFeatureCategoryAppl</@ofbizUrl>" name="lineForm${line}">
                             <#assign hasExpired = false>
-                            <#if (productFeatureCategoryAppl.getTimestamp("thruDate"))?exists && nowTimestamp.after(productFeatureCategoryAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
-                            <input type="hidden" name="productCategoryId" value="${(productFeatureCategoryAppl.productCategoryId)?if_exists}" />
-                            <input type="hidden" name="productFeatureCategoryId" value="${(productFeatureCategoryAppl.productFeatureCategoryId)?if_exists}" />
-                            <input type="hidden" name="fromDate" value="${(productFeatureCategoryAppl.fromDate)?if_exists}" />
+                            <#if (productFeatureCategoryAppl.getTimestamp("thruDate"))?? && nowTimestamp.after(productFeatureCategoryAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
+                            <input type="hidden" name="productCategoryId" value="${(productFeatureCategoryAppl.productCategoryId)!}" />
+                            <input type="hidden" name="productFeatureCategoryId" value="${(productFeatureCategoryAppl.productFeatureCategoryId)!}" />
+                            <input type="hidden" name="fromDate" value="${(productFeatureCategoryAppl.fromDate)!}" />
                             <#if hasExpired><#assign class="alert"></#if>
-                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" value="${(productFeatureCategoryAppl.thruDate)?if_exists}" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="thruDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                            <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" value="${(productFeatureCategoryAppl.thruDate)!}" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="thruDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                             <input type="submit" value="${uiLabelMap.CommonUpdate}" style="font-size: x-small;" />
                         </form>
                     </td>
                     <td align="center">
                     <a href="javascript:document.removeProductFeatureCategoryApplForm_${productFeatureCategoryAppl_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                     <form method="post" action="<@ofbizUrl>removeProductFeatureCategoryAppl</@ofbizUrl>" name="removeProductFeatureCategoryApplForm_${productFeatureCategoryAppl_index}">
-                        <input type="hidden" name="productFeatureCategoryId" value="${(productFeatureCategoryAppl.productFeatureCategoryId)?if_exists}" />
-                        <input type="hidden" name="productCategoryId" value="${(productFeatureCategoryAppl.productCategoryId)?if_exists}" />
-                        <input type="hidden" name="fromDate" value="${(productFeatureCategoryAppl.fromDate)?if_exists}" />
+                        <input type="hidden" name="productFeatureCategoryId" value="${(productFeatureCategoryAppl.productFeatureCategoryId)!}" />
+                        <input type="hidden" name="productCategoryId" value="${(productFeatureCategoryAppl.productCategoryId)!}" />
+                        <input type="hidden" name="fromDate" value="${(productFeatureCategoryAppl.fromDate)!}" />
                     </form>
                     </td>
                 </tr>
@@ -163,10 +163,10 @@
             <table cellspacing="0" class="basic-table">
                 <tr><td>
                     <form method="post" action="<@ofbizUrl>createProductFeatureCategoryAppl</@ofbizUrl>" style="margin: 0;" name="addNewCategoryForm">
-                        <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+                        <input type="hidden" name="productCategoryId" value="${productCategoryId!}" />
                         <select name="productFeatureCategoryId">
                         <#list productFeatureCategories as productFeatureCategory>
-                            <option value="${(productFeatureCategory.productFeatureCategoryId)?if_exists}">${(productFeatureCategory.description)?if_exists} [${(productFeatureCategory.productFeatureCategoryId)?if_exists}]</option>
+                            <option value="${(productFeatureCategory.productFeatureCategoryId)!}">${(productFeatureCategory.description)!} [${(productFeatureCategory.productFeatureCategoryId)!}]</option>
                         </#list>
                         </select>
                         <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" value="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
Index: applications/product/webapp/catalog/category/EditCategoryParties.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryParties.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryParties.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if productCategoryId?exists && productCategory?exists>
+<#if productCategoryId?? && productCategory??>
     <div class="screenlet">
         <div class="screenlet-title-bar">
             <h3>${uiLabelMap.PageTitleEditCategoryParties}</h3>
@@ -37,31 +37,31 @@
             <#assign line = line + 1>
             <#assign curRoleType = productCategoryRole.getRelatedOne("RoleType", true)>
             <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-            <td><a href="/partymgr/control/viewprofile?party_id=${(productCategoryRole.partyId)?if_exists}" target="_blank" class="buttontext">${(productCategoryRole.partyId)?if_exists}</a></td>
-            <td>${(curRoleType.get("description",locale))?if_exists}</td>
+            <td><a href="/partymgr/control/viewprofile?party_id=${(productCategoryRole.partyId)!}" target="_blank" class="buttontext">${(productCategoryRole.partyId)!}</a></td>
+            <td>${(curRoleType.get("description",locale))!}</td>
             <#assign hasntStarted = false>
-            <#if (productCategoryRole.getTimestamp("fromDate"))?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().before(productCategoryRole.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-            <td <#if hasntStarted> style="color: red;"</#if>>${(productCategoryRole.fromDate)?if_exists}</td>
+            <#if (productCategoryRole.getTimestamp("fromDate"))?? && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().before(productCategoryRole.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+            <td <#if hasntStarted> style="color: red;"</#if>>${(productCategoryRole.fromDate)!}</td>
             <td align="center">
                 <form method="post" action="<@ofbizUrl>updatePartyToCategory</@ofbizUrl>" name="lineForm_update${line}">
                     <#assign hasExpired = false>
-                    <#if (productCategoryRole.getTimestamp("thruDate"))?exists && (Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(productCategoryRole.getTimestamp("thruDate")))> <#assign hasExpired = true></#if>
-                    <input type="hidden" name="productCategoryId" value="${(productCategoryRole.productCategoryId)?if_exists}" />
-                    <input type="hidden" name="partyId" value="${(productCategoryRole.partyId)?if_exists}" />
-                    <input type="hidden" name="roleTypeId" value="${(productCategoryRole.roleTypeId)?if_exists}" />
-                    <input type="hidden" name="fromDate" value="${(productCategoryRole.getTimestamp("fromDate"))?if_exists}" />
+                    <#if (productCategoryRole.getTimestamp("thruDate"))?? && (Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(productCategoryRole.getTimestamp("thruDate")))> <#assign hasExpired = true></#if>
+                    <input type="hidden" name="productCategoryId" value="${(productCategoryRole.productCategoryId)!}" />
+                    <input type="hidden" name="partyId" value="${(productCategoryRole.partyId)!}" />
+                    <input type="hidden" name="roleTypeId" value="${(productCategoryRole.roleTypeId)!}" />
+                    <input type="hidden" name="fromDate" value="${(productCategoryRole.getTimestamp("fromDate"))!}" />
                     <#if hasExpired><#assign class="alert"></#if>
-                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productCategoryRole. getTimestamp('thruDate'))?if_exists}" size="25" maxlength="30" id="thruDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productCategoryRole. getTimestamp('thruDate'))!}" size="25" maxlength="30" id="thruDate_1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <input type="submit" value="${uiLabelMap.CommonUpdate}" style="font-size: x-small;" />
                 </form>
             </td>
             <td align="center">
                 <form method="post" action="<@ofbizUrl>removePartyFromCategory</@ofbizUrl>" name="lineForm_delete${line}">
                     <#assign hasExpired = false>
-                    <input type="hidden" name="productCategoryId" value="${(productCategoryRole.productCategoryId)?if_exists}" />
-                    <input type="hidden" name="partyId" value="${(productCategoryRole.partyId)?if_exists}" />
-                    <input type="hidden" name="roleTypeId" value="${(productCategoryRole.roleTypeId)?if_exists}" />
-                    <input type="hidden" name="fromDate" value="${(productCategoryRole.getTimestamp("fromDate"))?if_exists}" />
+                    <input type="hidden" name="productCategoryId" value="${(productCategoryRole.productCategoryId)!}" />
+                    <input type="hidden" name="partyId" value="${(productCategoryRole.partyId)!}" />
+                    <input type="hidden" name="roleTypeId" value="${(productCategoryRole.roleTypeId)!}" />
+                    <input type="hidden" name="fromDate" value="${(productCategoryRole.getTimestamp("fromDate"))!}" />
                     <a href="javascript:document.lineForm_delete${line}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                 </form>
             </td>
@@ -89,7 +89,7 @@
                             <input type="text" size="20" maxlength="20" name="partyId" value="" />
                             <select name="roleTypeId" size="1">
                             <#list roleTypes as roleType>
-                                <option value="${(roleType.roleTypeId)?if_exists}" <#if roleType.roleTypeId.equals("_NA_")> selected="selected"</#if>>${(roleType.get("description",locale))?if_exists}</option>
+                                <option value="${(roleType.roleTypeId)!}" <#if roleType.roleTypeId.equals("_NA_")> selected="selected"</#if>>${(roleType.get("description",locale))!}</option>
                             </#list>
                             </select>
 
Index: applications/product/webapp/catalog/category/CategoryTree.ftl
===================================================================
--- applications/product/webapp/catalog/category/CategoryTree.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/CategoryTree.ftl	(working copy)
@@ -35,9 +35,9 @@
             <#if (rootCat?has_content)>
                 <#list rootCat as root>
                     {
-                    "data": {"title" : unescapeHtmlText("<#if root.categoryName?exists>${root.categoryName?js_string} [${root.productCategoryId}]<#else>${root.productCategoryId?js_string}</#if>"), "attr": {"href" : "<@ofbizUrl>/EditProdCatalog?prodCatalogId=${root.productCategoryId}</@ofbizUrl>","onClick" : "callDocument('${root.productCategoryId}', 'catalog');"}},
+                    "data": {"title" : unescapeHtmlText("<#if root.categoryName??>${root.categoryName?js_string} [${root.productCategoryId}]<#else>${root.productCategoryId?js_string}</#if>"), "attr": {"href" : "<@ofbizUrl>/EditProdCatalog?prodCatalogId=${root.productCategoryId}</@ofbizUrl>","onClick" : "callDocument('${root.productCategoryId}', 'catalog');"}},
                     "attr": {"id" : "${root.productCategoryId}", "rel" : "root", "isCatalog" : "${root.isCatalog?string}" ,"isCategoryType" : "${root.isCategoryType?string}"}
-                    <#if root.child?exists>
+                    <#if root.child??>
                     ,"state" : "closed"
                     </#if>
                     <#if root_has_next>
@@ -59,7 +59,7 @@
             $.cookie('jstree_open', null);
         <#else>
         <#-- Coloring the category when type the product categoryId manualy at the url bar -->
-            $.cookie('jstree_select', "<#if productCategoryId?exists>${productCategoryId}<#elseif prodCatalogId?exists>${prodCatalogId}<#elseif showProductCategoryId?exists>${showProductCategoryId}</#if>");
+            $.cookie('jstree_select', "<#if productCategoryId??>${productCategoryId}<#elseif prodCatalogId??>${prodCatalogId}<#elseif showProductCategoryId??>${showProductCategoryId}</#if>");
         </#if>
         jQuery("#tree").jstree({
         "plugins" : [ "themes", "json_data","ui" ,"cookies", "types"],
Index: applications/product/webapp/catalog/category/EditCategoryContent.ftl
===================================================================
--- applications/product/webapp/catalog/category/EditCategoryContent.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/category/EditCategoryContent.ftl	(working copy)
@@ -24,7 +24,7 @@
         <form action="<@ofbizUrl>updateCategoryContent</@ofbizUrl>" method="post" style="margin: 0;" name="categoryForm">
             <table cellspacing="0" class="basic-table">
                 <tr>
-                    <td width="26%" align="right" class="label"><input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />${uiLabelMap.ProductProductCategoryType}</td>
+                    <td width="26%" align="right" class="label"><input type="hidden" name="productCategoryId" value="${productCategoryId!}" />${uiLabelMap.ProductProductCategoryType}</td>
                     <td>&nbsp;</td>
                     <td width="74%">
                         <select name="productCategoryTypeId" size="1">
@@ -38,27 +38,27 @@
                 <tr>
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductName}</td>
                     <td>&nbsp;</td>
-                    <td width="74%"><input type="text" value="${(productCategory.categoryName)?if_exists}" name="categoryName" size="60" maxlength="60"/></td>
+                    <td width="74%"><input type="text" value="${(productCategory.categoryName)!}" name="categoryName" size="60" maxlength="60"/></td>
                 </tr>
                 <tr>
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductCategoryDescription}</td>
                     <td>&nbsp;</td>
                     <td width="74%" colspan="4" valign="top">
-                        <textarea name="description" cols="60" rows="2">${(productCategory.description)?if_exists}</textarea>
+                        <textarea name="description" cols="60" rows="2">${(productCategory.description)!}</textarea>
                     </td>
                 </tr>
                 <tr>
                     <td width="26%" align="right" valign="top" class="label">${uiLabelMap.ProductLongDescription}</td>
                     <td>&nbsp;</td>
                     <td width="74%" colspan="4" valign="top">
-                        <textarea name="longDescription" cols="60" rows="7">${(productCategory.longDescription)?if_exists}</textarea>
+                        <textarea name="longDescription" cols="60" rows="7">${(productCategory.longDescription)!}</textarea>
                     </td>
                 </tr>
                 <tr>
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductDetailScreen}</td>
                     <td>&nbsp;</td>
                     <td width="74%">
-                        <input type="text" <#if productCategory?has_content>value="${productCategory.detailScreen?if_exists}"</#if> name="detailScreen" size="60" maxlength="250" />
+                        <input type="text" <#if productCategory?has_content>value="${productCategory.detailScreen!}"</#if> name="detailScreen" size="60" maxlength="250" />
                         <br />
                         <span class="tooltip">${uiLabelMap.ProductDefaultsTo} &quot;categorydetail&quot;, ${uiLabelMap.ProductDetailScreenMessage}: &quot;component://ecommerce/widget/CatalogScreens.xml#categorydetail&quot;</span>
                     </td>
Index: applications/product/webapp/catalog/imagemanagement/AddMultipleImages.ftl
===================================================================
--- applications/product/webapp/catalog/imagemanagement/AddMultipleImages.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/imagemanagement/AddMultipleImages.ftl	(working copy)
@@ -28,7 +28,7 @@
         <td>
             <select name="imageResize" >
                 <#list productFeatures as productFeature>
-                    <option value="${productFeature.abbrev?if_exists}">${productFeature.description?if_exists}</option>
+                    <option value="${productFeature.abbrev!}">${productFeature.description!}</option>
                 </#list>
                 <option selected="" value="">Do not resize</option>
             </select>
Index: applications/product/webapp/catalog/imagemanagement/ImageGallery.ftl
===================================================================
--- applications/product/webapp/catalog/imagemanagement/ImageGallery.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/imagemanagement/ImageGallery.ftl	(working copy)
@@ -32,8 +32,8 @@
                     <table>
                         <tbody>
                             <tr valign="middle">
-                                <#-- <td align="center"><a href="/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}" target="_blank"><img src="<@ofbizContentUrl>${(contentDataResourceView.drObjectInfo)?if_exists}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td> -->
-                                <td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)?if_exists}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)?if_exists}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
+                                <#-- <td align="center"><a href="/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}" target="_blank"><img src="<@ofbizContentUrl>${(contentDataResourceView.drObjectInfo)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td> -->
+                                <td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)!}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
                             </tr>
                             <tr valign="middle">
                                 <#-- <td align="center"><a href="javascript:lookup_popup2('ImageShare?contentId=${productContentAndInfo.contentId}&amp;dataResourceId=${productContentAndInfo.dataResourceId}&amp;seoUrl=/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}','' ,500,500);" class="buttontext">${uiLabelMap.ImageManagementShare}</a></td> -->
@@ -51,8 +51,8 @@
                     <table>
                         <tbody>
                             <tr valign="middle">
-                                <#-- <td align="center"><a href="/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}" target="_blank"><img src="<@ofbizContentUrl>${(contentDataResourceView.drObjectInfo)?if_exists}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td> -->
-                                <td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)?if_exists}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)?if_exists}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
+                                <#-- <td align="center"><a href="/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}" target="_blank"><img src="<@ofbizContentUrl>${(contentDataResourceView.drObjectInfo)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td> -->
+                                <td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)!}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
                             </tr>
                             <tr valign="middle">
                                 <#-- <td align="center"><a href="javascript:lookup_popup2('ImageShare?contentId=${productContentAndInfo.contentId}&amp;dataResourceId=${productContentAndInfo.dataResourceId}&amp;seoUrl=/catalog/images/${seoUrl}-${product.productId}/${seoUrl}-${contentName}','' ,500,500);" class="buttontext">${uiLabelMap.ImageManagementShare}</a></td> -->
Index: applications/product/webapp/catalog/imagemanagement/showPeopleApprove.ftl
===================================================================
--- applications/product/webapp/catalog/imagemanagement/showPeopleApprove.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/imagemanagement/showPeopleApprove.ftl	(working copy)
@@ -40,7 +40,7 @@
                 <table>
                     <#assign userLoginApprovers  = delegator.findByAnd("UserLogin",Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", partyRole.partyId))/>
                     <#assign userLoginApprover = userLoginApprovers[0]>
-                    <#assign userLoginAndPartyDetails = delegator.findOne("UserLoginAndPartyDetails", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", userLoginApprover.partyId, "userLoginId", userLoginApprover.userLoginId), false)?if_exists>
+                    <#assign userLoginAndPartyDetails = delegator.findOne("UserLoginAndPartyDetails", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", userLoginApprover.partyId, "userLoginId", userLoginApprover.userLoginId), false)!>
                     <#if userLoginAndPartyDetails?has_content>
                         <#assign partyContentDetail  = delegator.findByAnd("ContentApproval",Static["org.ofbiz.base.util.UtilMisc"].toMap("roleTypeId", "IMAGEAPPROVER", "approvalStatusId", "IM_PENDING", "partyId", userLoginAndPartyDetails.partyId))/>
                         <#assign imageApproveSize = partyContentDetail.size()>
@@ -48,13 +48,13 @@
                             <#if userMap.checkUser == userLoginAndPartyDetails.userLoginId>
                                 <td>
                                     <div>
-                                        <b>${userLoginAndPartyDetails.firstName?if_exists} ${userLoginAndPartyDetails.middleName?if_exists} ${userLoginAndPartyDetails.lastName?if_exists} (${imageApproveSize})</b>&nbsp;&nbsp;|&nbsp;&nbsp;
+                                        <b>${userLoginAndPartyDetails.firstName!} ${userLoginAndPartyDetails.middleName!} ${userLoginAndPartyDetails.lastName!} (${imageApproveSize})</b>&nbsp;&nbsp;|&nbsp;&nbsp;
                                     </div>
                                 </td>
                             <#else>
                                 <td>
                                     <div>
-                                        <b><a href="<@ofbizUrl>ImageApprove</@ofbizUrl>" class="text">${userLoginAndPartyDetails.firstName?if_exists} ${userLoginAndPartyDetails.middleName?if_exists} ${userLoginAndPartyDetails.lastName?if_exists} (${imageApproveSize})</a></b>&nbsp;&nbsp;|&nbsp;&nbsp;
+                                        <b><a href="<@ofbizUrl>ImageApprove</@ofbizUrl>" class="text">${userLoginAndPartyDetails.firstName!} ${userLoginAndPartyDetails.middleName!} ${userLoginAndPartyDetails.lastName!} (${imageApproveSize})</a></b>&nbsp;&nbsp;|&nbsp;&nbsp;
                                     </div>
                                 </td>
                             </#if>
@@ -62,13 +62,13 @@
                             <#if userMap.checkUser == userLoginAndPartyDetails.userLoginId>
                                 <td>
                                     <div>
-                                        <b>${userLoginAndPartyDetails.firstName?if_exists} ${userLoginAndPartyDetails.middleName?if_exists} ${userLoginAndPartyDetails.lastName?if_exists} (${imageApproveSize})</b>&nbsp;&nbsp;|&nbsp;&nbsp;
+                                        <b>${userLoginAndPartyDetails.firstName!} ${userLoginAndPartyDetails.middleName!} ${userLoginAndPartyDetails.lastName!} (${imageApproveSize})</b>&nbsp;&nbsp;|&nbsp;&nbsp;
                                     </div>
                                 </td>
                             <#else>
                                 <td>
                                     <div>
-                                        <b><a href="<@ofbizUrl>ListPeopleApproved?createdByUserLogin=${userLoginAndPartyDetails.userLoginId}</@ofbizUrl>" class="text">${userLoginAndPartyDetails.firstName?if_exists} ${userLoginAndPartyDetails.middleName?if_exists} ${userLoginAndPartyDetails.lastName?if_exists} (${imageApproveSize})</a></b>&nbsp;&nbsp;|&nbsp;&nbsp;
+                                        <b><a href="<@ofbizUrl>ListPeopleApproved?createdByUserLogin=${userLoginAndPartyDetails.userLoginId}</@ofbizUrl>" class="text">${userLoginAndPartyDetails.firstName!} ${userLoginAndPartyDetails.middleName!} ${userLoginAndPartyDetails.lastName!} (${imageApproveSize})</a></b>&nbsp;&nbsp;|&nbsp;&nbsp;
                                     </div>
                                 </td>
                             </#if>
Index: applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl
===================================================================
--- applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl	(working copy)
@@ -16,12 +16,12 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#assign externalKeyParam = "&amp;externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>
+<#assign externalKeyParam = "&amp;externalLoginKey=" + requestAttributes.externalLoginKey!>
 <#if product?has_content>
 <!-- First some general forms and scripts -->
 <form name="removeAssocForm" action="<@ofbizUrl>quickAdminUpdateProductAssoc</@ofbizUrl>">
-    <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
-    <input type="hidden" name="PRODUCT_ID" value="${product.productId?if_exists}"/>
+    <input type="hidden" name="productId" value="${product.productId!}"/>
+    <input type="hidden" name="PRODUCT_ID" value="${product.productId!}"/>
     <input type="hidden" name="PRODUCT_ID_TO" value=""/>
     <input type="hidden" name="PRODUCT_ASSOC_TYPE_ID" value="PRODUCT_VARIANT"/>
     <input type="hidden" name="FROM_DATE" value=""/>
@@ -29,7 +29,7 @@
     <input type="hidden" name="useValues" value="true"/>
 </form>
 <form name="removeSelectable" action="<@ofbizUrl>updateProductQuickAdminDelFeatureTypes</@ofbizUrl>">
-    <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+    <input type="hidden" name="productId" value="${product.productId!}"/>
     <input type="hidden" name="productFeatureTypeId" value=""/>
 </form>
 <script language="JavaScript" type="text/javascript">
@@ -51,7 +51,7 @@
 }
 
 function doPublish() {
-    window.open('/ecommerce/control/product?product_id=${productId?if_exists}');
+    window.open('/ecommerce/control/product?product_id=${productId!}');
     document.publish.submit();
 }
 
@@ -63,21 +63,21 @@
     <div class="screenlet-body">
         <!-- Name update section -->
         <form action="<@ofbizUrl>updateProductQuickAdminName</@ofbizUrl>" method="post" style="margin: 0;" name="editProduct">
-            <input type="hidden" name="productId" value="${productId?if_exists}"/>
-            <#if (product.isVirtual)?if_exists == "Y">
+            <input type="hidden" name="productId" value="${productId!}"/>
+            <#if (product.isVirtual)! == "Y">
                 <input type="hidden" name="isVirtual" value="Y"/>
             </#if>
             <table cellspacing="0" class="basic-table">
                 <tr>
-                    <td><h2>${productId?if_exists}</h2></td>
-                    <td><input type="text" name="productName" size="40" maxlength="40" value="${product.productName?if_exists}"/></td>
+                    <td><h2>${productId!}</h2></td>
+                    <td><input type="text" name="productName" size="40" maxlength="40" value="${product.productName!}"/></td>
                     <td><input type="submit" value="${uiLabelMap.ProductUpdateName}"/></td>
                 </tr>
             </table>
         </form>
     </div>
 </div>
-<#if (product.isVirtual)?if_exists == "Y">
+<#if (product.isVirtual)! == "Y">
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <h3>${uiLabelMap.ProductSelectableFeatures}</h3>
@@ -85,19 +85,19 @@
     <div class="screenlet-body">
         <!-- ***************************************************** Selectable features section -->
         <form action="<@ofbizUrl>EditProductQuickAdmin</@ofbizUrl>" method="post" style="margin: 0;" name="selectableFeatureTypeSelector">
-            <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+            <input type="hidden" name="productId" value="${product.productId!}"/>
             <table cellspacing="0" class="basic-table">
                 <tr>
                     <td colspan="2"><span class="label">${uiLabelMap.CommonType}</span>
                         <select name="productFeatureTypeId" onchange="javascript:document.selectableFeatureTypeSelector.submit();">
                             <option value="~~any~~">${uiLabelMap.ProductAnyFeatureType}</option>
                             <#list featureTypes as featureType>
-                                <#if (featureType.productFeatureTypeId)?if_exists == (productFeatureTypeId)?if_exists>
+                                <#if (featureType.productFeatureTypeId)! == (productFeatureTypeId)!>
                                     <#assign selected="selected"/>
                                 <#else>
                                     <#assign selected=""/>
                                 </#if>
-                                <option ${selected} value="${featureType.productFeatureTypeId?if_exists}">${featureType.get("description",locale)?if_exists}</option>
+                                <option ${selected} value="${featureType.productFeatureTypeId!}">${featureType.get("description",locale)!}</option>
                             </#list>
                         </select>
                     </td>
@@ -106,8 +106,8 @@
         </form>
         <br />
         <form action="<@ofbizUrl>updateProductQuickAdminSelFeat</@ofbizUrl>" method="post" style="margin: 0;" name="selectableFeature">
-        <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
-        <input type="hidden" name="productFeatureTypeId" value="${(productFeatureTypeId)?if_exists}"/>
+        <input type="hidden" name="productId" value="${product.productId!}"/>
+        <input type="hidden" name="productFeatureTypeId" value="${(productFeatureTypeId)!}"/>
         <table cellspacing="0" class="basic-table">
             <tr class="header-row">
                 <td><b>${uiLabelMap.ProductProductId}</b></td>
@@ -123,15 +123,15 @@
             <#assign assocProduct = productAssoc.getRelatedOne("AssocProduct", false)/>
             <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
                 <td nowrap="nowrap">
-                <input type="hidden" name="productId${idx}" value="${assocProduct.productId?if_exists}"/>
-                <a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${assocProduct.productId?if_exists}</a></td>
-                <td width="100%"><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${assocProduct.internalName?if_exists}</a></td>
+                <input type="hidden" name="productId${idx}" value="${assocProduct.productId!}"/>
+                <a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${assocProduct.productId!}</a></td>
+                <td width="100%"><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${assocProduct.internalName!}</a></td>
                 <td colspan="2">
-                    <input type="text" name="description${idx}" size="70" maxlength="100" value="${selFeatureDesc[assocProduct.productId]?if_exists}"/>
+                    <input type="text" name="description${idx}" size="70" maxlength="100" value="${selFeatureDesc[assocProduct.productId]!}"/>
                 </td>
                 <#assign checked=""/>
-                <#if ((assocProduct.smallImageUrl?if_exists != "") && (assocProduct.smallImageUrl?if_exists == product.smallImageUrl?if_exists) &&
-                        (assocProduct.smallImageUrl?if_exists != "") && (assocProduct.smallImageUrl?if_exists == product.smallImageUrl?if_exists)) >
+                <#if ((assocProduct.smallImageUrl! != "") && (assocProduct.smallImageUrl! == product.smallImageUrl!) &&
+                        (assocProduct.smallImageUrl! != "") && (assocProduct.smallImageUrl! == product.smallImageUrl!)) >
                     <#assign checked = "checked='checked'"/>
                 </#if>
                 <td><input type="radio" ${checked} name="useImages" value="${assocProduct.productId}"/></td>
@@ -151,8 +151,8 @@
                 <td>
                     <table cellspacing="0" class="basic-table">
                         <#list selectableFeatureTypes as selectableFeatureType>
-                        <tr><td><a class="buttontext" href="javascript:removeSelectable('${(selectableFeatureType.get("description",locale))?if_exists}','${selectableFeatureType.productFeatureTypeId}','${product.productId}')">x</a>
-                            <a class="buttontext" href="<@ofbizUrl>EditProductQuickAdmin?productFeatureTypeId=${(selectableFeatureType.productFeatureTypeId)?if_exists}&amp;productId=${product.productId?if_exists}</@ofbizUrl>">${(selectableFeatureType.get("description",locale))?if_exists}</a></td></tr>
+                        <tr><td><a class="buttontext" href="javascript:removeSelectable('${(selectableFeatureType.get("description",locale))!}','${selectableFeatureType.productFeatureTypeId}','${product.productId}')">x</a>
+                            <a class="buttontext" href="<@ofbizUrl>EditProductQuickAdmin?productFeatureTypeId=${(selectableFeatureType.productFeatureTypeId)!}&amp;productId=${product.productId!}</@ofbizUrl>">${(selectableFeatureType.get("description",locale))!}</a></td></tr>
                         </#list>
                     </table>
                 </td>
@@ -167,14 +167,14 @@
     </div>
 </div>
 </#if>
-<#if (product.isVariant)?if_exists == "Y">
+<#if (product.isVariant)! == "Y">
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <h3>${uiLabelMap.ProductDistinguishingFeatures}</h3>
     </div>
     <div class="screenlet-body">
         <form action="<@ofbizUrl>updateProductQuickAdminDistFeat</@ofbizUrl>" method="post" style="margin: 0;" name="distFeature">
-            <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+            <input type="hidden" name="productId" value="${product.productId!}"/>
             <table cellspacing="0" class="basic-table">
                 <tr class="header-row">
                     <td><b>${uiLabelMap.ProductProductId}</b></td>
@@ -208,7 +208,7 @@
     <div class="screenlet-body">
         <!-- ***************************************************** Shipping dimensions section -->
         <form action="<@ofbizUrl>updateProductQuickAdminShipping</@ofbizUrl>" method="post" name="updateShipping">
-            <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+            <input type="hidden" name="productId" value="${product.productId!}"/>
             <input type="hidden" name="heightUomId" value="LEN_in"/>
             <input type="hidden" name="widthUomId" value="LEN_in"/>
             <input type="hidden" name="depthUomId" value="LEN_in"/>
@@ -227,22 +227,22 @@
                     <td><b>${uiLabelMap.ProductST}</b></td>
                     <td><b>${uiLabelMap.ProductTD}</b></td>
                 </tr>
-        <#if (product.isVirtual)?if_exists == "Y">
+        <#if (product.isVirtual)! == "Y">
             <#assign idx=0/>
             <#assign rowClass = "2">
             <#list assocProducts as assocProduct>
                 <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                    <td><input type="text" name="productHeight${idx}" size="6" maxlength="20" value="${assocProduct.productHeight?if_exists}"/></td>
-                    <td><input type="text" name="productWidth${idx}" size="6" maxlength="20" value="${assocProduct.productWidth?if_exists}"/></td>
-                    <td><input type="text" name="productDepth${idx}" size="6" maxlength="20" value="${assocProduct.productDepth?if_exists}"/></td>
-                    <td><input type="text" name="weight${idx}" size="6" maxlength="20" value="${assocProduct.weight?if_exists}"/></td>
-                    <td><input type="text" name="~floz${idx}" size="6" maxlength="20" value="${featureFloz.get(assocProduct.productId)?if_exists}"/></td>
-                    <td><input type="text" name="~ml${idx}" size="6" maxlength="20" value="${featureMl.get(assocProduct.productId)?if_exists}"/></td>
-                    <td><input type="text" name="~ntwt${idx}" size="6" maxlength="20" value="${featureNtwt.get(assocProduct.productId)?if_exists}"/></td>
-                    <td><input type="text" name="~grams${idx}" size="6" maxlength="20" value="${featureGrams.get(assocProduct.productId)?if_exists}"/></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProductFeatures?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureHazmat.get(assocProduct.productId)?if_exists)}</a></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureSalesThru.get(assocProduct.productId)?if_exists)}</a></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProductAssoc?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureThruDate.get(assocProduct.productId)?if_exists)}</a></td>
+                    <td><input type="text" name="productHeight${idx}" size="6" maxlength="20" value="${assocProduct.productHeight!}"/></td>
+                    <td><input type="text" name="productWidth${idx}" size="6" maxlength="20" value="${assocProduct.productWidth!}"/></td>
+                    <td><input type="text" name="productDepth${idx}" size="6" maxlength="20" value="${assocProduct.productDepth!}"/></td>
+                    <td><input type="text" name="weight${idx}" size="6" maxlength="20" value="${assocProduct.weight!}"/></td>
+                    <td><input type="text" name="~floz${idx}" size="6" maxlength="20" value="${featureFloz.get(assocProduct.productId)!}"/></td>
+                    <td><input type="text" name="~ml${idx}" size="6" maxlength="20" value="${featureMl.get(assocProduct.productId)!}"/></td>
+                    <td><input type="text" name="~ntwt${idx}" size="6" maxlength="20" value="${featureNtwt.get(assocProduct.productId)!}"/></td>
+                    <td><input type="text" name="~grams${idx}" size="6" maxlength="20" value="${featureGrams.get(assocProduct.productId)!}"/></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProductFeatures?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureHazmat.get(assocProduct.productId)!)}</a></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureSalesThru.get(assocProduct.productId)!)}</a></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProductAssoc?productId=${assocProduct.productId}</@ofbizUrl>">${StringUtil.wrapString(featureThruDate.get(assocProduct.productId)!)}</a></td>
                 </tr>
                 <#assign idx = idx + 1/>
                 <#-- toggle the row color -->
@@ -258,17 +258,17 @@
                 </tr>
         <#else>
                 <tr>
-                    <td><input type="text" name="productHeight" size="6" maxlength="20" value="${product.productHeight?if_exists}" /></td>
-                    <td><input type="text" name="productWidth" size="6" maxlength="20" value="${product.productWidth?if_exists}" /></td>
-                    <td><input type="text" name="productDepth" size="6" maxlength="20" value="${product.productDepth?if_exists}" /></td>
-                    <td><input type="text" name="weight" size="6" maxlength="20" value="${product.weight?if_exists}" /></td>
-                    <td><input type="text" name="~floz" size="6" maxlength="20" value="${floz?if_exists}" /></td>
-                    <td><input type="text" name="~ml" size="6" maxlength="20" value="${ml?if_exists}" /></td>
-                    <td><input type="text" name="~ntwt" size="6" maxlength="20" value="${ntwt?if_exists}" /></td>
-                    <td><input type="text" name="~grams" size="6" maxlength="20" value="${grams?if_exists}" /></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProductFeatures?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(hazmat?if_exists)}</a></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(salesthru?if_exists)}</a></td>
-                    <td><a class="buttontext" href="<@ofbizUrl>EditProductAssoc?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(thrudate?if_exists)}</a></td>
+                    <td><input type="text" name="productHeight" size="6" maxlength="20" value="${product.productHeight!}" /></td>
+                    <td><input type="text" name="productWidth" size="6" maxlength="20" value="${product.productWidth!}" /></td>
+                    <td><input type="text" name="productDepth" size="6" maxlength="20" value="${product.productDepth!}" /></td>
+                    <td><input type="text" name="weight" size="6" maxlength="20" value="${product.weight!}" /></td>
+                    <td><input type="text" name="~floz" size="6" maxlength="20" value="${floz!}" /></td>
+                    <td><input type="text" name="~ml" size="6" maxlength="20" value="${ml!}" /></td>
+                    <td><input type="text" name="~ntwt" size="6" maxlength="20" value="${ntwt!}" /></td>
+                    <td><input type="text" name="~grams" size="6" maxlength="20" value="${grams!}" /></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProductFeatures?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(hazmat!)}</a></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(salesthru!)}</a></td>
+                    <td><a class="buttontext" href="<@ofbizUrl>EditProductAssoc?productId=${product.productId}</@ofbizUrl>">${StringUtil.wrapString(thrudate!)}</a></td>
                 </tr>
                 <tr>
                     <td colspan="10" align="right"><input type="submit" value="${uiLabelMap.ProductUpdateShipping}" /></td>
@@ -292,7 +292,7 @@
         <td>
             <#if addedFeatureTypeIds?has_content>
             <form method="post" action="<@ofbizUrl>quickAdminApplyFeatureToProduct</@ofbizUrl>" name="addFeatureById">
-            <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+            <input type="hidden" name="productId" value="${product.productId!}"/>
             <input type="hidden" name="productFeatureApplTypeId" value="STANDARD_FEATURE"/>
             <input type="hidden" name="fromDate" value="${nowTimestampString}"/>
             <table cellspacing="0" class="basic-table">
@@ -329,7 +329,7 @@
                 <#list standardFeatureAppls as standardFeatureAppl>
                     <#assign featureId = standardFeatureAppl.productFeatureId/>
                     <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                        <td colspan="2"><a href='<@ofbizUrl>quickAdminRemoveFeatureFromProduct?productId=${standardFeatureAppl.productId?if_exists}&amp;productFeatureId=${featureId?if_exists}&amp;fromDate=${(standardFeatureAppl.fromDate)?if_exists}</@ofbizUrl>' class="buttontext">x</a>
+                        <td colspan="2"><a href='<@ofbizUrl>quickAdminRemoveFeatureFromProduct?productId=${standardFeatureAppl.productId!}&amp;productFeatureId=${featureId!}&amp;fromDate=${(standardFeatureAppl.fromDate)!}</@ofbizUrl>' class="buttontext">x</a>
                         ${productFeatureTypeLookup.get(featureId).description}: ${standardFeatureLookup.get(featureId).description}
                         </td>
                     </tr>
@@ -348,15 +348,15 @@
         <br />
         </#if>
         <form action="<@ofbizUrl>EditProductQuickAdmin</@ofbizUrl>">
-        <input type="hidden" name="productFeatureTypeId" value="${(productFeatureTypeId)?if_exists}"/>
-        <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+        <input type="hidden" name="productFeatureTypeId" value="${(productFeatureTypeId)!}"/>
+        <input type="hidden" name="productId" value="${product.productId!}"/>
         <table cellspacing="0" class="basic-table">
             <tr>
                 <td align="right">${uiLabelMap.ProductFeatureTypes}</td>
                 <td>
                     <select multiple="multiple" name="addFeatureTypeId">
                         <#list featureTypes as featureType>
-                            <option value="${featureType.productFeatureTypeId?if_exists}">${featureType.get("description",locale)?if_exists}</option>
+                            <option value="${featureType.productFeatureTypeId!}">${featureType.get("description",locale)!}</option>
                         </#list>
                     </select>
                 </td>
@@ -375,7 +375,7 @@
         <!--  **************************************************** Categories section -->
         <form action="<@ofbizUrl>quickAdminAddCategories</@ofbizUrl>">
             <input type="hidden" name="fromDate" value="${nowTimestampString}"/>
-            <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+            <input type="hidden" name="productId" value="${product.productId!}"/>
             <table cellspacing="0" class="basic-table">
               <tr>
               <td>
@@ -384,7 +384,7 @@
                           <td>
                               <select multiple="multiple" name="categoryId">
                                   <#list allCategories as category>
-                                      <option value="${category.productCategoryId?if_exists}">${category.description?if_exists} ${category.productCategoryId}</option>
+                                      <option value="${category.productCategoryId!}">${category.description!} ${category.productCategoryId}</option>
                                   </#list>
                               </select>&nbsp;
                           </td>
@@ -407,11 +407,11 @@
                         <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
                             <td colspan="2">
                               <form name="quickAdminRemoveProductFromCategory_${prodCatMemb_index}" action="<@ofbizUrl>quickAdminRemoveProductFromCategory</@ofbizUrl>" method="post">
-                                <input type="hidden" name="productId" value="${prodCatMemb.productId?if_exists}" />
+                                <input type="hidden" name="productId" value="${prodCatMemb.productId!}" />
                                 <input type="hidden" name="productCategoryId" value="${prodCatMemb.productCategoryId}" />
-                                <input type="hidden" name="fromDate" value="${(prodCatMemb.fromDate)?if_exists}" />
+                                <input type="hidden" name="fromDate" value="${(prodCatMemb.fromDate)!}" />
                                 <a href="javascript:document.quickAdminRemoveProductFromCategory_${prodCatMemb_index}.submit();" class="buttontext">x</a>
-                                ${prodCat.description?if_exists} ${prodCat.productCategoryId}
+                                ${prodCat.description!} ${prodCat.productCategoryId}
                               </form>
                             </td>
                         </tr>
@@ -437,8 +437,8 @@
     <!--  **************************************************** publish section -->
     <#if (showPublish == "true")>
         <form action="<@ofbizUrl>quickAdminAddCategories</@ofbizUrl>" name="publish">
-        <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
-        <input type="hidden" name="categoryId" value="${allCategoryId?if_exists}"/>
+        <input type="hidden" name="productId" value="${product.productId!}"/>
+        <input type="hidden" name="categoryId" value="${allCategoryId!}"/>
         <table cellspacing="0" class="basic-table">
             <tr>
                 <td>
@@ -450,8 +450,8 @@
         </form>
     <#else>
         <form action="<@ofbizUrl>quickAdminUnPublish</@ofbizUrl>" name="unpublish">
-        <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
-        <input type="hidden" name="productCategoryId" value="${allCategoryId?if_exists}"/>
+        <input type="hidden" name="productId" value="${product.productId!}"/>
+        <input type="hidden" name="productCategoryId" value="${allCategoryId!}"/>
         <table cellspacing="0" class="basic-table">
             <tr>
                 <td>
@@ -466,5 +466,5 @@
     </div>
 </div>
   <#else>
-    <h3>${uiLabelMap.ProductProductNotFound} ${productId?if_exists}</h3>
+    <h3>${uiLabelMap.ProductProductNotFound} ${productId!}</h3>
   </#if>
Index: applications/product/webapp/catalog/product/ProductInventorySummary.ftl
===================================================================
--- applications/product/webapp/catalog/product/ProductInventorySummary.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/ProductInventorySummary.ftl	(working copy)
@@ -16,13 +16,13 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if parameters.showAllFacilities?exists>
+<#if parameters.showAllFacilities??>
 <a href="EditProductInventoryItems?productId=${productId}" class="buttontext">${uiLabelMap.ProductShowProductFacilities}</a>
 <#else>
 <a href="EditProductInventoryItems?productId=${productId}&amp;showAllFacilities=Y" class="buttontext">${uiLabelMap.ProductShowAllFacilities}</a>
 </#if>
 <div class="screenlet">
-  <#if product?exists>
+  <#if product??>
     <div class="screenlet-title-bar">
         <h3>${uiLabelMap.ProductInventorySummary}</h3>
     </div>
@@ -42,33 +42,33 @@
             </tr>
             <#assign rowClass = "2">
             <#list quantitySummaryByFacility.values() as quantitySummary>
-                <#if quantitySummary.facilityId?exists>
+                <#if quantitySummary.facilityId??>
                     <#assign facilityId = quantitySummary.facilityId>
                     <#assign facility = delegator.findOne("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), false)>
-                    <#assign manufacturingInQuantitySummary = manufacturingInQuantitySummaryByFacility.get(facilityId)?if_exists>
-                    <#assign manufacturingOutQuantitySummary = manufacturingOutQuantitySummaryByFacility.get(facilityId)?if_exists>
-                    <#assign totalQuantityOnHand = quantitySummary.totalQuantityOnHand?if_exists>
-                    <#assign totalAvailableToPromise = quantitySummary.totalAvailableToPromise?if_exists>
-                    <#assign mktgPkgATP = quantitySummary.mktgPkgATP?if_exists>
-                    <#assign mktgPkgQOH = quantitySummary.mktgPkgQOH?if_exists>
-                    <#assign incomingShipmentAndItemList = quantitySummary.incomingShipmentAndItemList?if_exists>
-                    <#assign incomingProductionRunList = manufacturingInQuantitySummary.incomingProductionRunList?if_exists>
-                    <#assign incomingQuantityTotal = manufacturingInQuantitySummary.estimatedQuantityTotal?if_exists>
-                    <#assign outgoingProductionRunList = manufacturingOutQuantitySummary.outgoingProductionRunList?if_exists>
-                    <#assign outgoingQuantityTotal = manufacturingOutQuantitySummary.estimatedQuantityTotal?if_exists>
+                    <#assign manufacturingInQuantitySummary = manufacturingInQuantitySummaryByFacility.get(facilityId)!>
+                    <#assign manufacturingOutQuantitySummary = manufacturingOutQuantitySummaryByFacility.get(facilityId)!>
+                    <#assign totalQuantityOnHand = quantitySummary.totalQuantityOnHand!>
+                    <#assign totalAvailableToPromise = quantitySummary.totalAvailableToPromise!>
+                    <#assign mktgPkgATP = quantitySummary.mktgPkgATP!>
+                    <#assign mktgPkgQOH = quantitySummary.mktgPkgQOH!>
+                    <#assign incomingShipmentAndItemList = quantitySummary.incomingShipmentAndItemList!>
+                    <#assign incomingProductionRunList = manufacturingInQuantitySummary.incomingProductionRunList!>
+                    <#assign incomingQuantityTotal = manufacturingInQuantitySummary.estimatedQuantityTotal!>
+                    <#assign outgoingProductionRunList = manufacturingOutQuantitySummary.outgoingProductionRunList!>
+                    <#assign outgoingQuantityTotal = manufacturingOutQuantitySummary.estimatedQuantityTotal!>
                     <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                        <td>${(facility.facilityName)?if_exists} [${facilityId?default("[No Facility]")}]
+                        <td>${(facility.facilityName)!} [${facilityId?default("[No Facility]")}]
                         <a href="/facility/control/ReceiveInventory?facilityId=${facilityId}&amp;productId=${productId}&amp;externLoginKey=${externalLoginKey}" class="buttontext">${uiLabelMap.ProductInventoryReceive}</a></td>
-                        <td><#if totalAvailableToPromise?exists>${totalAvailableToPromise}<#else>&nbsp;</#if></td>
-                        <td><#if totalQuantityOnHand?exists>${totalQuantityOnHand}<#else>&nbsp;</#if></td>
+                        <td><#if totalAvailableToPromise??>${totalAvailableToPromise}<#else>&nbsp;</#if></td>
+                        <td><#if totalQuantityOnHand??>${totalQuantityOnHand}<#else>&nbsp;</#if></td>
                         <#if isMarketingPackage == "true">
-                        <td><#if mktgPkgATP?exists>${mktgPkgATP}<#else>&nbsp;</#if></td>
-                        <td><#if mktgPkgQOH?exists>${mktgPkgQOH}<#else>&nbsp;</#if></td>
+                        <td><#if mktgPkgATP??>${mktgPkgATP}<#else>&nbsp;</#if></td>
+                        <td><#if mktgPkgQOH??>${mktgPkgQOH}<#else>&nbsp;</#if></td>
                         </#if>
                         <td>
                             <#if incomingShipmentAndItemList?has_content>
                                 <#list incomingShipmentAndItemList as incomingShipmentAndItem>
-                                    <div>${incomingShipmentAndItem.shipmentId}:${incomingShipmentAndItem.shipmentItemSeqId}-${(incomingShipmentAndItem.estimatedArrivalDate.toString())?if_exists}-<#if incomingShipmentAndItem.quantity?exists>${incomingShipmentAndItem.quantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
+                                    <div>${incomingShipmentAndItem.shipmentId}:${incomingShipmentAndItem.shipmentItemSeqId}-${(incomingShipmentAndItem.estimatedArrivalDate.toString())!}-<#if incomingShipmentAndItem.quantity??>${incomingShipmentAndItem.quantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
                                 </#list>
                             <#else>
                                 <div>&nbsp;</div>
@@ -77,9 +77,9 @@
                         <td>
                             <#if incomingProductionRunList?has_content>
                                 <#list incomingProductionRunList as incomingProductionRun>
-                                    <div>${incomingProductionRun.workEffortId}-${(incomingProductionRun.estimatedCompletionDate.toString())?if_exists}-<#if incomingProductionRun.estimatedQuantity?exists>${incomingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
+                                    <div>${incomingProductionRun.workEffortId}-${(incomingProductionRun.estimatedCompletionDate.toString())!}-<#if incomingProductionRun.estimatedQuantity??>${incomingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
                                 </#list>
-                                <div><b>${uiLabelMap.CommonTotal}:&nbsp;${incomingQuantityTotal?if_exists}</b></div>
+                                <div><b>${uiLabelMap.CommonTotal}:&nbsp;${incomingQuantityTotal!}</b></div>
                             <#else>
                                 <div>&nbsp;</div>
                             </#if>
@@ -87,9 +87,9 @@
                         <td>
                             <#if outgoingProductionRunList?has_content>
                                 <#list outgoingProductionRunList as outgoingProductionRun>
-                                    <div>${outgoingProductionRun.workEffortParentId?default("")}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())?if_exists}-<#if outgoingProductionRun.estimatedQuantity?exists>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
+                                    <div>${outgoingProductionRun.workEffortParentId?default("")}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())!}-<#if outgoingProductionRun.estimatedQuantity??>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
                                 </#list>
-                                <div><b>${uiLabelMap.CommonTotal}:&nbsp;${outgoingQuantityTotal?if_exists}</b></div>
+                                <div><b>${uiLabelMap.CommonTotal}:&nbsp;${outgoingQuantityTotal!}</b></div>
                             <#else>
                                 <div>&nbsp;</div>
                             </#if>
@@ -107,6 +107,6 @@
         </table>
     </div>
   <#else>
-    <h2>${uiLabelMap.ProductProductNotFound} ${productId?if_exists}!</h2>
+    <h2>${uiLabelMap.ProductProductNotFound} ${productId!}!</h2>
   </#if>
 </div>
Index: applications/product/webapp/catalog/product/QuickAddVariants.ftl
===================================================================
--- applications/product/webapp/catalog/product/QuickAddVariants.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/QuickAddVariants.ftl	(working copy)
@@ -45,7 +45,7 @@
     }
 }
 </script>
-<#if (product.isVirtual)?if_exists != "Y">
+<#if (product.isVirtual)! != "Y">
     <h2>${uiLabelMap.ProductWarningProductNotVirtual}</h2>
 </#if>
 <#if featureTypes?has_content && (featureTypes.size() > 0)>
@@ -75,7 +75,7 @@
                 <#assign productFeatureIds = "">
                 <#list curProductFeatureAndAppls as productFeatureAndAppl>
                 <td>
-                    ${productFeatureAndAppl.description?if_exists}
+                    ${productFeatureAndAppl.description!}
                     <#assign productFeatureIds = productFeatureIds + "|" + productFeatureAndAppl.productFeatureId>
                 </td>
                 </#list>
Index: applications/product/webapp/catalog/product/EditProductAssoc.ftl
===================================================================
--- applications/product/webapp/catalog/product/EditProductAssoc.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/EditProductAssoc.ftl	(working copy)
@@ -22,22 +22,22 @@
     </div>
     <div class="screenlet-body">
         <form action="<@ofbizUrl>UpdateProductAssoc</@ofbizUrl>" method="post" style="margin: 0;" name="editProductAssocForm">
-        <input type="hidden" name="productId" value="${productId?if_exists}" />
+        <input type="hidden" name="productId" value="${productId!}" />
 
-        <#if !(productAssoc?exists)>
-            <#if productId?exists && productIdTo?exists && productAssocTypeId?exists && fromDate?exists>
+        <#if !(productAssoc??)>
+            <#if productId?? && productIdTo?? && productAssocTypeId?? && fromDate??>
                 <div><b><#assign uiLabelWithVar=uiLabelMap.ProductAssociationNotFound?interpret><@uiLabelWithVar/></b></div>
                 <input type="hidden" name="UPDATE_MODE" value="CREATE" />
                 <table cellspacing="0" class="basic-table">
                 <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductId}</td>
                 <td>&nbsp;</td>
-                <td><input type="text" name="PRODUCT_ID" size="20" maxlength="40" value="${productId?if_exists}" /></td>
+                <td><input type="text" name="PRODUCT_ID" size="20" maxlength="40" value="${productId!}" /></td>
                 </tr>
                 <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductIdTo}</td>
                 <td>&nbsp;</td>
-                <td><input type="text" name="PRODUCT_ID_TO" size="20" maxlength="40" value="${productIdTo?if_exists}" /></td>
+                <td><input type="text" name="PRODUCT_ID_TO" size="20" maxlength="40" value="${productIdTo!}" /></td>
                 </tr>
                 <tr>
                 <td align="right" class="label">${uiLabelMap.ProductAssociationTypeId}</td>
@@ -46,13 +46,13 @@
                     <select name="PRODUCT_ASSOC_TYPE_ID" size="1">
                     <#if productAssocTypeId?has_content>
                         <#assign curAssocType = delegator.findOne("ProductAssocType", Static["org.ofbiz.base.util.UtilMisc"].toMap("productAssocTypeId", productAssocTypeId), false)>
-                        <#if curAssocType?exists>
-                            <option selected="selected" value="${(curAssocType.productAssocTypeId)?if_exists}">${(curAssocType.get("description",locale))?if_exists}</option>
-                            <option value="${(curAssocType.productAssocTypeId)?if_exists}"></option>
+                        <#if curAssocType??>
+                            <option selected="selected" value="${(curAssocType.productAssocTypeId)!}">${(curAssocType.get("description",locale))!}</option>
+                            <option value="${(curAssocType.productAssocTypeId)!}"></option>
                         </#if>
                     </#if>
                     <#list assocTypes as assocType>
-                        <option value="${(assocType.productAssocTypeId)?if_exists}">${(assocType.get("description",locale))?if_exists}</option>
+                        <option value="${(assocType.productAssocTypeId)!}">${(assocType.get("description",locale))!}</option>
                     </#list>
                     </select>
                 </td>
@@ -62,7 +62,7 @@
                 <td>&nbsp;</td>
                 <td>
                     <div>
-                        <@htmlTemplate.renderDateTimeField name="FROM_DATE" event="" action="" value="${fromDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        <@htmlTemplate.renderDateTimeField name="FROM_DATE" event="" action="" value="${fromDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         ${uiLabelMap.CommonSetNowEmpty}
                     </div>
                 </td>
@@ -73,7 +73,7 @@
                 <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductId}</td>
                 <td>&nbsp;</td>
-                <td><input type="text" name="PRODUCT_ID" size="20" maxlength="40" value="${productId?if_exists}" /></td>
+                <td><input type="text" name="PRODUCT_ID" size="20" maxlength="40" value="${productId!}" /></td>
                 </tr>
                 <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductIdTo}</td>
@@ -89,7 +89,7 @@
                     <select name="PRODUCT_ASSOC_TYPE_ID" size="1">
                     <!-- <option value="">&nbsp;</option> -->
                     <#list assocTypes as assocType>
-                        <option value="${(assocType.productAssocTypeId)?if_exists}">${(assocType.get("description",locale))?if_exists}</option>
+                        <option value="${(assocType.productAssocTypeId)!}">${(assocType.get("description",locale))!}</option>
                     </#list>
                     </select>
                 </td>
@@ -99,8 +99,8 @@
                 <td>&nbsp;</td>
                 <td>
                     <div>
-                        ${fromDate?if_exists}
-                        <@htmlTemplate.renderDateTimeField name="FROM_DATE" event="" action="" value="${fromDate?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                        ${fromDate!}
+                        <@htmlTemplate.renderDateTimeField name="FROM_DATE" event="" action="" value="${fromDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="fromDate2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                         ${uiLabelMap.CommonSetNowEmpty}
                     </div>
                 </td>
@@ -110,30 +110,30 @@
             <#assign isCreate = false>
             <#assign curProductAssocType = productAssoc.getRelatedOne("ProductAssocType", true)>
             <input type="hidden" name="UPDATE_MODE" value="UPDATE" />
-            <input type="hidden" name="PRODUCT_ID" value="${productId?if_exists}" />
-            <input type="hidden" name="PRODUCT_ID_TO" value="${productIdTo?if_exists}" />
-            <input type="hidden" name="PRODUCT_ASSOC_TYPE_ID" value="${productAssocTypeId?if_exists}" />
-            <input type="hidden" name="FROM_DATE" value="${fromDate?if_exists}" />
+            <input type="hidden" name="PRODUCT_ID" value="${productId!}" />
+            <input type="hidden" name="PRODUCT_ID_TO" value="${productIdTo!}" />
+            <input type="hidden" name="PRODUCT_ASSOC_TYPE_ID" value="${productAssocTypeId!}" />
+            <input type="hidden" name="FROM_DATE" value="${fromDate!}" />
             <table cellspacing="0" class="basic-table">
             <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductId}</td>
                 <td>&nbsp;</td>
-                <td><b>${productId?if_exists}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
+                <td><b>${productId!}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
             </tr>
             <tr>
                 <td align="right" class="label">${uiLabelMap.ProductProductIdTo}</td>
                 <td>&nbsp;</td>
-                <td><b>${productIdTo?if_exists}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
+                <td><b>${productIdTo!}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
             </tr>
             <tr>
                 <td align="right" class="label">${uiLabelMap.ProductAssociationType}</td>
                 <td>&nbsp;</td>
-                <td><b><#if curProductAssocType?exists>${(curProductAssocType.get("description",locale))?if_exists}<#else> ${productAssocTypeId?if_exists}</#if></b> ${uiLabelMap.ProductRecreateAssociation}</td>
+                <td><b><#if curProductAssocType??>${(curProductAssocType.get("description",locale))!}<#else> ${productAssocTypeId!}</#if></b> ${uiLabelMap.ProductRecreateAssociation}</td>
             </tr>
             <tr>
                 <td align="right" class="label">${uiLabelMap.CommonFromDate}</td>
                 <td>&nbsp;</td>
-                <td><b>${fromDate?if_exists}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
+                <td><b>${fromDate!}</b> ${uiLabelMap.ProductRecreateAssociation}</td>
             </tr>
         </#if>
         <tr>
@@ -142,9 +142,9 @@
             <td width="74%">
             <div>
               <#if useValues> 
-                <#assign value = productAssoc.thruDate?if_exists>
+                <#assign value = productAssoc.thruDate!>
               <#else> 
-                <#assign value = (request.getParameter("THRU_DATE"))?if_exists>
+                <#assign value = (request.getParameter("THRU_DATE"))!>
               </#if>            
                 <@htmlTemplate.renderDateTimeField name="THRU_DATE" event="" action="" value="${value}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>                
             </div>
@@ -154,23 +154,23 @@
         <tr>
             <td width="26%" align="right" class="label">${uiLabelMap.ProductSequenceNum}</td>
             <td>&nbsp;</td>
-            <td width="74%"><input type="text" name="SEQUENCE_NUM" <#if useValues>value="${(productAssoc.sequenceNum)?if_exists}"<#else>value="${(request.getParameter("SEQUENCE_NUM"))?if_exists}"</#if> size="5" maxlength="10" /></td>
+            <td width="74%"><input type="text" name="SEQUENCE_NUM" <#if useValues>value="${(productAssoc.sequenceNum)!}"<#else>value="${(request.getParameter("SEQUENCE_NUM"))!}"</#if> size="5" maxlength="10" /></td>
         </tr>
         <tr>
             <td width="26%" align="right" class="label">${uiLabelMap.ProductReason}</td>
             <td>&nbsp;</td>
-            <td width="74%"><input type="text" name="REASON" <#if useValues>value="${(productAssoc.reason)?if_exists}"<#else>value="${(request.getParameter("REASON"))?if_exists}"</#if> size="60" maxlength="255" /></td>
+            <td width="74%"><input type="text" name="REASON" <#if useValues>value="${(productAssoc.reason)!}"<#else>value="${(request.getParameter("REASON"))!}"</#if> size="60" maxlength="255" /></td>
         </tr>
         <tr>
             <td width="26%" align="right" class="label">${uiLabelMap.ProductInstruction}</td>
             <td>&nbsp;</td>
-            <td width="74%"><input type="text" name="INSTRUCTION" <#if useValues>value="${(productAssoc.instruction)?if_exists}"<#else>value="${(request.getParameter("INSTRUCTION"))?if_exists}"</#if> size="60" maxlength="255" /></td>
+            <td width="74%"><input type="text" name="INSTRUCTION" <#if useValues>value="${(productAssoc.instruction)!}"<#else>value="${(request.getParameter("INSTRUCTION"))!}"</#if> size="60" maxlength="255" /></td>
         </tr>
 
         <tr>
             <td width="26%" align="right" class="label">${uiLabelMap.ProductQuantity}</td>
             <td>&nbsp;</td>
-            <td width="74%"><input type="text" name="QUANTITY" <#if useValues>value="${(productAssoc.quantity)?if_exists}"<#else>value="${(request.getParameter("QUANTITY"))?if_exists}"</#if> size="10" maxlength="15" /></td>
+            <td width="74%"><input type="text" name="QUANTITY" <#if useValues>value="${(productAssoc.quantity)!}"<#else>value="${(request.getParameter("QUANTITY"))!}"</#if> size="10" maxlength="15" /></td>
         </tr>
 
         <tr>
@@ -181,7 +181,7 @@
         </form>
     </div>
 </div>
-<#if productId?exists && product?exists>
+<#if productId?? && product??>
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <h3>${uiLabelMap.ProductAssociationsFromProduct}</h3>
@@ -204,21 +204,21 @@
             <#assign listToProduct = assocFromProduct.getRelatedOne("AssocProduct", true)>
             <#assign curProductAssocType = assocFromProduct.getRelatedOne("ProductAssocType", true)>
             <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)?if_exists}</@ofbizUrl>" class="buttontext">${(assocFromProduct.productIdTo)?if_exists}</a></td>
-                <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)?if_exists}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if>&nbsp;</td>
-                <td <#if (assocFromProduct.getTimestamp("fromDate"))?exists && nowDate.before(assocFromProduct.getTimestamp("fromDate"))> style="color: red;"</#if>>
-                ${(assocFromProduct.fromDate)?if_exists}&nbsp;</td>
-                <td <#if (assocFromProduct.getTimestamp("thruDate"))?exists && nowDate.after(assocFromProduct.getTimestamp("thruDate"))> style="color: red;"</#if>>
-                ${(assocFromProduct.thruDate)?if_exists}&nbsp;</td>
-                <td>&nbsp;${(assocFromProduct.sequenceNum)?if_exists}</td>
-                <td>&nbsp;${(assocFromProduct.quantity)?if_exists}</td>
-                <td><#if curProductAssocType?exists> ${(curProductAssocType.get("description",locale))?if_exists}<#else>${(assocFromProduct.productAssocTypeId)?if_exists}</#if></td>
+                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)!}</@ofbizUrl>" class="buttontext">${(assocFromProduct.productIdTo)!}</a></td>
+                <td><#if listToProduct??><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)!}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)!}</a></#if>&nbsp;</td>
+                <td <#if (assocFromProduct.getTimestamp("fromDate"))?? && nowDate.before(assocFromProduct.getTimestamp("fromDate"))> style="color: red;"</#if>>
+                ${(assocFromProduct.fromDate)!}&nbsp;</td>
+                <td <#if (assocFromProduct.getTimestamp("thruDate"))?? && nowDate.after(assocFromProduct.getTimestamp("thruDate"))> style="color: red;"</#if>>
+                ${(assocFromProduct.thruDate)!}&nbsp;</td>
+                <td>&nbsp;${(assocFromProduct.sequenceNum)!}</td>
+                <td>&nbsp;${(assocFromProduct.quantity)!}</td>
+                <td><#if curProductAssocType??> ${(curProductAssocType.get("description",locale))!}<#else>${(assocFromProduct.productAssocTypeId)!}</#if></td>
                 <td>
-                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&amp;productId=${productId}&amp;PRODUCT_ID=${productId}&amp;PRODUCT_ID_TO=${(assocFromProduct.productIdTo)?if_exists}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)?if_exists}&amp;FROM_DATE=${(assocFromProduct.fromDate)?if_exists}&amp;useValues=true</@ofbizUrl>" class="buttontext">
+                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&amp;productId=${productId}&amp;PRODUCT_ID=${productId}&amp;PRODUCT_ID_TO=${(assocFromProduct.productIdTo)!}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)!}&amp;FROM_DATE=${(assocFromProduct.fromDate)!}&amp;useValues=true</@ofbizUrl>" class="buttontext">
                 ${uiLabelMap.CommonDelete}</a>
                 </td>
                 <td>
-                <a href="<@ofbizUrl>EditProductAssoc?productId=${productId}&amp;PRODUCT_ID=${productId}&amp;PRODUCT_ID_TO=${(assocFromProduct.productIdTo)?if_exists}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)?if_exists}&amp;FROM_DATE=${(assocFromProduct.fromDate)?if_exists}&amp;useValues=true</@ofbizUrl>" class="buttontext">
+                <a href="<@ofbizUrl>EditProductAssoc?productId=${productId}&amp;PRODUCT_ID=${productId}&amp;PRODUCT_ID_TO=${(assocFromProduct.productIdTo)!}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)!}&amp;FROM_DATE=${(assocFromProduct.fromDate)!}&amp;useValues=true</@ofbizUrl>" class="buttontext">
                 ${uiLabelMap.CommonEdit}</a>
                 </td>
             </tr>
@@ -251,13 +251,13 @@
             <#assign listToProduct = assocToProduct.getRelatedOne("MainProduct", true)>
             <#assign curProductAssocType = assocToProduct.getRelatedOne("ProductAssocType", true)>
             <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">${(assocToProduct.productId)?if_exists}</a></td>
-                <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if></td>
-                <td>${(assocToProduct.getTimestamp("fromDate"))?if_exists}&nbsp;</td>
-                <td>${(assocToProduct.getTimestamp("thruDate"))?if_exists}&nbsp;</td>
-                <td><#if curProductAssocType?exists> ${(curProductAssocType.get("description",locale))?if_exists}<#else> ${(assocToProduct.productAssocTypeId)?if_exists}</#if></td>
+                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)!}</@ofbizUrl>" class="buttontext">${(assocToProduct.productId)!}</a></td>
+                <td><#if listToProduct??><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)!}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)!}</a></#if></td>
+                <td>${(assocToProduct.getTimestamp("fromDate"))!}&nbsp;</td>
+                <td>${(assocToProduct.getTimestamp("thruDate"))!}&nbsp;</td>
+                <td><#if curProductAssocType??> ${(curProductAssocType.get("description",locale))!}<#else> ${(assocToProduct.productAssocTypeId)!}</#if></td>
                 <td>
-                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&amp;productId=${(assocToProduct.productIdTo)?if_exists}&amp;PRODUCT_ID=${(assocToProduct.productId)?if_exists}&amp;PRODUCT_ID_TO=${(assocToProduct.productIdTo)?if_exists}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocToProduct.productAssocTypeId)?if_exists}&amp;FROM_DATE=${(assocToProduct.fromDate)?if_exists}&amp;useValues=true</@ofbizUrl>" class="buttontext">
+                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&amp;productId=${(assocToProduct.productIdTo)!}&amp;PRODUCT_ID=${(assocToProduct.productId)!}&amp;PRODUCT_ID_TO=${(assocToProduct.productIdTo)!}&amp;PRODUCT_ASSOC_TYPE_ID=${(assocToProduct.productAssocTypeId)!}&amp;FROM_DATE=${(assocToProduct.fromDate)!}&amp;useValues=true</@ofbizUrl>" class="buttontext">
                 ${uiLabelMap.CommonDelete}</a>
                 </td>
             </tr>
Index: applications/product/webapp/catalog/product/EditProductContent.ftl
===================================================================
--- applications/product/webapp/catalog/product/EditProductContent.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/EditProductContent.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if product?exists>
+<#if product??>
 <script language="JavaScript" type="text/javascript">
     function insertNowTimestamp(field) {
         eval('document.productForm.' + field + '.value="${nowTimestampString}";');
@@ -31,50 +31,50 @@
         <#if !(clientFileName?has_content)>
     <div>${uiLabelMap.ProductNoFileSpecifiedForUpload}.</div>
         <#else>
-    <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName?if_exists}</b></div>
-    <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse?if_exists}</b></div>
-    <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath?if_exists}</b></div>
-    <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl?if_exists}</@ofbizContentUrl>">${imageUrl?if_exists}</a></b></div>
+    <div>${uiLabelMap.ProductTheFileOnYourComputer}: <b>${clientFileName!}</b></div>
+    <div>${uiLabelMap.ProductServerFileName}: <b>${fileNameToUse!}</b></div>
+    <div>${uiLabelMap.ProductServerDirectory}: <b>${imageServerPath!}</b></div>
+    <div>${uiLabelMap.ProductTheUrlOfYourUploadedFile}: <b><a href="<@ofbizContentUrl>${imageUrl!}</@ofbizContentUrl>">${imageUrl!}</a></b></div>
         </#if>
     <br />
     </#if>
     <form action="<@ofbizUrl>updateProductContent</@ofbizUrl>" method="post" style="margin: 0;" name="productForm">
-        <input type="hidden" name="productId" value="${productId?if_exists}"/>
+        <input type="hidden" name="productId" value="${productId!}"/>
         <table cellspacing="0" class="basic-table">
             <tr>
                 <td width="20%" align="right" valign="top"><b>${uiLabelMap.ProductProductName}</b></td>
                 <td>&nbsp;</td>
                 <td width="80%" colspan="4" valign="top">
-                    <input type="text" name="productName" value="${(product.productName?html)?if_exists}" size="30" maxlength="60"/>
+                    <input type="text" name="productName" value="${(product.productName?html)!}" size="30" maxlength="60"/>
                 </td>
             </tr>
             <tr>
                 <td width="20%" align="right" valign="top"><b>${uiLabelMap.ProductProductDescription}</b></td>
                 <td>&nbsp;</td>
                 <td width="80%" colspan="4" valign="top">
-                    <textarea name="description" cols="60" rows="2">${(product.description)?if_exists}</textarea>
+                    <textarea name="description" cols="60" rows="2">${(product.description)!}</textarea>
                 </td>
             </tr>
             <tr>
                 <td width="20%" align="right" valign="top"><b>${uiLabelMap.ProductLongDescription}</b></td>
                 <td>&nbsp;</td>
                 <td width="80%" colspan="4" valign="top">
-                    <textarea class="dojo-ResizableTextArea" name="longDescription" cols="60" rows="7">${(product.longDescription)?if_exists}</textarea>
+                    <textarea class="dojo-ResizableTextArea" name="longDescription" cols="60" rows="7">${(product.longDescription)!}</textarea>
                 </td>
             </tr>
             <tr>
                 <td width="20%" align="right" valign="top"><b>${uiLabelMap.ProductDetailScreen}</b></td>
                 <td>&nbsp;</td>
                 <td width="80%" colspan="4" valign="top">
-                    <input type="text" name="detailScreen" value="${(product.detailScreen)?if_exists}" size="60" maxlength="250"/>
+                    <input type="text" name="detailScreen" value="${(product.detailScreen)!}" size="60" maxlength="250"/>
                     <br /><span class="tooltip">${uiLabelMap.ProductIfNotSpecifiedDefaultsIsProductdetail} &quot;productdetail&quot;, ${uiLabelMap.ProductDetailScreenMessage}: &quot;component://ecommerce/widget/CatalogScreens.xml#productdetail&quot;</span>
                 </td>
             </tr>
             <tr>
                 <td width="20%" align="right" valign="top">
                     <div><b>${uiLabelMap.ProductSmallImage}</b></div>
-    <#if (product.smallImageUrl)?exists>
-                    <a href="<@ofbizContentUrl>${(product.smallImageUrl)?if_exists}</@ofbizContentUrl>" target="_blank"><img alt="Small Image" src="<@ofbizContentUrl>${(product.smallImageUrl)?if_exists}</@ofbizContentUrl>" class="cssImgSmall"/></a>
+    <#if (product.smallImageUrl)??>
+                    <a href="<@ofbizContentUrl>${(product.smallImageUrl)!}</@ofbizContentUrl>" target="_blank"><img alt="Small Image" src="<@ofbizContentUrl>${(product.smallImageUrl)!}</@ofbizContentUrl>" class="cssImgSmall"/></a>
     </#if>
                 </td>
                 <td>&nbsp;</td>
@@ -93,7 +93,7 @@
             <tr>
                 <td width="20%" align="right" valign="top">
                     <div><b>${uiLabelMap.ProductMediumImage}</b></div>
-    <#if (product.mediumImageUrl)?exists>
+    <#if (product.mediumImageUrl)??>
                     <a href="<@ofbizContentUrl>${product.mediumImageUrl}</@ofbizContentUrl>" target="_blank"><img alt="Medium Image" src="<@ofbizContentUrl>${product.mediumImageUrl}</@ofbizContentUrl>" class="cssImgSmall"/></a>
     </#if>
                 </td>
@@ -113,7 +113,7 @@
             <tr>
                 <td width="20%" align="right" valign="top">
                     <div><b>${uiLabelMap.ProductLargeImage}</b></div>
-    <#if (product.largeImageUrl)?exists>
+    <#if (product.largeImageUrl)??>
                     <a href="<@ofbizContentUrl>${product.largeImageUrl}</@ofbizContentUrl>" target="_blank"><img alt="Large Image" src="<@ofbizContentUrl>${product.largeImageUrl}</@ofbizContentUrl>" class="cssImgSmall"/></a>
     </#if>
                 </td>
@@ -133,7 +133,7 @@
             <tr>
                 <td width="20%" align="right" valign="top">
                     <div><b>${uiLabelMap.ProductDetailImage}</b></div>
-    <#if (product.detailImageUrl)?exists>
+    <#if (product.detailImageUrl)??>
                     <a href="<@ofbizContentUrl>${product.detailImageUrl}</@ofbizContentUrl>" target="_blank"><img alt="Detail Image" src="<@ofbizContentUrl>${product.detailImageUrl}</@ofbizContentUrl>" class="cssImgSmall"/></a>
     </#if>
                 </td>
@@ -153,7 +153,7 @@
             <tr>
                 <td width="20%" align="right" valign="top">
                     <div><b>${uiLabelMap.ProductOriginalImage}</b></div>
-    <#if (product.originalImageUrl)?exists>
+    <#if (product.originalImageUrl)??>
                     <a href="<@ofbizContentUrl>${product.originalImageUrl}</@ofbizContentUrl>" target="_blank"><img alt="Original Image" src="<@ofbizContentUrl>${product.originalImageUrl}</@ofbizContentUrl>" class="cssImgSmall"/></a>
     </#if>
                 </td>
Index: applications/product/webapp/catalog/product/EditProductFeatures.ftl
===================================================================
--- applications/product/webapp/catalog/product/EditProductFeatures.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/EditProductFeatures.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if productId?exists>
+<#if productId??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <h3>${uiLabelMap.PageTitleEditProductFeatures}</h3>
@@ -39,42 +39,42 @@
         </tr>
   <#assign rowClass = "2">
   <#list productFeatureAndAppls as productFeatureAndAppl>
-    <#if productFeatureAndAppl.uomId?exists>
+    <#if productFeatureAndAppl.uomId??>
         <#assign curProductFeatureUom = delegator.findOne("Uom",{"uomId",productFeatureAndAppl.uomId}, true)>
     </#if>
     <#assign curProductFeatureType = productFeatureAndAppl.getRelatedOne("ProductFeatureType", true)>
     <#assign curProductFeatureApplType = productFeatureAndAppl.getRelatedOne("ProductFeatureApplType", true)>
-    <#assign curProductFeatureCategory = (productFeatureAndAppl.getRelatedOne("ProductFeatureCategory", true)?if_exists)>
+    <#assign curProductFeatureCategory = (productFeatureAndAppl.getRelatedOne("ProductFeatureCategory", true)!)>
         <tr id="productFeatureId_tableRow_${productFeatureAndAppl_index}" valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
           <td>
-          <input type="hidden" name="productId_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.productId)?if_exists}" />
-          <input type="hidden" name="productFeatureId_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.productFeatureId)?if_exists}" />
-          <input type="hidden" name="fromDate_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.fromDate)?if_exists}" />
-          <a href="<@ofbizUrl>EditFeature?productFeatureId=${(productFeatureAndAppl.productFeatureId)?if_exists}</@ofbizUrl>" class="buttontext">
-              ${(productFeatureAndAppl.productFeatureId)?if_exists}</a></td>
-          <td>${(productFeatureAndAppl.get("description",locale))?if_exists}</td>
-          <td><#if productFeatureAndAppl.uomId?exists>${curProductFeatureUom.abbreviation!}</#if></td>
-          <td>${(curProductFeatureType.get("description",locale))?default((productFeatureAndAppl.productFeatureTypeId)?if_exists)}</td>
-          <td><a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${(productFeatureAndAppl.productFeatureCategoryId)?if_exists}&amp;productId=${(productFeatureAndAppl.productId)?if_exists}</@ofbizUrl>" class="buttontext">
-              ${(curProductFeatureCategory.description)?if_exists}
-              [${(productFeatureAndAppl.productFeatureCategoryId)?if_exists}]</a></td>
+          <input type="hidden" name="productId_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.productId)!}" />
+          <input type="hidden" name="productFeatureId_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.productFeatureId)!}" />
+          <input type="hidden" name="fromDate_o_${productFeatureAndAppl_index}" value="${(productFeatureAndAppl.fromDate)!}" />
+          <a href="<@ofbizUrl>EditFeature?productFeatureId=${(productFeatureAndAppl.productFeatureId)!}</@ofbizUrl>" class="buttontext">
+              ${(productFeatureAndAppl.productFeatureId)!}</a></td>
+          <td>${(productFeatureAndAppl.get("description",locale))!}</td>
+          <td><#if productFeatureAndAppl.uomId??>${curProductFeatureUom.abbreviation!}</#if></td>
+          <td>${(curProductFeatureType.get("description",locale))?default((productFeatureAndAppl.productFeatureTypeId)!)}</td>
+          <td><a href="<@ofbizUrl>EditFeatureCategoryFeatures?productFeatureCategoryId=${(productFeatureAndAppl.productFeatureCategoryId)!}&amp;productId=${(productFeatureAndAppl.productId)!}</@ofbizUrl>" class="buttontext">
+              ${(curProductFeatureCategory.description)!}
+              [${(productFeatureAndAppl.productFeatureCategoryId)!}]</a></td>
     <#assign hasntStarted = false>
-    <#if (productFeatureAndAppl.getTimestamp("fromDate"))?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().before(productFeatureAndAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
-          <td <#if hasntStarted> style='color: red;'</#if>>${(productFeatureAndAppl.fromDate)?if_exists}</td>
+    <#if (productFeatureAndAppl.getTimestamp("fromDate"))?? && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().before(productFeatureAndAppl.getTimestamp("fromDate"))> <#assign hasntStarted = true></#if>
+          <td <#if hasntStarted> style='color: red;'</#if>>${(productFeatureAndAppl.fromDate)!}</td>
           <td>
     <#assign hasExpired = false>
-    <#if (productFeatureAndAppl.getTimestamp("thruDate"))?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(productFeatureAndAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
+    <#if (productFeatureAndAppl.getTimestamp("thruDate"))?? && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(productFeatureAndAppl.getTimestamp("thruDate"))> <#assign hasExpired = true></#if>
             <#if hasExpired><#assign class="alert"></#if>
-            <@htmlTemplate.renderDateTimeField name="thruDate_o_${productFeatureAndAppl_index}" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productFeatureAndAppl.thruDate)?if_exists}" size="25" maxlength="30" id="thruDate_o_${productFeatureAndAppl_index}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
-            <input type="text" size='6' name='amount_o_${productFeatureAndAppl_index}' value='${(productFeatureAndAppl.amount)?if_exists}' />
-            <input type="text" size='5' name='sequenceNum_o_${productFeatureAndAppl_index}' value='${(productFeatureAndAppl.sequenceNum)?if_exists}' />
+            <@htmlTemplate.renderDateTimeField name="thruDate_o_${productFeatureAndAppl_index}" event="" action="" className="${class!''}" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(productFeatureAndAppl.thruDate)!}" size="25" maxlength="30" id="thruDate_o_${productFeatureAndAppl_index}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+            <input type="text" size='6' name='amount_o_${productFeatureAndAppl_index}' value='${(productFeatureAndAppl.amount)!}' />
+            <input type="text" size='5' name='sequenceNum_o_${productFeatureAndAppl_index}' value='${(productFeatureAndAppl.sequenceNum)!}' />
             <select name='productFeatureApplTypeId_o_${productFeatureAndAppl_index}' size="1">
-    <#if (productFeatureAndAppl.productFeatureApplTypeId)?exists>
-              <option value='${(productFeatureAndAppl.productFeatureApplTypeId)?if_exists}'><#if curProductFeatureApplType?exists> ${(curProductFeatureApplType.get("description",locale))?if_exists} <#else> [${productFeatureAndAppl.productFeatureApplTypeId}]</#if></option>
+    <#if (productFeatureAndAppl.productFeatureApplTypeId)??>
+              <option value='${(productFeatureAndAppl.productFeatureApplTypeId)!}'><#if curProductFeatureApplType??> ${(curProductFeatureApplType.get("description",locale))!} <#else> [${productFeatureAndAppl.productFeatureApplTypeId}]</#if></option>
               <option value='${productFeatureAndAppl.productFeatureApplTypeId}'> </option>
     </#if>
       <#list productFeatureApplTypes as productFeatureApplType>
-              <option value='${(productFeatureApplType.productFeatureApplTypeId)?if_exists}'>${(productFeatureApplType.get("description",locale))?if_exists} </option>
+              <option value='${(productFeatureApplType.productFeatureApplTypeId)!}'>${(productFeatureApplType.get("description",locale))!} </option>
     </#list>
             </select>
           </td>
@@ -103,9 +103,9 @@
     </form>
   <#list productFeatureAndAppls as productFeatureAndAppl>
     <form name= "RemoveFeatureFromProduct_o_${productFeatureAndAppl_index}" method= "post" action= "<@ofbizUrl>RemoveFeatureFromProduct</@ofbizUrl>">
-      <input type= "hidden" name= "productId" value= "${(productFeatureAndAppl.productId)?if_exists}"/>
-      <input type= "hidden" name= "productFeatureId" value= "${(productFeatureAndAppl.productFeatureId)?if_exists}"/>
-      <input type= "hidden" name= "fromDate" value= "${(productFeatureAndAppl.fromDate)?if_exists}"/>
+      <input type= "hidden" name= "productId" value= "${(productFeatureAndAppl.productId)!}"/>
+      <input type= "hidden" name= "productFeatureId" value= "${(productFeatureAndAppl.productFeatureId)!}"/>
+      <input type= "hidden" name= "fromDate" value= "${(productFeatureAndAppl.fromDate)!}"/>
     </form>
   </#list>
   </div>
@@ -120,22 +120,22 @@
       <select name='productFeatureCategoryId' size="1">
         <option value='' selected="selected">${uiLabelMap.ProductChooseFeatureCategory}</option>
   <#list productFeatureCategories as productFeatureCategory>
-        <option value='${(productFeatureCategory.productFeatureCategoryId)?if_exists}'>${(productFeatureCategory.description)?if_exists} [${(productFeatureCategory.productFeatureCategoryId)?if_exists}]</option>
+        <option value='${(productFeatureCategory.productFeatureCategoryId)!}'>${(productFeatureCategory.description)!} [${(productFeatureCategory.productFeatureCategoryId)!}]</option>
   </#list>
       </select>
       <select name='productFeatureGroupId' size="1">
         <option value='' selected="selected">${uiLabelMap.ProductChooseFeatureGroup}</option>
   <#list productFeatureGroups as productFeatureGroup>
-        <option value='${(productFeatureGroup.productFeatureGroupId)?if_exists}'>${(productFeatureGroup.description)?if_exists} [${(productFeatureGroup.productFeatureGroupId)?if_exists}]</option>
+        <option value='${(productFeatureGroup.productFeatureGroupId)!}'>${(productFeatureGroup.description)!} [${(productFeatureGroup.productFeatureGroupId)!}]</option>
   </#list>
       </select>
       <span class='label'>${uiLabelMap.ProductFeatureApplicationType}: </span>
       <select name='productFeatureApplTypeId' size="1">
   <#list productFeatureApplTypes as productFeatureApplType>
-        <option value='${(productFeatureApplType.productFeatureApplTypeId)?if_exists}'
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId?if_exists =="STANDARD_FEATURE")>selected="selected"</#if>
-            >${(productFeatureApplType.get("description",locale))?if_exists} </option>
+        <option value='${(productFeatureApplType.productFeatureApplTypeId)!}'
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId! =="STANDARD_FEATURE")>selected="selected"</#if>
+            >${(productFeatureApplType.get("description",locale))!} </option>
   </#list>
       </select>
       <input type="submit" value='${uiLabelMap.CommonAdd}'/>
@@ -152,7 +152,7 @@
       <span class='label'>${uiLabelMap.ProductFeatureType}: </span>
       <select name='productFeatureTypeId' size="1">
   <#list productFeatureTypes as productFeatureType>
-        <option value='${(productFeatureType.productFeatureTypeId)?if_exists}'>${(productFeatureType.get("description",locale))?if_exists} </option>
+        <option value='${(productFeatureType.productFeatureTypeId)!}'>${(productFeatureType.get("description",locale))!} </option>
   </#list>
       </select>
       <span class='label'>${uiLabelMap.CommonIdCode}: </span><input type="text" size='10' name='idCode' value=''/>
@@ -160,10 +160,10 @@
       <span class='label'>${uiLabelMap.ProductFeatureApplicationType}: </span>
       <select name='productFeatureApplTypeId' size="1">
   <#list productFeatureApplTypes as productFeatureApplType>
-        <option value='${(productFeatureApplType.productFeatureApplTypeId)?if_exists}'
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId =="STANDARD_FEATURE")>selected="selected"</#if>
-            >${(productFeatureApplType.get("description",locale))?if_exists} </option>
+        <option value='${(productFeatureApplType.productFeatureApplTypeId)!}'
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId =="STANDARD_FEATURE")>selected="selected"</#if>
+            >${(productFeatureApplType.get("description",locale))!} </option>
   </#list>
       </select>
       <br />
@@ -190,10 +190,10 @@
       <span class="label">${uiLabelMap.ProductFeatureApplicationType}: </span>
       <select name="productFeatureApplTypeId" size="1">
   <#list productFeatureApplTypes as productFeatureApplType>
-        <option value='${(productFeatureApplType.productFeatureApplTypeId)?if_exists}'
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
-    <#if (productFeatureApplType.productFeatureApplTypeId?exists && product?exists && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId =="STANDARD_FEATURE")>selected="selected"</#if>
-            >${(productFeatureApplType.get("description",locale))?if_exists} </option>
+        <option value='${(productFeatureApplType.productFeatureApplTypeId)!}'
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId =="SELECTABLE_FEATURE")>selected="selected"</#if>
+    <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? && product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId =="STANDARD_FEATURE")>selected="selected"</#if>
+            >${(productFeatureApplType.get("description",locale))!} </option>
   </#list>
       </select>
       <br />
Index: applications/product/webapp/catalog/product/ApplyFeaturesFromCategory.ftl
===================================================================
--- applications/product/webapp/catalog/product/ApplyFeaturesFromCategory.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/ApplyFeaturesFromCategory.ftl	(working copy)
@@ -17,10 +17,10 @@
 under the License.
 -->
 
-<#if curProductFeatureCategory?exists>
-<a href="<@ofbizUrl>EditFeature?productFeatureCategoryId=${productFeatureCategoryId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductCreateNewFeature}</a>
-<#elseif productFeatureGroup?exists>
-<a href="<@ofbizUrl>EditFeatureGroupAppls?productFeatureGroupId=${productFeatureGroup.productFeatureGroupId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit} ${productFeatureGroup.description?if_exists}</a>
+<#if curProductFeatureCategory??>
+<a href="<@ofbizUrl>EditFeature?productFeatureCategoryId=${productFeatureCategoryId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductCreateNewFeature}</a>
+<#elseif productFeatureGroup??>
+<a href="<@ofbizUrl>EditFeatureGroupAppls?productFeatureGroupId=${productFeatureGroup.productFeatureGroupId!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit} ${productFeatureGroup.description!}</a>
 </#if>
 <#if productId?has_content>
     <a href="<@ofbizUrl>EditProduct?productId=${productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReturnToEditProduct}</a>
@@ -28,7 +28,7 @@
 </#if>
 
 <#if (listSize > 0)>
-<#assign selectedFeatureApplTypeId = selFeatureApplTypeId?if_exists>
+<#assign selectedFeatureApplTypeId = selFeatureApplTypeId!>
 
     <#if productId?has_content>
       <#assign productString = "&amp;productId=" + productId>
@@ -39,11 +39,11 @@
             <span>
             <b>
             <#if (viewIndex > 0)>
-            <a href="<@ofbizUrl>ApplyFeaturesFromCategory?productFeatureCategoryId=${productFeatureCategoryId?if_exists}&amp;productFeatureApplTypeId=${selectedFeatureApplTypeId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}${productString?if_exists}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
+            <a href="<@ofbizUrl>ApplyFeaturesFromCategory?productFeatureCategoryId=${productFeatureCategoryId!}&amp;productFeatureApplTypeId=${selectedFeatureApplTypeId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}${productString!}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |
             </#if>
             ${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}
             <#if (listSize > highIndex)>
-            | <a href="<@ofbizUrl>ApplyFeaturesFromCategory?productFeatureCategoryId=${productFeatureCategoryId?if_exists}&amp;productFeatureApplTypeId=${selectedFeatureApplTypeId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}${productString?if_exists}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
+            | <a href="<@ofbizUrl>ApplyFeaturesFromCategory?productFeatureCategoryId=${productFeatureCategoryId!}&amp;productFeatureApplTypeId=${selectedFeatureApplTypeId!}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex+1}${productString!}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>
             </#if>
             </b>
             </span>
@@ -76,7 +76,7 @@
         <input type="hidden" name="productFeatureId_o_${rowCount}" value="${productFeature.productFeatureId}" />
         <td><a href="<@ofbizUrl>EditFeature?productFeatureId=${productFeature.productFeatureId}</@ofbizUrl>" class="buttontext">${productFeature.productFeatureId}</a></td>
         <td>${productFeature.description!}</td>
-        <td><#if curProductFeatureType?exists>${curProductFeatureType.description!}<#else> [${productFeature.productFeatureTypeId}]</#if></td>
+        <td><#if curProductFeatureType??>${curProductFeatureType.description!}<#else> [${productFeature.productFeatureTypeId}]</#if></td>
         <td>
           <select name="productFeatureApplTypeId_o_${rowCount}" size="1">
             <#list productFeatureApplTypes as productFeatureApplType>
@@ -90,8 +90,8 @@
         <td>
            <@htmlTemplate.renderDateTimeField name="thruDate_o_${rowCount}" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="thruDate_o_${rowCount}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
         </td>
-        <td><input type="text" size="6" name="amount_o_${rowCount}" value="${productFeature.defaultAmount?if_exists}" /></td>
-        <td><input type="text" size="5" name="sequenceNum_o_${rowCount}" value="${productFeature.defaultSequenceNum?if_exists}" /></td>
+        <td><input type="text" size="6" name="amount_o_${rowCount}" value="${productFeature.defaultAmount!}" /></td>
+        <td><input type="text" size="5" name="sequenceNum_o_${rowCount}" value="${productFeature.defaultSequenceNum!}" /></td>
         <td align="right">
             <input type="checkbox" name="_rowSubmit_o_${rowCount}" value="Y" onclick="javascript:checkToggle(this, 'selectAllForm');highlightRow(this,'productFeatureId_tableRow_${rowCount}');" />
         </td>
@@ -106,6 +106,6 @@
 </#list>
 <tr><td colspan="9" align="center"><input type="submit" value="${uiLabelMap.CommonApply}" /></td></tr>
 </#if>
-<input type="hidden" name="_rowCount" value="${rowCount?if_exists}"/>
+<input type="hidden" name="_rowCount" value="${rowCount!}"/>
 </form>
 </table>
Index: applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
===================================================================
--- applications/product/webapp/catalog/product/EditProductInventoryItems.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/EditProductInventoryItems.ftl	(working copy)
@@ -16,11 +16,11 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#assign externalKeyParam = "&amp;externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>
+<#assign externalKeyParam = "&amp;externalLoginKey=" + requestAttributes.externalLoginKey!>
 <div class="screenlet">
-  <#if product?exists>
+  <#if product??>
     <div class="screenlet-title-bar">
-        <h3>${uiLabelMap.ProductInventoryItems} ${uiLabelMap.CommonFor} <#if product?exists>${(product.internalName)?if_exists} </#if> [${uiLabelMap.CommonId}:${productId?if_exists}]</h3>
+        <h3>${uiLabelMap.ProductInventoryItems} ${uiLabelMap.CommonFor} <#if product??>${(product.internalName)!} </#if> [${uiLabelMap.CommonId}:${productId!}]</h3>
     </div>
     <div class="screenlet-body">
         <#if productId?has_content>
@@ -32,7 +32,7 @@
             </#if>
         </#if>
         <br />
-        <#if productId?exists>
+        <#if productId??>
             <table cellspacing="0" class="basic-table">
             <tr class="header-row">
                 <td><b>${uiLabelMap.ProductItemId}</b></td>
@@ -52,21 +52,21 @@
             <#assign rowClass = "2">
             <#list productInventoryItems as inventoryItem>
                <#-- NOTE: Delivered for serialized inventory means shipped to customer so they should not be displayed here any more -->
-               <#if showEmpty || (inventoryItem.inventoryItemTypeId?if_exists == "SERIALIZED_INV_ITEM" && inventoryItem.statusId?if_exists != "INV_DELIVERED")
-                              || (inventoryItem.inventoryItemTypeId?if_exists == "NON_SERIAL_INV_ITEM" && ((inventoryItem.availableToPromiseTotal?exists && inventoryItem.availableToPromiseTotal != 0) || (inventoryItem.quantityOnHandTotal?exists && inventoryItem.quantityOnHandTotal != 0)))>
+               <#if showEmpty || (inventoryItem.inventoryItemTypeId! == "SERIALIZED_INV_ITEM" && inventoryItem.statusId! != "INV_DELIVERED")
+                              || (inventoryItem.inventoryItemTypeId! == "NON_SERIAL_INV_ITEM" && ((inventoryItem.availableToPromiseTotal?? && inventoryItem.availableToPromiseTotal != 0) || (inventoryItem.quantityOnHandTotal?? && inventoryItem.quantityOnHandTotal != 0)))>
                     <#assign curInventoryItemType = inventoryItem.getRelatedOne("InventoryItemType", false)>
-                    <#assign curStatusItem = inventoryItem.getRelatedOne("StatusItem", true)?if_exists>
-                    <#assign facilityLocation = inventoryItem.getRelatedOne("FacilityLocation", false)?if_exists>
-                    <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))?if_exists>
-                    <#assign inventoryItemDetailFirst = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(inventoryItem.getRelated("InventoryItemDetail", null, Static["org.ofbiz.base.util.UtilMisc"].toList("effectiveDate"), false))?if_exists>
-                    <#if curInventoryItemType?exists>
+                    <#assign curStatusItem = inventoryItem.getRelatedOne("StatusItem", true)!>
+                    <#assign facilityLocation = inventoryItem.getRelatedOne("FacilityLocation", false)!>
+                    <#assign facilityLocationTypeEnum = (facilityLocation.getRelatedOne("TypeEnumeration", true))!>
+                    <#assign inventoryItemDetailFirst = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(inventoryItem.getRelated("InventoryItemDetail", null, Static["org.ofbiz.base.util.UtilMisc"].toList("effectiveDate"), false))!>
+                    <#if curInventoryItemType??>
                         <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
-                            <td><a href="/facility/control/EditInventoryItem?inventoryItemId=${(inventoryItem.inventoryItemId)?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${(inventoryItem.inventoryItemId)?if_exists}</a></td>
-                            <td>&nbsp;${(curInventoryItemType.get("description",locale))?if_exists}</td>
+                            <td><a href="/facility/control/EditInventoryItem?inventoryItemId=${(inventoryItem.inventoryItemId)!}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${(inventoryItem.inventoryItemId)!}</a></td>
+                            <td>&nbsp;${(curInventoryItemType.get("description",locale))!}</td>
                             <td>
                                 <div>
                                     <#if curStatusItem?has_content>
-                                        ${(curStatusItem.get("description",locale))?if_exists}
+                                        ${(curStatusItem.get("description",locale))!}
                                     <#elseif inventoryItem.statusId?has_content>
                                         [${inventoryItem.statusId}]
                                     <#else>
@@ -74,40 +74,40 @@
                                     </#if>
                                 </div>
                             </td>
-                            <td>&nbsp;${(inventoryItem.datetimeReceived)?if_exists}</td>
-                            <td>&nbsp;${(inventoryItem.expireDate)?if_exists}</td>
-                            <#if inventoryItem.facilityId?exists && inventoryItem.containerId?exists>
+                            <td>&nbsp;${(inventoryItem.datetimeReceived)!}</td>
+                            <td>&nbsp;${(inventoryItem.expireDate)!}</td>
+                            <#if inventoryItem.facilityId?? && inventoryItem.containerId??>
                                 <td style="color: red;">${uiLabelMap.ProductErrorFacility} (${inventoryItem.facilityId})
                                     ${uiLabelMap.ProductAndContainer} (${inventoryItem.containerId}) ${uiLabelMap.CommonSpecified}</td>
-                            <#elseif inventoryItem.facilityId?exists>
+                            <#elseif inventoryItem.facilityId??>
                                 <td>${uiLabelMap.ProductFacilityLetter}:&nbsp;<a href="/facility/control/EditFacility?facilityId=${inventoryItem.facilityId}${StringUtil.wrapString(externalKeyParam)}" class="linktext">${inventoryItem.facilityId}</a></td>
-                            <#elseif (inventoryItem.containerId)?exists>
+                            <#elseif (inventoryItem.containerId)??>
                                 <td>${uiLabelMap.ProductContainerLetter}:&nbsp;<a href="<@ofbizUrl>EditContainer?containerId=${inventoryItem.containerId }</@ofbizUrl>" class="linktext">${inventoryItem.containerId}</a></td>
                             <#else>
                                 <td>&nbsp;</td>
                             </#if>
-                            <td><a href="/facility/control/EditFacilityLocation?facilityId=${(inventoryItem.facilityId)?if_exists}&amp;locationSeqId=${(inventoryItem.locationSeqId)?if_exists}${StringUtil.wrapString(externalKeyParam)}" class="linktext"><#if facilityLocation?exists>${facilityLocation.areaId?if_exists}:${facilityLocation.aisleId?if_exists}:${facilityLocation.sectionId?if_exists}:${facilityLocation.levelId?if_exists}:${facilityLocation.positionId?if_exists}</#if><#if facilityLocationTypeEnum?has_content> (${facilityLocationTypeEnum.get("description",locale)})</#if> [${(inventoryItem.locationSeqId)?if_exists}]</a></td>
-                            <td>&nbsp;${(inventoryItem.lotId)?if_exists}</td>
-                            <td>&nbsp;${(inventoryItem.binNumber)?if_exists}</td>
+                            <td><a href="/facility/control/EditFacilityLocation?facilityId=${(inventoryItem.facilityId)!}&amp;locationSeqId=${(inventoryItem.locationSeqId)!}${StringUtil.wrapString(externalKeyParam)}" class="linktext"><#if facilityLocation??>${facilityLocation.areaId!}:${facilityLocation.aisleId!}:${facilityLocation.sectionId!}:${facilityLocation.levelId!}:${facilityLocation.positionId!}</#if><#if facilityLocationTypeEnum?has_content> (${facilityLocationTypeEnum.get("description",locale)})</#if> [${(inventoryItem.locationSeqId)!}]</a></td>
+                            <td>&nbsp;${(inventoryItem.lotId)!}</td>
+                            <td>&nbsp;${(inventoryItem.binNumber)!}</td>
                             <td align="right"><@ofbizCurrency amount=inventoryItem.unitCost isoCode=inventoryItem.currencyUomId/></td>
                             <td>
-                                <#if inventoryItemDetailFirst?exists && inventoryItemDetailFirst.workEffortId?exists>
+                                <#if inventoryItemDetailFirst?? && inventoryItemDetailFirst.workEffortId??>
                                     <b>${uiLabelMap.ProductionRunId}</b> ${inventoryItemDetailFirst.workEffortId}
-                                <#elseif inventoryItemDetailFirst?exists && inventoryItemDetailFirst.orderId?exists>
+                                <#elseif inventoryItemDetailFirst?? && inventoryItemDetailFirst.orderId??>
                                     <b>${uiLabelMap.OrderId}</b> ${inventoryItemDetailFirst.orderId}
                                 </#if>
                             </td>
-                            <td align="right">${inventoryItemDetailFirst?if_exists.quantityOnHandDiff?if_exists}</td>
-                            <#if inventoryItem.inventoryItemTypeId?if_exists == "NON_SERIAL_INV_ITEM">
+                            <td align="right">${(inventoryItemDetailFirst.quantityOnHandDiff)!}</td>
+                            <#if inventoryItem.inventoryItemTypeId! == "NON_SERIAL_INV_ITEM">
                                 <td align="right">
                                     <div>${(inventoryItem.availableToPromiseTotal)?default("NA")}
                                     / ${(inventoryItem.quantityOnHandTotal)?default("NA")}</div>
                                 </td>
-                            <#elseif inventoryItem.inventoryItemTypeId?if_exists == "SERIALIZED_INV_ITEM">
-                                <td align="right">&nbsp;${(inventoryItem.serialNumber)?if_exists}</td>
+                            <#elseif inventoryItem.inventoryItemTypeId! == "SERIALIZED_INV_ITEM">
+                                <td align="right">&nbsp;${(inventoryItem.serialNumber)!}</td>
                             <#else>
-                                <td align="right" style="color: red;">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSerialNumber} (${(inventoryItem.serialNumber)?if_exists})
-                                    ${uiLabelMap.ProductAndQuantityOnHand} (${(inventoryItem.quantityOnHandTotal)?if_exists} ${uiLabelMap.CommonSpecified}</td>
+                                <td align="right" style="color: red;">${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)!} ${uiLabelMap.ProductUnknownSerialNumber} (${(inventoryItem.serialNumber)!})
+                                    ${uiLabelMap.ProductAndQuantityOnHand} (${(inventoryItem.quantityOnHandTotal)!} ${uiLabelMap.CommonSpecified}</td>
                             </#if>
                         </tr>
                     </#if>
@@ -123,6 +123,6 @@
         </#if>
     </div>
   <#else>
-    <h2>${uiLabelMap.ProductProductNotFound} ${productId?if_exists}!</h2>
+    <h2>${uiLabelMap.ProductProductNotFound} ${productId!}!</h2>
   </#if>
 </div>
Index: applications/product/webapp/catalog/product/AddAdditionalImages.ftl
===================================================================
--- applications/product/webapp/catalog/product/AddAdditionalImages.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/AddAdditionalImages.ftl	(working copy)
@@ -17,13 +17,13 @@
 under the License.
 -->
 <#if product?has_content>
-  <#assign productAdditionalImage1 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_1", locale, dispatcher))?if_exists />
-  <#assign productAdditionalImage2 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_2", locale, dispatcher))?if_exists />
-  <#assign productAdditionalImage3 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_3", locale, dispatcher))?if_exists />
-  <#assign productAdditionalImage4 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_4", locale, dispatcher))?if_exists />
+  <#assign productAdditionalImage1 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_1", locale, dispatcher))! />
+  <#assign productAdditionalImage2 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_2", locale, dispatcher))! />
+  <#assign productAdditionalImage3 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_3", locale, dispatcher))! />
+  <#assign productAdditionalImage4 = (Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "ADDITIONAL_IMAGE_4", locale, dispatcher))! />
 </#if>
 <form id="addAdditionalImagesForm" method="post" action="<@ofbizUrl>addAdditionalImagesForProduct</@ofbizUrl>" enctype="multipart/form-data">
-  <input id="additionalImageProductId" type="hidden" name="productId" value="${productId?if_exists}" />
+  <input id="additionalImageProductId" type="hidden" name="productId" value="${productId!}" />
   <table>
     <tbody>
       <tr>
Index: applications/product/webapp/catalog/product/ViewProductOrders.ftl
===================================================================
--- applications/product/webapp/catalog/product/ViewProductOrders.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/product/ViewProductOrders.ftl	(working copy)
@@ -50,7 +50,7 @@
     <form name="paginationForm" method="post" action="<@ofbizUrl>viewProductOrder</@ofbizUrl>">
       <input type="hidden" name="viewSize"/>
       <input type="hidden" name="viewIndex"/>
-      <#if paramIdList?exists && paramIdList?has_content>
+      <#if paramIdList?? && paramIdList?has_content>
         <#list paramIdList as paramIds>
           <#assign paramId = paramIds.split("=")/>
           <#if "productId" == paramId[0]>
@@ -70,7 +70,7 @@
         <td>${uiLabelMap.OrderQuantity}</td>
         <td>${uiLabelMap.OrderOrderType}</td>
       </tr>
-      <#if orderList?has_content && productId?exists>
+      <#if orderList?has_content && productId??>
         <#list orderList as order>
           <#assign orderItems = delegator.findByAnd("OrderItem", {"orderId" : order.orderId, "productId" : productId}, null, false)/>
           <#list orderItems as orderItem>
Index: applications/product/webapp/catalog/find/sidedeepcategory.ftl
===================================================================
--- applications/product/webapp/catalog/find/sidedeepcategory.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/sidedeepcategory.ftl	(working copy)
@@ -22,31 +22,31 @@
   <#if parentCategory.productCategoryId != category.productCategoryId>
     <#local pStr = "&amp;pcategory=" + parentCategory.productCategoryId>
   </#if>
-  <#if curCategoryId?exists && curCategoryId == category.productCategoryId>
+  <#if curCategoryId?? && curCategoryId == category.productCategoryId>
     <div class="browsecategorytext">
-        <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")} [${category.productCategoryId}]</a>
-        <#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")} [${category.productCategoryId}]</a>
+        <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")} [${category.productCategoryId}]</a>
+        <#elseif catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")} [${category.productCategoryId}]</a>
         <#else>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName?default(category.description)?if_exists} [${category.productCategoryId}]</a>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybuttondisabled">${category.categoryName?default(category.description)!} [${category.productCategoryId}]</a>
        </#if>
     </div>
   <#else>
     <div class="browsecategorytext">
-        <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")} [${category.productCategoryId}]</a>
-        <#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")} [${category.productCategoryId}]</a>
+        <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")} [${category.productCategoryId}]</a>
+        <#elseif catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?has_content>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")} [${category.productCategoryId}]</a>
         <#else>
-          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName?default(category.description)?if_exists} [${category.productCategoryId}]</a>
+          <a href="<@ofbizUrl>EditCategory?productCategoryId=${category.productCategoryId}${pStr!}</@ofbizUrl>" class="browsecategorybutton">${category.categoryName?default(category.description)!} [${category.productCategoryId}]</a>
        </#if>
     </div>
   </#if>
 
-  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
+  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?? && curCategoryId == category.productCategoryId)>
     <#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
-    <#if subCatList?exists>
+    <#if subCatList??>
       <#list subCatList as subCat>
         <div class="browsecategorylist">
           <@categoryList parentCategory=category category=subCat/>
@@ -58,15 +58,15 @@
 
 <div><a href='<@ofbizUrl>ChooseTopCategory</@ofbizUrl>' class='buttontext'>${uiLabelMap.ProductChooseTopCategory}</a></div>
 <div class="browsecategorylist">
-<#if currentTopCategory?exists>
-  <#if curCategoryId?exists && curCategoryId == currentTopCategory.productCategoryId>
+<#if currentTopCategory??>
+  <#if curCategoryId?? && curCategoryId == currentTopCategory.productCategoryId>
     <div style='text-indent: -10px;'><b>${currentTopCategory.categoryName?default("No Name")} [${currentTopCategory.productCategoryId}]</b></div>
   <#else>
-    <div class='browsecategorytext'><a href="<@ofbizUrl>EditCategory?productCategoryId=${currentTopCategory.productCategoryId}</@ofbizUrl>" class='browsecategorybutton'>${currentTopCategory.categoryName?default(currentTopCategory.description)?if_exists} [${currentTopCategory.productCategoryId}]</a></div>
+    <div class='browsecategorytext'><a href="<@ofbizUrl>EditCategory?productCategoryId=${currentTopCategory.productCategoryId}</@ofbizUrl>" class='browsecategorybutton'>${currentTopCategory.categoryName?default(currentTopCategory.description)!} [${currentTopCategory.productCategoryId}]</a></div>
   </#if>
 </#if>
   <div class="browsecategorylist">
-    <#if topLevelList?exists>
+    <#if topLevelList??>
       <#list topLevelList as category>
         <@categoryList parentCategory=category category=category/>
       </#list>
Index: applications/product/webapp/catalog/find/sidecatalogs.ftl
===================================================================
--- applications/product/webapp/catalog/find/sidecatalogs.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/sidecatalogs.ftl	(working copy)
@@ -19,9 +19,9 @@
 <div class="browsecategorylist">
   <#assign sortList = Static["org.ofbiz.base.util.UtilMisc"].toList("prodCatalogCategoryTypeId", "sequenceNum", "productCategoryId")>
   <#list prodCatalogs as prodCatalog>
-  <#if curProdCatalogId?exists && curProdCatalogId == prodCatalog.prodCatalogId>
+  <#if curProdCatalogId?? && curProdCatalogId == prodCatalog.prodCatalogId>
     <#assign prodCatalogCategories = prodCatalog.getRelated("ProdCatalogCategory", null, sortList, true)>
-    <div class='browsecategorytext'><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${prodCatalog.prodCatalogId}</@ofbizUrl>" class='browsecategorybutton'>${prodCatalog.catalogName?if_exists}</a></div>
+    <div class='browsecategorytext'><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${prodCatalog.prodCatalogId}</@ofbizUrl>" class='browsecategorybutton'>${prodCatalog.catalogName!}</a></div>
       <div class="browsecategorylist">
         <#list prodCatalogCategories as prodCatalogCategory>
           <#assign productCategory = prodCatalogCategory.getRelatedOne("ProductCategory", true)>
@@ -29,7 +29,7 @@
         </#list>
       </div>
   <#else>
-    <div class='browsecategorytext'><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${prodCatalog.prodCatalogId}</@ofbizUrl>" class='browsecategorybutton'>${prodCatalog.catalogName?if_exists}</a></div>
+    <div class='browsecategorytext'><a href="<@ofbizUrl>EditProdCatalog?prodCatalogId=${prodCatalog.prodCatalogId}</@ofbizUrl>" class='browsecategorybutton'>${prodCatalog.catalogName!}</a></div>
   </#if>
   </#list>
 </div>
Index: applications/product/webapp/catalog/find/keywordsearchbox.ftl
===================================================================
--- applications/product/webapp/catalog/find/keywordsearchbox.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/keywordsearchbox.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if (requestAttributes.uiLabelMap)?exists><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
+<#if (requestAttributes.uiLabelMap)??><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
 
 <script type="text/javascript">
 //<![CDATA[
@@ -36,19 +36,19 @@
   <fieldset>
     <div>
       <label for="keywordSearchString">${uiLabelMap.ProductKeywords}:</label>
-      <input type="text" name="SEARCH_STRING" id="keywordSearchString" size="20" maxlength="50" value="${requestParameters.SEARCH_STRING?if_exists}" />
+      <input type="text" name="SEARCH_STRING" id="keywordSearchString" size="20" maxlength="50" value="${requestParameters.SEARCH_STRING!}" />
     </div>
     <div>
       <label for="keywordSearchCategoryId">${uiLabelMap.ProductCategoryId}:</label>
-      <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="keywordsearchform" name="SEARCH_CATEGORY_ID" id="keywordSearchCategoryId" fieldFormName="LookupProductCategory"/>
+      <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="keywordsearchform" name="SEARCH_CATEGORY_ID" id="keywordSearchCategoryId" fieldFormName="LookupProductCategory"/>
     </div>
     <div>
       <label for="keywordSearchCointains">${uiLabelMap.CommonNoContains}</label>
-      <input type="checkbox" name="SEARCH_CONTAINS" id="keywordSearchCointains" value="N" <#if requestParameters.SEARCH_CONTAINS?if_exists == "N">checked="checked"</#if> />
+      <input type="checkbox" name="SEARCH_CONTAINS" id="keywordSearchCointains" value="N" <#if requestParameters.SEARCH_CONTAINS! == "N">checked="checked"</#if> />
       <label for="keywordSearchOperatorOr">${uiLabelMap.CommonAny}</label>
-      <input type="radio" name="SEARCH_OPERATOR" id="keywordSearchOperatorOr" value="OR" <#if requestParameters.SEARCH_OPERATOR?if_exists != "AND">checked="checked"</#if> />
+      <input type="radio" name="SEARCH_OPERATOR" id="keywordSearchOperatorOr" value="OR" <#if requestParameters.SEARCH_OPERATOR! != "AND">checked="checked"</#if> />
       <label for="keywordSearchOperatorAnd">${uiLabelMap.CommonAll}</label>
-      <input type="radio" name="SEARCH_OPERATOR" id="keywordSearchOperatorAnd" value="AND" <#if requestParameters.SEARCH_OPERATOR?if_exists == "AND">checked="checked"</#if> />
+      <input type="radio" name="SEARCH_OPERATOR" id="keywordSearchOperatorAnd" value="AND" <#if requestParameters.SEARCH_OPERATOR! == "AND">checked="checked"</#if> />
     </div>
     <div>
       <input type="submit" name="find" value="${uiLabelMap.CommonFind}" class="buttontext" />
@@ -59,7 +59,7 @@
   <fieldset>
     <div>
       <label for="searchCategoryId">${uiLabelMap.ProductCategoryId}:</label>
-      <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advancedsearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
+      <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="advancedsearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
     </div>
     <div>
     <a href="javascript:document.getElementById('advancedSearchForm').submit()" class="buttontext">${uiLabelMap.ProductAdvancedSearch}</a>
@@ -70,7 +70,7 @@
   <fieldset>
     <input type="hidden" name="viewSize" value="20" />
     <input type="hidden" name="viewIndex" value="1" />
-    <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProduct"/>
+    <@htmlTemplate.lookupField value="${requestParameters.productId!}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProduct"/>
     <select name="DUMMYPAGE" id="dummyPage" onchange="submitProductJump()">
         <option value="<@ofbizUrl>EditProduct</@ofbizUrl>">-${uiLabelMap.ProductProductJump}-</option>
         <option value="<@ofbizUrl>EditProductQuickAdmin</@ofbizUrl>">${uiLabelMap.ProductQuickAdmin}</option>
Index: applications/product/webapp/catalog/find/exportproducts.ftl
===================================================================
--- applications/product/webapp/catalog/find/exportproducts.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/exportproducts.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 <#if productExportList?has_content>
   <#list productExportList as productExportMap><#assign productCategoryCount=0/><#assign productFeatureCount=0/>
-    ${productExportMap.productId}    <#if productExportMap.productFeatureCustom?has_content>${productExportMap.productFeatureCustom.description?if_exists}</#if>    <#list     productExportMap.productCategories as productCategoryAndMember><#if productCategoryAndMember.categoryName?has_content><#if productCategoryCount &gt; 0>,</#if>${productCategoryAndMember.categoryName}<#assign productCategoryCount=productCategoryCount + 1/></#if></#list>    <#list     productExportMap.productFeatures as productFeatureAndAppl><#if productFeatureAndAppl.description?has_content><#if productFeatureCount &gt; 0>,</#if>${productFeatureAndAppl.description}<#assign productFeatureCount=productFeatureCount + 1/></#if></#list>
+    ${productExportMap.productId}    <#if productExportMap.productFeatureCustom?has_content>${productExportMap.productFeatureCustom.description!}</#if>    <#list     productExportMap.productCategories as productCategoryAndMember><#if productCategoryAndMember.categoryName?has_content><#if productCategoryCount &gt; 0>,</#if>${productCategoryAndMember.categoryName}<#assign productCategoryCount=productCategoryCount + 1/></#if></#list>    <#list     productExportMap.productFeatures as productFeatureAndAppl><#if productFeatureAndAppl.description?has_content><#if productFeatureCount &gt; 0>,</#if>${productFeatureAndAppl.description}<#assign productFeatureCount=productFeatureCount + 1/></#if></#list>
   </#list>
 <#else>
     ${uiLabelMap.ProductErrorNothingToExport}
Index: applications/product/webapp/catalog/find/FindProductById.ftl
===================================================================
--- applications/product/webapp/catalog/find/FindProductById.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/FindProductById.ftl	(working copy)
@@ -24,10 +24,10 @@
     </div>
     <div class="screenlet-body">
         <form name="idsearchform" method="post" action="<@ofbizUrl>FindProductById</@ofbizUrl>" style="margin: 0;">
-          <span class="label">${uiLabelMap.CommonId} ${uiLabelMap.CommonValue}:</span> <input type="text" name="idValue" size="20" maxlength="50" value="${idValue?if_exists}" />&nbsp;<a href="javascript:document.idsearchform.submit()" class="buttontext">${uiLabelMap.CommonFind}</a>
+          <span class="label">${uiLabelMap.CommonId} ${uiLabelMap.CommonValue}:</span> <input type="text" name="idValue" size="20" maxlength="50" value="${idValue!}" />&nbsp;<a href="javascript:document.idsearchform.submit()" class="buttontext">${uiLabelMap.CommonFind}</a>
         </form>
         <br />
-        <h1>${uiLabelMap.ProductSearchResultsWithIdValue}: ${idValue?if_exists}</h1>
+        <h1>${uiLabelMap.ProductSearchResultsWithIdValue}: ${idValue!}</h1>
         <#if !goodIdentifications?has_content && !idProduct?has_content>
           <br />
           <h2>&nbsp;${uiLabelMap.ProductNoResultsFound}.</h2>
@@ -41,7 +41,7 @@
                 </td>
                 <td>&nbsp;&nbsp;</td>
                 <td>
-                    <a href="<@ofbizUrl>EditProduct?productId=${idProduct.productId}</@ofbizUrl>" class="buttontext">${(idProduct.internalName)?if_exists}</a>
+                    <a href="<@ofbizUrl>EditProduct?productId=${idProduct.productId}</@ofbizUrl>" class="buttontext">${(idProduct.internalName)!}</a>
                     (${uiLabelMap.ProductSearchResultsFound})
                 </td>
             </tr>
@@ -61,7 +61,7 @@
                     </td>
                     <td>&nbsp;&nbsp;</td>
                     <td>
-                        <a href="<@ofbizUrl>EditProduct?productId=${product.productId}</@ofbizUrl>" class="buttontext">${(product.internalName)?if_exists}</a>
+                        <a href="<@ofbizUrl>EditProduct?productId=${product.productId}</@ofbizUrl>" class="buttontext">${(product.internalName)!}</a>
                         (${uiLabelMap.ProductSearchResultsFound} ${goodIdentificationType.get("description",locale)?default(goodIdentification.goodIdentificationTypeId)}.)
                     </td>
                 </tr>
Index: applications/product/webapp/catalog/find/miniproductlist.ftl
===================================================================
--- applications/product/webapp/catalog/find/miniproductlist.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/miniproductlist.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#if productCategory?exists>
+<#if productCategory??>
   <#if productCategoryMembers?has_content>
       <#list productCategoryMembers as productCategoryMember>
         <#assign product = productCategoryMember.getRelatedOne("Product", true)>
Index: applications/product/webapp/catalog/find/keywordsearch.ftl
===================================================================
--- applications/product/webapp/catalog/find/keywordsearch.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/keywordsearch.ftl	(working copy)
@@ -25,7 +25,7 @@
       <div>&nbsp;<a href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&amp;clearSearch=N</@ofbizUrl>" class="buttontext">X</a>&nbsp;${searchConstraintString}</div>
     </#list>
     <span class="label">${uiLabelMap.CommonSortedBy}:</span>${searchSortOrderString}
-    <div><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(requestParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefineSearch}</a></div>
+    <div><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(requestParameters.SEARCH_CATEGORY_ID)!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefineSearch}</a></div>
 
     <#if !productIds?has_content>
       <br /><h2>&nbsp;${uiLabelMap.ProductNoResultsFound}.</h2>
@@ -109,7 +109,7 @@
     </table>
 
     <form method="post" name="products">
-      <input type="hidden" name="productStoreId" value="${parameters.productStoreId?if_exists}" />
+      <input type="hidden" name="productStoreId" value="${parameters.productStoreId!}" />
       <table cellspacing="0" class="basic-table">
         <#assign listIndex = lowIndex>
         <#assign rowClass = "2">
@@ -118,7 +118,7 @@
           <tr valign="middle"<#if rowClass == "1"> class="alternate-row"</#if>>
             <td>
               <input type="checkbox" name="selectResult" value="${productId}" onchange="checkProductToBagTextArea(this, '${productId}');"/>
-              <a href="<@ofbizUrl>EditProduct?productId=${productId}</@ofbizUrl>" class="buttontext">[${productId}] ${(product.internalName)?if_exists}</a>
+              <a href="<@ofbizUrl>EditProduct?productId=${productId}</@ofbizUrl>" class="buttontext">[${productId}] ${(product.internalName)!}</a>
             </td>
           </tr>
           <#-- toggle the row color -->
Index: applications/product/webapp/catalog/find/advancedsearch.ftl
===================================================================
--- applications/product/webapp/catalog/find/advancedsearch.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/find/advancedsearch.ftl	(working copy)
@@ -26,7 +26,7 @@
       <input type="hidden" name="PAGING" value="Y"/>
       <input type="hidden" name="noConditionFind" value="Y"/>
       <#if searchCategory?has_content>
-          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}"/>
+          <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId!}"/>
       </#if>
       <table cellspacing="0" class="basic-table">
         <#if searchCategory?has_content>
@@ -36,7 +36,7 @@
               </td>
               <td valign="middle">
                 <div>
-                  <b>"${(searchCategory.description)?if_exists}" [${(searchCategory.productCategoryId)?if_exists}]</b> ${uiLabelMap.ProductIncludeSubCategories}
+                  <b>"${(searchCategory.description)!}" [${(searchCategory.productCategoryId)!}]</b> ${uiLabelMap.ProductIncludeSubCategories}
                   ${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked" />
                   ${uiLabelMap.CommonNo}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="N"/>
                 </div>
@@ -68,7 +68,7 @@
               </td>
               <td valign="middle">
                 <div>
-                  <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advtokeywordsearchform" name="SEARCH_CATEGORY_ID" id="SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
+                  <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="advtokeywordsearchform" name="SEARCH_CATEGORY_ID" id="SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
                   ${uiLabelMap.ProductIncludeSubCategories}
                   ${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked"/>
                   ${uiLabelMap.CommonNo}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="N"/>
@@ -85,7 +85,7 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_PRODUCT_NAME" size="20" value="${requestParameters.SEARCH_PRODUCT_NAME?if_exists}"/>
+              <input type="text" name="SEARCH_PRODUCT_NAME" size="20" value="${requestParameters.SEARCH_PRODUCT_NAME!}"/>
             </div>
           </td>
         </tr>
@@ -95,7 +95,7 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_INTERNAL_PROD_NAME" size="20" value="${requestParameters.SEARCH_INTERNAL_PROD_NAME?if_exists}"/>
+              <input type="text" name="SEARCH_INTERNAL_PROD_NAME" size="20" value="${requestParameters.SEARCH_INTERNAL_PROD_NAME!}"/>
             </div>
           </td>
         </tr>
@@ -105,7 +105,7 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}"/>&nbsp;
               ${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if>/>
               ${uiLabelMap.CommonAll}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if>/>
             </div>
@@ -117,19 +117,19 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_CAT1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT1?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_CAT1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT1!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_CAT2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT2?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_CAT2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT2!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_CAT3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT3?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_CAT3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT3!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="N"/>
@@ -142,19 +142,19 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_GRP1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP1?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_GRP1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP1!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_GRP2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP2?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_GRP2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP2!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_PROD_FEAT_GRP3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP3?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_PROD_FEAT_GRP3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP3!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="N"/>
@@ -168,19 +168,19 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_FEAT1" size="15" value="${requestParameters.SEARCH_FEAT1?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_FEAT1" size="15" value="${requestParameters.SEARCH_FEAT1!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT2?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT2!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="N"/>
             </div>
             <div>
-              <input type="text" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT3?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT3!}"/>&nbsp;
                   ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="" checked="checked"/>
                   ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="Y"/>
                   ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="N"/>
@@ -193,8 +193,8 @@
           </td>
           <td valign="middle">
             <div>
-              <input type="text" name="LIST_PRICE_LOW" size="8" value="${requestParameters.LIST_PRICE_LOW?if_exists}"/>&nbsp;
-              <input type="text" name="LIST_PRICE_HIGH" size="8" value="${requestParameters.LIST_PRICE_HIGH?if_exists}"/>&nbsp;
+              <input type="text" name="LIST_PRICE_LOW" size="8" value="${requestParameters.LIST_PRICE_LOW!}"/>&nbsp;
+              <input type="text" name="LIST_PRICE_HIGH" size="8" value="${requestParameters.LIST_PRICE_HIGH!}"/>&nbsp;
             </div>
           </td>
         </tr>
@@ -204,7 +204,7 @@
           <#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId]>
           <tr>
             <td class="label" align="right" valign="middle">
-              ${(productFeatureType.get("description",locale))?if_exists}:
+              ${(productFeatureType.get("description",locale))!}:
             </td>
             <td valign="middle">
               <div>
@@ -227,7 +227,7 @@
               <select name="SEARCH_SUPPLIER_ID">
                 <option value="">- ${uiLabelMap.CommonSelectAny} -</option>
                 <#list supplerPartyRoleAndPartyDetails as supplerPartyRoleAndPartyDetail>
-                  <option value="${supplerPartyRoleAndPartyDetail.partyId}">${supplerPartyRoleAndPartyDetail.groupName?if_exists} ${supplerPartyRoleAndPartyDetail.firstName?if_exists} ${supplerPartyRoleAndPartyDetail.lastName?if_exists} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
+                  <option value="${supplerPartyRoleAndPartyDetail.partyId}">${supplerPartyRoleAndPartyDetail.groupName!} ${supplerPartyRoleAndPartyDetail.firstName!} ${supplerPartyRoleAndPartyDetail.lastName!} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
                 </#list>
               </select>
             </div>
@@ -262,7 +262,7 @@
             ${uiLabelMap.ProductPrioritizeProductsInCategory}:
           </td>
           <td valign="middle">
-            <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID?if_exists}" formName="advtokeywordsearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
+            <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID!}" formName="advtokeywordsearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
           </td>
         </tr>
         <tr>
@@ -273,7 +273,7 @@
             <select name="SEARCH_GOOD_IDENTIFICATION_TYPE">
               <option value="">- ${uiLabelMap.CommonSelectAny} -</option>
               <#list goodIdentificationTypes as goodIdentificationType>
-              <option value="${goodIdentificationType.goodIdentificationTypeId}">${goodIdentificationType.get("description")?if_exists}</option>
+              <option value="${goodIdentificationType.goodIdentificationTypeId}">${goodIdentificationType.get("description")!}</option>
               </#list>
             </select>
           </td>
@@ -283,7 +283,7 @@
             ${uiLabelMap.ProductGoodIdentificationValue}:
           </td>
           <td>
-            <input type="text" name="SEARCH_GOOD_IDENTIFICATION_VALUE" size="60" maxlength="60" value="${requestParameters.SEARCH_GOOD_IDENTIFICATION_VALUE?if_exists}"/>
+            <input type="text" name="SEARCH_GOOD_IDENTIFICATION_VALUE" size="60" maxlength="60" value="${requestParameters.SEARCH_GOOD_IDENTIFICATION_VALUE!}"/>
             ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_GOOD_IDENTIFICATION_INCL" value="Y" checked="checked"/>
             ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_GOOD_IDENTIFICATION_INCL" value="N"/>
           </td>
Index: applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl
===================================================================
--- applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl	(revision 1590602)
+++ applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl	(working copy)
@@ -79,7 +79,7 @@
                   <input type="hidden" name="alternateKeyword" value="${keyword.alternateKeyword}" />
                   <input type="submit" value="X" />
                 </form>
-                ${keyword.alternateKeyword}&nbsp;(${uiLabelMap.ProductRelationship}:${(relationship.get("description",locale))?default(keyword.relationshipEnumId?if_exists)})
+                ${keyword.alternateKeyword}&nbsp;(${uiLabelMap.ProductRelationship}:${(relationship.get("description",locale))?default(keyword.relationshipEnumId!)})
               </div>
               <#-- toggle the row color -->
               <#if rowClass == "2">
Index: applications/marketing/webapp/sfa/lead/mergeLeads.ftl
===================================================================
--- applications/marketing/webapp/sfa/lead/mergeLeads.ftl	(revision 1590602)
+++ applications/marketing/webapp/sfa/lead/mergeLeads.ftl	(working copy)
@@ -27,16 +27,16 @@
         <#if contactInfoList?has_content >
           <#assign contactInfo1 = contactInfoList[0]/>
           <#assign contactInfo2 = contactInfoList[1]/>
-          <input type="hidden" name="partyIdTo" value="${contactInfo1.partyId?if_exists}" />
-          <input type="hidden" name="partyId" value="${contactInfo2.partyId?if_exists}" />
+          <input type="hidden" name="partyIdTo" value="${contactInfo1.partyId!}" />
+          <input type="hidden" name="partyId" value="${contactInfo2.partyId!}" />
 
-          <input type="hidden" name="addrContactMechIdTo" value="${contactInfo1.addrContactMechId?if_exists}" />
-          <input type="hidden" name="phoneContactMechIdTo" value="${contactInfo1.phoneContactMechId?if_exists}" />
-          <input type="hidden" name="emailContactMechIdTo" value="${contactInfo1.emailContactMechId?if_exists}" />
+          <input type="hidden" name="addrContactMechIdTo" value="${contactInfo1.addrContactMechId!}" />
+          <input type="hidden" name="phoneContactMechIdTo" value="${contactInfo1.phoneContactMechId!}" />
+          <input type="hidden" name="emailContactMechIdTo" value="${contactInfo1.emailContactMechId!}" />
 
-          <input type="hidden" name="addrContactMechId" value="${contactInfo2.addrContactMechId?if_exists}" />
-          <input type="hidden" name="phoneContactMechId" value="${contactInfo2.phoneContactMechId?if_exists}" />
-          <input type="hidden" name="emailContactMechId" value="${contactInfo2.emailContactMechId?if_exists}" />
+          <input type="hidden" name="addrContactMechId" value="${contactInfo2.addrContactMechId!}" />
+          <input type="hidden" name="phoneContactMechId" value="${contactInfo2.phoneContactMechId!}" />
+          <input type="hidden" name="emailContactMechId" value="${contactInfo2.emailContactMechId!}" />
 
           <table  >
             <tr>
@@ -47,14 +47,14 @@
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyFirstName}</td>
-              <td width="30%"><h3>${contactInfo1.firstName?if_exists}</h3></td>
-              <td width="30%"><h3>${contactInfo2.firstName?if_exists}</h3></td>
+              <td width="30%"><h3>${contactInfo1.firstName!}</h3></td>
+              <td width="30%"><h3>${contactInfo2.firstName!}</h3></td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyLastName}</td>
-              <td width="30%"><h3>${contactInfo1.lastName?if_exists}</h3></td>
-              <td width="30%"><h3>${contactInfo2.lastName?if_exists}</h3></td>
+              <td width="30%"><h3>${contactInfo1.lastName!}</h3></td>
+              <td width="30%"><h3>${contactInfo2.lastName!}</h3></td>
               <td width="20%"></td>
             </tr>
             <tr>
@@ -63,65 +63,65 @@
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyAddressLine1}</td>
-              <td width="30%">${contactInfo1.address1?if_exists}</td>
-              <td width="30%">${contactInfo2.address1?if_exists}</td>
+              <td width="30%">${contactInfo1.address1!}</td>
+              <td width="30%">${contactInfo2.address1!}</td>
               <td width="20%"><input type="checkbox" name="useAddress2" value="Y"/></td>
             </tr>
 
             <tr>
               <td width="20%" >${uiLabelMap.PartyAddressLine2}</td>
-              <td width="30%">${contactInfo1.address2?if_exists}</td>
-              <td width="30%">${contactInfo2.address2?if_exists}</td>
+              <td width="30%">${contactInfo1.address2!}</td>
+              <td width="30%">${contactInfo2.address2!}</td>
               <td width="20%"></td>
             </tr>
 
             <tr>
               <td width="20%" >${uiLabelMap.PartyCity}</td>
-              <td width="30%">${contactInfo1.city?if_exists}</td>
-              <td width="30%">${contactInfo2.city?if_exists}</td>
+              <td width="30%">${contactInfo1.city!}</td>
+              <td width="30%">${contactInfo2.city!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyState}</td>
-              <td width="30%">${contactInfo1.state?if_exists}</td>
-              <td width="30%">${contactInfo2.state?if_exists}</td>
+              <td width="30%">${contactInfo1.state!}</td>
+              <td width="30%">${contactInfo2.state!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyZipCode}</td>
-              <td width="30%">${contactInfo1.postalCode?if_exists}</td>
-              <td width="30%">${contactInfo2.postalCode?if_exists}</td>
+              <td width="30%">${contactInfo1.postalCode!}</td>
+              <td width="30%">${contactInfo2.postalCode!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.CommonCountry}</td>
-              <td width="30%">${contactInfo1.country?if_exists}</td>
-              <td width="30%">${contactInfo2.country?if_exists}</td>
+              <td width="30%">${contactInfo1.country!}</td>
+              <td width="30%">${contactInfo2.country!}</td>
               <td width="20%"></td>
             </tr>
             <tr><td><br /><h3>${uiLabelMap.PartyPrimaryPhone}</h3></td></tr>
             <tr>
               <td width="20%">${uiLabelMap.CommonCountryCode}</td>
-              <td width="30%">${contactInfo1.countryCode?if_exists}</td>
-              <td width="30%">${contactInfo2.countryCode?if_exists}</td>
+              <td width="30%">${contactInfo1.countryCode!}</td>
+              <td width="30%">${contactInfo2.countryCode!}</td>
               <td width="10%"><input type="checkbox" name="useContactNum2" value="Y"/></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyAreaCode}</td>
-              <td width="30%">${contactInfo1.areaCode?if_exists}</td>
-              <td width="30%">${contactInfo2.areaCode?if_exists}</td>
+              <td width="30%">${contactInfo1.areaCode!}</td>
+              <td width="30%">${contactInfo2.areaCode!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyPhoneNumber}</td>
-              <td width="30%">${contactInfo1.contactNumber?if_exists}</td>
-              <td width="30%">${contactInfo2.contactNumber?if_exists}</td>
+              <td width="30%">${contactInfo1.contactNumber!}</td>
+              <td width="30%">${contactInfo2.contactNumber!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyEmailAddress}</td>
-              <td width="30%">${contactInfo1.primaryEmail?if_exists}</td>
-              <td width="30%">${contactInfo2.primaryEmail?if_exists}</td>
+              <td width="30%">${contactInfo1.primaryEmail!}</td>
+              <td width="30%">${contactInfo2.primaryEmail!}</td>
               <td width="10%"><input type="checkbox" name="useEmail2" value="Y"/></td>
             </tr>
             <tr>
Index: applications/marketing/webapp/sfa/contact/mergeContacts.ftl
===================================================================
--- applications/marketing/webapp/sfa/contact/mergeContacts.ftl	(revision 1590602)
+++ applications/marketing/webapp/sfa/contact/mergeContacts.ftl	(working copy)
@@ -23,16 +23,16 @@
         <#if contactInfoList?has_content >
           <#assign contactInfo1 = contactInfoList[0]/>
           <#assign contactInfo2 = contactInfoList[1]/>
-          <input type="hidden" name="partyIdTo" value="${contactInfo1.partyId?if_exists}" />
-          <input type="hidden" name="partyId" value="${contactInfo2.partyId?if_exists}" />
+          <input type="hidden" name="partyIdTo" value="${contactInfo1.partyId!}" />
+          <input type="hidden" name="partyId" value="${contactInfo2.partyId!}" />
 
-          <input type="hidden" name="addrContactMechIdTo" value="${contactInfo1.addrContactMechId?if_exists}" />
-          <input type="hidden" name="phoneContactMechIdTo" value="${contactInfo1.phoneContactMechId?if_exists}" />
-          <input type="hidden" name="emailContactMechIdTo" value="${contactInfo1.emailContactMechId?if_exists}" />
+          <input type="hidden" name="addrContactMechIdTo" value="${contactInfo1.addrContactMechId!}" />
+          <input type="hidden" name="phoneContactMechIdTo" value="${contactInfo1.phoneContactMechId!}" />
+          <input type="hidden" name="emailContactMechIdTo" value="${contactInfo1.emailContactMechId!}" />
 
-          <input type="hidden" name="addrContactMechId" value="${contactInfo2.addrContactMechId?if_exists}" />
-          <input type="hidden" name="phoneContactMechId" value="${contactInfo2.phoneContactMechId?if_exists}" />
-          <input type="hidden" name="emailContactMechId" value="${contactInfo2.emailContactMechId?if_exists}" />
+          <input type="hidden" name="addrContactMechId" value="${contactInfo2.addrContactMechId!}" />
+          <input type="hidden" name="phoneContactMechId" value="${contactInfo2.phoneContactMechId!}" />
+          <input type="hidden" name="emailContactMechId" value="${contactInfo2.emailContactMechId!}" />
 
           <table  >
             <tr>
@@ -43,14 +43,14 @@
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyFirstName}</td>
-              <td width="30%"><h3>${contactInfo1.firstName?if_exists}</h3></td>
-              <td width="30%"><h3>${contactInfo2.firstName?if_exists}</h3></td>
+              <td width="30%"><h3>${contactInfo1.firstName!}</h3></td>
+              <td width="30%"><h3>${contactInfo2.firstName!}</h3></td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyLastName}</td>
-              <td width="30%"><h3>${contactInfo1.lastName?if_exists}</h3></td>
-              <td width="30%"><h3>${contactInfo2.lastName?if_exists}</h3></td>
+              <td width="30%"><h3>${contactInfo1.lastName!}</h3></td>
+              <td width="30%"><h3>${contactInfo2.lastName!}</h3></td>
               <td width="20%"></td>
             </tr>
             <tr>
@@ -59,65 +59,65 @@
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyAddressLine1}</td>
-              <td width="30%">${contactInfo1.address1?if_exists}</td>
-              <td width="30%">${contactInfo2.address1?if_exists}</td>
+              <td width="30%">${contactInfo1.address1!}</td>
+              <td width="30%">${contactInfo2.address1!}</td>
               <td width="20%"><input type="checkbox" name="useAddress2" value="Y"/></td>
             </tr>
 
             <tr>
               <td width="20%" >${uiLabelMap.PartyAddressLine2}</td>
-              <td width="30%">${contactInfo1.address2?if_exists}</td>
-              <td width="30%">${contactInfo2.address2?if_exists}</td>
+              <td width="30%">${contactInfo1.address2!}</td>
+              <td width="30%">${contactInfo2.address2!}</td>
               <td width="20%"></td>
             </tr>
 
             <tr>
               <td width="20%" >${uiLabelMap.PartyCity}</td>
-              <td width="30%">${contactInfo1.city?if_exists}</td>
-              <td width="30%">${contactInfo2.city?if_exists}</td>
+              <td width="30%">${contactInfo1.city!}</td>
+              <td width="30%">${contactInfo2.city!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyState}</td>
-              <td width="30%">${contactInfo1.state?if_exists}</td>
-              <td width="30%">${contactInfo2.state?if_exists}</td>
+              <td width="30%">${contactInfo1.state!}</td>
+              <td width="30%">${contactInfo2.state!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%">${uiLabelMap.PartyZipCode}</td>
-              <td width="30%">${contactInfo1.postalCode?if_exists}</td>
-              <td width="30%">${contactInfo2.postalCode?if_exists}</td>
+              <td width="30%">${contactInfo1.postalCode!}</td>
+              <td width="30%">${contactInfo2.postalCode!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.CommonCountry}</td>
-              <td width="30%">${contactInfo1.country?if_exists}</td>
-              <td width="30%">${contactInfo2.country?if_exists}</td>
+              <td width="30%">${contactInfo1.country!}</td>
+              <td width="30%">${contactInfo2.country!}</td>
               <td width="20%"></td>
             </tr>
             <tr><td><br /><h3>${uiLabelMap.PartyPrimaryPhone}</h3></td></tr>
             <tr>
               <td width="20%">${uiLabelMap.CommonCountryCode}</td>
-              <td width="30%">${contactInfo1.countryCode?if_exists}</td>
-              <td width="30%">${contactInfo2.countryCode?if_exists}</td>
+              <td width="30%">${contactInfo1.countryCode!}</td>
+              <td width="30%">${contactInfo2.countryCode!}</td>
               <td width="10%"><input type="checkbox" name="useContactNum2" value="Y"/></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyAreaCode}</td>
-              <td width="30%">${contactInfo1.areaCode?if_exists}</td>
-              <td width="30%">${contactInfo2.areaCode?if_exists}</td>
+              <td width="30%">${contactInfo1.areaCode!}</td>
+              <td width="30%">${contactInfo2.areaCode!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyPhoneNumber}</td>
-              <td width="30%">${contactInfo1.contactNumber?if_exists}</td>
-              <td width="30%">${contactInfo2.contactNumber?if_exists}</td>
+              <td width="30%">${contactInfo1.contactNumber!}</td>
+              <td width="30%">${contactInfo2.contactNumber!}</td>
               <td width="20%"></td>
             </tr>
             <tr>
               <td width="20%" >${uiLabelMap.PartyEmailAddress}</td>
-              <td width="30%">${contactInfo1.primaryEmail?if_exists}</td>
-              <td width="30%">${contactInfo2.primaryEmail?if_exists}</td>
+              <td width="30%">${contactInfo1.primaryEmail!}</td>
+              <td width="30%">${contactInfo2.primaryEmail!}</td>
               <td width="10%"><input type="checkbox" name="useEmail2" value="Y"/></td>
             </tr>
             <tr>
Index: applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl
===================================================================
--- applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl	(revision 1590602)
+++ applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl	(working copy)
@@ -35,9 +35,9 @@
             <#if (rootCat?has_content)>
                 <#list rootCat as root>
                     {
-                    "data": {"title" : unescapeHtmlText("<#if root.groupName?exists>${root.groupName?js_string} [${root.partyId}]<#else>${root.partyId?js_string}</#if>"), "attr": {"href" : "<@ofbizUrl>/viewprofile?partyId=${root.partyId}</@ofbizUrl>","onClick" : "callDocument('${root.partyId}');"}},
+                    "data": {"title" : unescapeHtmlText("<#if root.groupName??>${root.groupName?js_string} [${root.partyId}]<#else>${root.partyId?js_string}</#if>"), "attr": {"href" : "<@ofbizUrl>/viewprofile?partyId=${root.partyId}</@ofbizUrl>","onClick" : "callDocument('${root.partyId}');"}},
                     "attr": {"id" : "${root.partyId}", "rel" : "Y"}
-                    <#if root.child?exists>
+                    <#if root.child??>
                     ,"state" : "closed"
                     </#if>
                     <#if root_has_next>
Index: applications/humanres/webapp/humanres/humanres/findEmployee.ftl
===================================================================
--- applications/humanres/webapp/humanres/humanres/findEmployee.ftl	(revision 1590602)
+++ applications/humanres/webapp/humanres/humanres/findEmployee.ftl	(working copy)
@@ -26,7 +26,7 @@
             <#if parameters.hideFields?default("N") == "Y">
                 <li><a href="<@ofbizUrl>findEmployees?hideFields=N${paramList}</@ofbizUrl>">${uiLabelMap.CommonShowLookupFields}</a></li>
             <#else>
-            <#if partyList?exists><li><a href="<@ofbizUrl>findEmployees?hideFields=Y${paramList}</@ofbizUrl>">${uiLabelMap.CommonHideFields}</a></li></#if>
+            <#if partyList??><li><a href="<@ofbizUrl>findEmployees?hideFields=Y${paramList}</@ofbizUrl>">${uiLabelMap.CommonHideFields}</a></li></#if>
                 <li><a href="javascript:document.lookupparty.submit();">${uiLabelMap.PartyLookupParty}</a></li>
             </#if>
         </ul>
@@ -52,30 +52,30 @@
                 </tr>
                 <tr><td class='label'>${uiLabelMap.PartyPartyId}</td>
                     <td>
-                      <@htmlTemplate.lookupField value='${requestParameters.partyId?if_exists}' formName="lookupparty" name="partyId" id="partyId" fieldFormName="LookupPerson"/>
+                      <@htmlTemplate.lookupField value='${requestParameters.partyId!}' formName="lookupparty" name="partyId" id="partyId" fieldFormName="LookupPerson"/>
                     </td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyUserLogin}</td>
-                    <td><input type="text" name="userLoginId" value="${parameters.userLoginId?if_exists}"/></td>
+                    <td><input type="text" name="userLoginId" value="${parameters.userLoginId!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyLastName}</td>
-                    <td><input type="text" name="lastName" value="${parameters.lastName?if_exists}"/></td>
+                    <td><input type="text" name="lastName" value="${parameters.lastName!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyFirstName}</td>
-                    <td><input type="text" name="firstName" value="${parameters.firstName?if_exists}"/></td>
+                    <td><input type="text" name="firstName" value="${parameters.firstName!}"/></td>
                 </tr>
-                <tr><td><input type="hidden" name="groupName" value="${parameters.groupName?if_exists}"/></td></tr>
+                <tr><td><input type="hidden" name="groupName" value="${parameters.groupName!}"/></td></tr>
                 <tr><td><input type="hidden" name="roleTypeId" value="EMPLOYEE"/></td></tr>
             <#if extInfo == "P">
                 <tr><td colspan="3"><hr /></td></tr><tr>
                     <td class="label">${uiLabelMap.CommonAddress1}</td>
-                    <td><input type="text" name="address1" value="${parameters.address1?if_exists}"/></td>
+                    <td><input type="text" name="address1" value="${parameters.address1!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.CommonAddress2}</td>
-                    <td><input type="text" name="address2" value="${parameters.address2?if_exists}"/></td>
+                    <td><input type="text" name="address2" value="${parameters.address2!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.CommonCity}</td>
-                    <td><input type="text" name="city" value="${parameters.city?if_exists}"/></td>
+                    <td><input type="text" name="city" value="${parameters.city!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.CommonStateProvince}</td>
                     <td><select name="stateProvinceGeoId">
@@ -89,25 +89,25 @@
                     </td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyPostalCode}</td>
-                    <td><input type="text" name="postalCode" value="${parameters.postalCode?if_exists}"/></td>
+                    <td><input type="text" name="postalCode" value="${parameters.postalCode!}"/></td>
                 </tr>
             </#if>
             <#if extInfo == "T">
                 <tr><td colspan="3"><hr /></td></tr>
                 <tr><td class="label">${uiLabelMap.CommonCountryCode}</td>
-                    <td><input type="text" name="countryCode" value="${parameters.countryCode?if_exists}"/></td>
+                    <td><input type="text" name="countryCode" value="${parameters.countryCode!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyAreaCode}</td>
-                    <td><input type="text" name="areaCode" value="${parameters.areaCode?if_exists}"/></td>
+                    <td><input type="text" name="areaCode" value="${parameters.areaCode!}"/></td>
                 </tr>
                 <tr><td class="label">${uiLabelMap.PartyContactNumber}</td>
-                    <td><input type="text" name="contactNumber" value="${parameters.contactNumber?if_exists}"/></td>
+                    <td><input type="text" name="contactNumber" value="${parameters.contactNumber!}"/></td>
                 </tr>
             </#if>
             <#if extInfo == "O">
                 <tr><td colspan="3"><hr /></td></tr>
                 <tr><td class="label">${uiLabelMap.PartyContactInformation}</td>
-                    <td><input type="text" name="infoString" value="${parameters.infoString?if_exists}"/></td>
+                    <td><input type="text" name="infoString" value="${parameters.infoString!}"/></td>
                 </tr>
             </#if>
                 <tr><td colspan="3"><hr /></td></tr>
@@ -129,7 +129,7 @@
     //-->
         </script>
     </#if>
-    <#if partyList?exists>
+    <#if partyList??>
     <br />
     <div id="findEmployeeResults" class="screenlet">
         <div class="screenlet-title-bar">
@@ -171,7 +171,7 @@
             </tr>
             <#assign alt_row = false>
             <#list partyList as partyRow>
-            <#assign partyType = partyRow.getRelatedOne("PartyType", false)?if_exists>
+            <#assign partyType = partyRow.getRelatedOne("PartyType", false)!>
             <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
                 <td><a href="<@ofbizUrl>EmployeeProfile?partyId=${partyRow.partyId}</@ofbizUrl>">${partyRow.partyId}</a></td>
                 <td><#if partyRow.containsKey("userLoginId")>
@@ -204,15 +204,15 @@
                     </#if>
                 </td>
                 <#if extInfo?default("") == "T">
-                    <td>${partyRow.areaCode?if_exists}</td>
+                    <td>${partyRow.areaCode!}</td>
                 </#if>
                 <#if extInfo?default("") == "P" >
-                    <td>${partyRow.city?if_exists}, ${partyRow.stateProvinceGeoId?if_exists}</td>
+                    <td>${partyRow.city!}, ${partyRow.stateProvinceGeoId!}</td>
                 </#if>
                 <#if extInfo?default("") == "P">
-                    <td>${partyRow.postalCode?if_exists}</td>
+                    <td>${partyRow.postalCode!}</td>
                 </#if>
-                <td><#if partyType.description?exists>${partyType.get("description", locale)}<#else>???</#if></td>
+                <td><#if partyType.description??>${partyType.get("description", locale)}<#else>???</#if></td>
                 <td class="button-col align-float">
                     <a href="<@ofbizUrl>EmployeeProfile?partyId=${partyRow.partyId}</@ofbizUrl>">${uiLabelMap.CommonDetails}</a>
                 </td>
@@ -226,7 +226,7 @@
             <span class="h3">${uiLabelMap.PartyNoPartiesFound}</span>
         </div>
     </#if>
-    <#if lookupErrorMessage?exists>
+    <#if lookupErrorMessage??>
         <div><h3>${lookupErrorMessage}</h3></div>
     </#if>
         <div>&nbsp;</div>
Index: applications/humanres/webapp/humanres/humanres/internalorg/removeinternalorg.ftl
===================================================================
--- applications/humanres/webapp/humanres/humanres/internalorg/removeinternalorg.ftl	(revision 1590602)
+++ applications/humanres/webapp/humanres/humanres/internalorg/removeinternalorg.ftl	(working copy)
@@ -16,13 +16,13 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#assign partyGroup = delegator.findOne("PartyGroup", {"partyId" : parameters.partyId?if_exists}, true)/>
+<#assign partyGroup = delegator.findOne("PartyGroup", {"partyId" : parameters.partyId!}, true)/>
 <#if partyGroup?has_content>
-    <#assign partyname = partyGroup.groupName?if_exists/>
+    <#assign partyname = partyGroup.groupName!/>
 </#if>
 <script type="text/javascript">
     <!--
-    var answer = confirm ("Are you sure you want to remove '<#if partyname?exists>${partyname}<#else>${parameters.partyId?if_exists}</#if>'?")
+    var answer = confirm ("Are you sure you want to remove '<#if partyname??>${partyname}<#else>${parameters.partyId!}</#if>'?")
     if (answer)
        document.removeInternalOrg.submit();
     else
@@ -31,7 +31,7 @@
 </script>
 <div id="rmvinternalorg" title="Remove Internal Organization">
     <form name="removeInternalOrg" method="post" action="<@ofbizUrl>removeInternalOrg</@ofbizUrl>">
-        <input type="hidden" name="partyId" value="${parameters.partyId?if_exists}"/>
-        <input type="hidden" name="parentpartyId" value="${parameters.parentpartyId?if_exists}"/>
+        <input type="hidden" name="partyId" value="${parameters.partyId!}"/>
+        <input type="hidden" name="parentpartyId" value="${parameters.parentpartyId!}"/>
     </form>
 </div>
\ No newline at end of file
Index: applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionDay.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionDay.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionDay.ftl	(working copy)
@@ -22,7 +22,7 @@
   <div class="screenlet-title-bar">
     <h3>${uiLabelMap.ManufacturingEditCalendarExceptionDayFor}&nbsp;
     <#if (techDataCalendar.description)?has_content>"${(techDataCalendar.get("description",locale))}"</#if>
-    [${uiLabelMap.CommonId} ${techDataCalendar.calendarId?if_exists}]</h3>
+    [${uiLabelMap.CommonId} ${techDataCalendar.calendarId!}]</h3>
   </div>
   <div class="screenlet-body">
     ${listCalendarExceptionDayWrapper.renderFormString(context)}
Index: applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl	(working copy)
@@ -46,19 +46,19 @@
     <tr>
       <td width='26%' align='right' valign='top' class="label">${uiLabelMap.ManufacturingCalendarId}</td>
       <td width="5">&nbsp;</td>
-      <td width="74%" valign="top"><span class="label">${techDataCalendar.calendarId?if_exists}</span> <span class="tooltip">(${uiLabelMap.CommonNotModifRecreat})</span></td>
+      <td width="74%" valign="top"><span class="label">${techDataCalendar.calendarId!}</span> <span class="tooltip">(${uiLabelMap.CommonNotModifRecreat})</span></td>
     </tr>
     <#else>
     <tr>
       <td width='26%' align='right' valign="top" class="label">${uiLabelMap.ManufacturingCalendarId}</td>
       <td width="5">&nbsp;</td>
-      <td width="74%"><input type="text" size="12" name="calendarId" value="${calendarData.calendarId?if_exists}" /></td>
+      <td width="74%"><input type="text" size="12" name="calendarId" value="${calendarData.calendarId!}" /></td>
     </tr>
     </#if>
     <tr>
       <td width='26%' align='right' valign='top' class="label">${uiLabelMap.CommonDescription}</td>
       <td width="5">&nbsp;</td>
-      <td width="74%"><input type="text" size="40" name="description" value="${calendarData.description?if_exists}" /></td>
+      <td width="74%"><input type="text" size="40" name="description" value="${calendarData.description!}" /></td>
     </tr>
     <tr>
       <td width='26%' align='right' valign='top' class="label">${uiLabelMap.ManufacturingCalendarWeekId}</td>
@@ -66,7 +66,7 @@
       <td width="74%">
          <select name="calendarWeekId">
           <#list calendarWeeks as calendarWeek>
-          <option value="${calendarWeek.calendarWeekId}" <#if calendarData?has_content && calendarData.calendarWeekId?default("") == calendarWeek.calendarWeekId>SELECTED</#if>>${(calendarWeek.get("description",locale))?if_exists}</option>
+          <option value="${calendarWeek.calendarWeekId}" <#if calendarData?has_content && calendarData.calendarWeekId?default("") == calendarWeek.calendarWeekId>SELECTED</#if>>${(calendarWeek.get("description",locale))!}</option>
           </#list>
         </select>
       </td>
Index: applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionWeek.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionWeek.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/routing/EditCalendarExceptionWeek.ftl	(working copy)
@@ -22,7 +22,7 @@
   <div class="screenlet-title-bar">
     <h3>${uiLabelMap.ManufacturingEditCalendarExceptionWeekFor}&nbsp;
     <#if (techDataCalendar.description)?has_content>"${(techDataCalendar.get("description",locale))}"</#if>
-    [${uiLabelMap.CommonId} ${techDataCalendar.calendarId?if_exists}]</h3>
+    [${uiLabelMap.CommonId} ${techDataCalendar.calendarId!}]</h3>
   </div>
   <div class="screenlet-body">
     ${listCalendarExceptionWeekWrapper.renderFormString(context)}
Index: applications/manufacturing/webapp/manufacturing/jobshopmgt/CuttingListReport.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/jobshopmgt/CuttingListReport.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/jobshopmgt/CuttingListReport.fo.ftl	(working copy)
@@ -35,7 +35,7 @@
         <fo:page-sequence master-reference="main">
         <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
             <fo:block font-size="16pt">${uiLabelMap.ManufacturingCuttingList}</fo:block>
-            <fo:block font-size="12pt">${uiLabelMap.ProductShipmentPlan}: ${shipmentId} ${uiLabelMap.ManufacturingDeliveryDate}: ${shipment.estimatedShipDate?if_exists}</fo:block>
+            <fo:block font-size="12pt">${uiLabelMap.ProductShipmentPlan}: ${shipmentId} ${uiLabelMap.ManufacturingDeliveryDate}: ${shipment.estimatedShipDate!}</fo:block>
             <fo:block space-after.optimum="10pt" font-size="10pt">
             <fo:table>
                 <fo:table-column column-width="60pt"/>
@@ -59,13 +59,13 @@
                     <#list cuttingList as dimension>
                         <fo:table-row>
                             <fo:table-cell padding="2pt" background-color="${dimColor}">
-                                <fo:block>${dimension.width?if_exists}</fo:block>
+                                <fo:block>${dimension.width!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${dimColor}">
-                                <fo:block>${dimension.height?if_exists}</fo:block>
+                                <fo:block>${dimension.height!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${dimColor}">
-                                <fo:block>${dimension.quantity?if_exists}</fo:block>
+                                <fo:block>${dimension.quantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" background-color="${dimColor}">
                                 <fo:block></fo:block>
@@ -84,13 +84,13 @@
                                     <fo:block></fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${product.quantity?if_exists}</fo:block>
+                                    <fo:block>${product.quantity!}</fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${product.product.productId?if_exists}</fo:block>
+                                    <fo:block>${product.product.productId!}</fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell padding="2pt" background-color="${rowColor}">
-                                    <fo:block>${product.product.internalName?if_exists}</fo:block>
+                                    <fo:block>${product.product.internalName!}</fo:block>
                                 </fo:table-cell>
                             </fo:table-row>
                             </#list>
Index: applications/manufacturing/webapp/manufacturing/jobshopmgt/MrpReports.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/jobshopmgt/MrpReports.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/jobshopmgt/MrpReports.ftl	(working copy)
@@ -17,6 +17,6 @@
 under the License.
 -->
 
-<#if mrpName?exists>
-  <h1>${uiLabelMap.ManufacturingMrpName} ${mrpName?if_exists}</h1>
+<#if mrpName??>
+  <h1>${uiLabelMap.ManufacturingMrpName} ${mrpName!}</h1>
 </#if>
\ No newline at end of file
Index: applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl	(working copy)
@@ -22,7 +22,7 @@
   <div class="screenlet-title-bar">
     <#assign task = taskInfo.task>
     <#assign taskForm = taskInfo.taskForm>
-    <h3>${task.workEffortName?if_exists} [${task.workEffortId}]</h3>
+    <h3>${task.workEffortName!} [${task.workEffortId}]</h3>
   </div>
   <div class="screenlet-body">
     ${taskForm.renderFormString(context)}
Index: applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl	(working copy)
@@ -21,11 +21,11 @@
             <fo:list-block provisional-distance-between-starts="40mm">
                 <fo:list-item>
                     <fo:list-item-label><fo:block font-size="12">${uiLabelMap.ManufacturingProductionRunId}</fo:block></fo:list-item-label>
-                    <fo:list-item-body start-indent="body-start()"><fo:block><fo:inline font-size="14" font-weight="bold" space-end="5mm">${productionRunData.workEffortId?if_exists}</fo:inline><#if productionRunData.productionRunName?exists> ${productionRunData.productionRunName}</#if></fo:block></fo:list-item-body>
+                    <fo:list-item-body start-indent="body-start()"><fo:block><fo:inline font-size="14" font-weight="bold" space-end="5mm">${productionRunData.workEffortId!}</fo:inline><#if productionRunData.productionRunName??> ${productionRunData.productionRunName}</#if></fo:block></fo:list-item-body>
                 </fo:list-item>
                 <fo:list-item>
                     <fo:list-item-label><fo:block font-size="12">${uiLabelMap.ProductProductId}</fo:block></fo:list-item-label>
-                    <fo:list-item-body start-indent="body-start()"><fo:block><fo:inline font-size="14" font-weight="bold" space-end="5mm">${productionRunData.productId?if_exists}</fo:inline><#if productionRunData.product.productName?exists> ${productionRunData.product.productName}</#if></fo:block></fo:list-item-body>
+                    <fo:list-item-body start-indent="body-start()"><fo:block><fo:inline font-size="14" font-weight="bold" space-end="5mm">${productionRunData.productId!}</fo:inline><#if productionRunData.product.productName??> ${productionRunData.product.productName}</#if></fo:block></fo:list-item-body>
                 </fo:list-item>
             </fo:list-block>
             <fo:block><fo:leader leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.1mm" color="black"/></fo:block>
@@ -38,19 +38,19 @@
                             <fo:list-block provisional-distance-between-starts="50mm">
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingQuantityToProduce}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block>${productionRunData.quantityToProduce?if_exists}</fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block>${productionRunData.quantityToProduce!}</fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item space-after="5mm">
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingQuantityRemaining}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block>${quantityRemaining?if_exists}</fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block>${quantityRemaining!}</fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingEstimatedStartDate}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.estimatedStartDate?exists>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.estimatedStartDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.estimatedStartDate??>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.estimatedStartDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingEstimatedCompletionDate}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.estimatedCompletionDate?exists>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.estimatedCompletionDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.estimatedCompletionDate??>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.estimatedCompletionDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
                                 </fo:list-item>
                             </fo:list-block>
                         </fo:table-cell>
@@ -58,19 +58,19 @@
                             <fo:list-block provisional-distance-between-starts="50mm">
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingQuantityProduced}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block>${productionRunData.quantityProduced?if_exists}</fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block>${productionRunData.quantityProduced!}</fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item space-after="5mm">
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingQuantityRejected}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block>${quantityRejected?if_exists}</fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block>${quantityRejected!}</fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.CommonStartDate}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.actualStartDate?exists>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.actualStartDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.actualStartDate??>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.actualStartDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
                                 </fo:list-item>
                                 <fo:list-item>
                                     <fo:list-item-label><fo:block>${uiLabelMap.ManufacturingActualCompletionDate}</fo:block></fo:list-item-label>
-                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.actualCompletionDate?exists>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.actualCompletionDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
+                                    <fo:list-item-body start-indent="body-start()"><fo:block><#if productionRunData.actualCompletionDate??>${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(productionRunData.actualCompletionDate, "dd/MM/yyyy")}</#if></fo:block></fo:list-item-body>
                                 </fo:list-item>
                             </fo:list-block>
                         </fo:table-cell>
@@ -103,19 +103,19 @@
 
                        <fo:table-row>
                             <fo:table-cell>
-                                <fo:block>${productionRunComponentData.productId?if_exists}</fo:block>
+                                <fo:block>${productionRunComponentData.productId!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunComponentData.internalName?if_exists}</fo:block>
+                                <fo:block>${productionRunComponentData.internalName!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunComponentData.estimatedQuantity?if_exists}</fo:block>
+                                <fo:block>${productionRunComponentData.estimatedQuantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunComponentData.issuedQuantity?if_exists}</fo:block>
+                                <fo:block>${productionRunComponentData.issuedQuantity!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${resQuantityComp?if_exists}</fo:block>
+                                <fo:block>${resQuantityComp!}</fo:block>
                              </fo:table-cell>
                         </fo:table-row>
                     </#list>
@@ -145,19 +145,19 @@
                     <#list productionRunRoutingTasks as productionRunRoutingTask>
                         <fo:table-row>
                             <fo:table-cell>
-                                <fo:block>${productionRunRoutingTask.fixedAssetId?if_exists}</fo:block>
+                                <fo:block>${productionRunRoutingTask.fixedAssetId!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunRoutingTask.workEffortName?if_exists}</fo:block>
+                                <fo:block>${productionRunRoutingTask.workEffortName!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunRoutingTask.description?if_exists}</fo:block>
+                                <fo:block>${productionRunRoutingTask.description!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunRoutingTask.estimatedSetupMillis?if_exists}</fo:block>
+                                <fo:block>${productionRunRoutingTask.estimatedSetupMillis!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell>
-                                <fo:block>${productionRunRoutingTask.estimatedMilliSeconds?if_exists}</fo:block>
+                                <fo:block>${productionRunRoutingTask.estimatedMilliSeconds!}</fo:block>
                             </fo:table-cell>
                         </fo:table-row>
                     </#list>
@@ -181,7 +181,7 @@
                     <#list productionRunContents as productionRunContent>
                         <fo:table-row>
                             <fo:table-cell padding="2pt">
-                                <fo:block>${productionRunContent.contentName?if_exists}</fo:block>
+                                <fo:block>${productionRunContent.contentName!}</fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt">
                                 <fo:block><fo:basic-link background-color="lightblue" external-destination="<@ofbizContentUrl>/content/control/ViewBinaryDataResource?dataResourceId=${productionRunContent.drDataResourceId}</@ofbizContentUrl>">${uiLabelMap.CommonView}</fo:basic-link></fo:block>
Index: applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunCosts.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunCosts.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunCosts.ftl	(working copy)
@@ -21,7 +21,7 @@
   <div class="screenlet">
     <div class="screenlet-title-bar">
       <#assign task = taskCost.task>
-      <h3>${uiLabelMap.ManufacturingActualCosts} ${task.workEffortName?if_exists} [${task.workEffortId}]</h3>
+      <h3>${uiLabelMap.ManufacturingActualCosts} ${task.workEffortName!} [${task.workEffortId}]</h3>
     </div>
     <div class="screenlet-body">
       <#assign costsForm = taskCost.costsForm>
Index: applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl	(working copy)
@@ -28,7 +28,7 @@
   </div>
   <div class="screenlet-body">
       <#list selectedFeatures as selectedFeature>
-         <p>${selectedFeature.productFeatureTypeId} = ${selectedFeature.description?if_exists} [${selectedFeature.productFeatureId}]</p>
+         <p>${selectedFeature.productFeatureTypeId} = ${selectedFeature.description!} [${selectedFeature.productFeatureId}]</p>
        </#list>
 <#else>
 <div class="screenlet">
@@ -79,11 +79,11 @@
                 <#if node.product.isVirtual?default("N") == "Y">
                     ${node.product.isVirtual}
                 </#if>
-                ${(node.ruleApplied.ruleId)?if_exists}
+                ${(node.ruleApplied.ruleId)!}
               </td>
               <td>${node.product.internalName?default("&nbsp;")}</td>
               <td align="right">${node.quantity}</td>
-              <td align="right"><a href="<@ofbizUrl>EditProductBom?productId=${(node.product.productId)?if_exists}&amp;productAssocTypeId=${(node.bomTypeId)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a></td>
+              <td align="right"><a href="<@ofbizUrl>EditProductBom?productId=${(node.product.productId)!}&amp;productAssocTypeId=${(node.bomTypeId)!}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a></td>
             </tr>
             <#-- toggle the row color -->
             <#assign alt_row = !alt_row>
@@ -113,20 +113,20 @@
               <td><a href="/catalog/control/EditProduct?productId=${node.product.productId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${node.product.productId}</a></td>
               <td>${node.product.internalName?default("&nbsp;")}</td>
               <td align="right">${node.quantity}</td>
-              <td align="right">${productData.qoh?if_exists}</td>
-              <td align="right">${node.product.productWeight?if_exists}</td>
-              <#if productData.unitCost?exists && (productData.unitCost > 0)>
-              <td align="right">${productData.unitCost?if_exists}</td>
+              <td align="right">${productData.qoh!}</td>
+              <td align="right">${node.product.productWeight!}</td>
+              <#if productData.unitCost?? && (productData.unitCost > 0)>
+              <td align="right">${productData.unitCost!}</td>
               <#else>
               <td align="right"><a href="/catalog/control/EditProductCosts?productId=${node.product.productId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">NA</a></td>
               </#if>
-              <td align="right">${productData.totalCost?if_exists}</td>
+              <td align="right">${productData.totalCost!}</td>
             </tr>
             <#-- toggle the row color -->
             <#assign alt_row = !alt_row>
           </#list>
           <#--
-          <#if grandTotalCost?exists>
+          <#if grandTotalCost??>
           <tr>
             <td colspan="6" align="right">${grandTotalCost}</td>
           </tr>
Index: applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl	(working copy)
@@ -29,7 +29,7 @@
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
-      <li class="h3">${uiLabelMap.PageTitleEditProductBom} <#if product?exists>${(product.internalName)?if_exists}</#if>&nbsp;[${uiLabelMap.CommonId}&nbsp;${productId?if_exists}]</li>
+      <li class="h3">${uiLabelMap.PageTitleEditProductBom} <#if product??>${(product.internalName)!}</#if>&nbsp;[${uiLabelMap.CommonId}&nbsp;${productId!}]</li>
     </ul>
     <br class="clear"/>
   </div>
@@ -50,20 +50,20 @@
                 <select name="productAssocTypeId" size="1">
                 <#if productAssocTypeId?has_content>
                     <#assign curAssocType = delegator.findOne("ProductAssocType", Static["org.ofbiz.base.util.UtilMisc"].toMap("productAssocTypeId", productAssocTypeId), false)>
-                    <#if curAssocType?exists>
-                        <option selected="selected" value="${(curAssocType.productAssocTypeId)?if_exists}">${(curAssocType.get("description",locale))?if_exists}</option>
-                        <option value="${(curAssocType.productAssocTypeId)?if_exists}"></option>
+                    <#if curAssocType??>
+                        <option selected="selected" value="${(curAssocType.productAssocTypeId)!}">${(curAssocType.get("description",locale))!}</option>
+                        <option value="${(curAssocType.productAssocTypeId)!}"></option>
                     </#if>
                 </#if>
                 <#list assocTypes as assocType>
-                    <option value="${(assocType.productAssocTypeId)?if_exists}">${(assocType.get("description",locale))?if_exists}</option>
+                    <option value="${(assocType.productAssocTypeId)!}">${(assocType.get("description",locale))!}</option>
                 </#list>
                 </select>
             </td>
             <td align="right">${uiLabelMap.ProductProductId}</td>
             <td>&nbsp;</td>
             <td>
-                <@htmlTemplate.lookupField value="${productId?if_exists}" formName="searchform" name="productId" id="productId" fieldFormName="LookupProduct"/>
+                <@htmlTemplate.lookupField value="${productId!}" formName="searchform" name="productId" id="productId" fieldFormName="LookupProduct"/>
                 <span><a href="javascript:document.searchform.submit();" class="buttontext">${uiLabelMap.ManufacturingShowBOMAssocs}</a></span>
             </td>
         </tr>
@@ -82,7 +82,7 @@
     </form>
     <hr />
     <form action="<@ofbizUrl>UpdateProductBom</@ofbizUrl>" method="post" name="editProductAssocForm">
-    <#if !(productAssoc?exists)>
+    <#if !(productAssoc??)>
         <input type="hidden" name="UPDATE_MODE" value="CREATE"/>
         <table class="basic-table" cellspacing="0">
           <tr>
@@ -92,13 +92,13 @@
                 <select name="productAssocTypeId" size="1">
                 <#if productAssocTypeId?has_content>
                     <#assign curAssocType = delegator.findOne("ProductAssocType", Static["org.ofbiz.base.util.UtilMisc"].toMap("productAssocTypeId", productAssocTypeId), false)>
-                    <#if curAssocType?exists>
-                        <option selected="selected" value="${(curAssocType.productAssocTypeId)?if_exists}">${(curAssocType.get("description",locale))?if_exists}</option>
-                        <option value="${(curAssocType.productAssocTypeId)?if_exists}"></option>
+                    <#if curAssocType??>
+                        <option selected="selected" value="${(curAssocType.productAssocTypeId)!}">${(curAssocType.get("description",locale))!}</option>
+                        <option value="${(curAssocType.productAssocTypeId)!}"></option>
                     </#if>
                 </#if>
                 <#list assocTypes as assocType>
-                    <option value="${(assocType.productAssocTypeId)?if_exists}">${(assocType.get("description",locale))?if_exists}</option>
+                    <option value="${(assocType.productAssocTypeId)!}">${(assocType.get("description",locale))!}</option>
                 </#list>
                 </select>
             </td>
@@ -107,14 +107,14 @@
             <td align="right">${uiLabelMap.ProductProductId}</td>
             <td>&nbsp;</td>
             <td>
-                <@htmlTemplate.lookupField value="${productId?if_exists}" formName="editProductAssocForm" name="productId" id="productId2" fieldFormName="LookupProduct"/>
+                <@htmlTemplate.lookupField value="${productId!}" formName="editProductAssocForm" name="productId" id="productId2" fieldFormName="LookupProduct"/>
             </td>
           </tr>
           <tr>
             <td align="right">${uiLabelMap.ManufacturingProductIdTo}</td>
             <td>&nbsp;</td>
             <td>
-                <@htmlTemplate.lookupField value="${productIdTo?if_exists}" formName="editProductAssocForm" name="productIdTo" id="productIdTo" fieldFormName="LookupProduct"/>
+                <@htmlTemplate.lookupField value="${productIdTo!}" formName="editProductAssocForm" name="productIdTo" id="productIdTo" fieldFormName="LookupProduct"/>
             </td>
           </tr>
           <tr>
@@ -128,30 +128,30 @@
     <#else>
         <#assign curProductAssocType = productAssoc.getRelatedOne("ProductAssocType", true)>
         <input type="hidden" name="UPDATE_MODE" value="UPDATE"/>
-        <input type="hidden" name="productId" value="${productId?if_exists}"/>
-        <input type="hidden" name="productIdTo" value="${productIdTo?if_exists}"/>
-        <input type="hidden" name="productAssocTypeId" value="${productAssocTypeId?if_exists}"/>
-        <input type="hidden" name="fromDate" value="${fromDate?if_exists}"/>
+        <input type="hidden" name="productId" value="${productId!}"/>
+        <input type="hidden" name="productIdTo" value="${productIdTo!}"/>
+        <input type="hidden" name="productAssocTypeId" value="${productAssocTypeId!}"/>
+        <input type="hidden" name="fromDate" value="${fromDate!}"/>
         <table class="basic-table" cellspacing="0">
           <tr>
             <td align="right">${uiLabelMap.ProductProductId}</td>
             <td>&nbsp;</td>
-            <td>${productId?if_exists}</td>
+            <td>${productId!}</td>
           </tr>
           <tr>
             <td align="right">${uiLabelMap.ManufacturingProductIdTo}</td>
             <td>&nbsp;</td>
-            <td>${productIdTo?if_exists}</td>
+            <td>${productIdTo!}</td>
           </tr>
           <tr>
             <td align="right">${uiLabelMap.ManufacturingBomType}</td>
             <td>&nbsp;</td>
-            <td><#if curProductAssocType?exists>${(curProductAssocType.get("description",locale))?if_exists}<#else> ${productAssocTypeId?if_exists}</#if></td>
+            <td><#if curProductAssocType??>${(curProductAssocType.get("description",locale))!}<#else> ${productAssocTypeId!}</#if></td>
           </tr>
           <tr>
             <td align="right">${uiLabelMap.CommonFromDate}</td>
             <td>&nbsp;</td>
-            <td>${fromDate?if_exists}</td>
+            <td>${fromDate!}</td>
           </tr>
     </#if>
     <tr>
@@ -159,9 +159,9 @@
         <td>&nbsp;</td>
         <td width="74%">
             <#if useValues> 
-              <#assign value= productAssoc.thruDate?if_exists>
+              <#assign value= productAssoc.thruDate!>
             <#else>
-              <#assign value= request.getParameter("thruDate")?if_exists>
+              <#assign value= request.getParameter("thruDate")!>
             </#if>
             <@htmlTemplate.renderDateTimeField value="${value!''}" name="thruDate" className="" event="" action="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="30" maxlength="30" id="fromDate_2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
         </td>
@@ -169,27 +169,27 @@
     <tr>
         <td width="26%" align="right">${uiLabelMap.CommonSequenceNum}</td>
         <td>&nbsp;</td>
-        <td width="74%"><input type="text" name="sequenceNum" <#if useValues>value="${(productAssoc.sequenceNum)?if_exists}"<#else>value="${(request.getParameter("sequenceNum"))?if_exists}"</#if> size="5" maxlength="10"/></td>
+        <td width="74%"><input type="text" name="sequenceNum" <#if useValues>value="${(productAssoc.sequenceNum)!}"<#else>value="${(request.getParameter("sequenceNum"))!}"</#if> size="5" maxlength="10"/></td>
     </tr>
     <tr>
         <td width="26%" align="right">${uiLabelMap.ManufacturingReason}</td>
         <td>&nbsp;</td>
-        <td width="74%"><input type="text" name="reason" <#if useValues>value="${(productAssoc.reason)?if_exists}"<#else>value="${(request.getParameter("reason"))?if_exists}"</#if> size="60" maxlength="255"/></td>
+        <td width="74%"><input type="text" name="reason" <#if useValues>value="${(productAssoc.reason)!}"<#else>value="${(request.getParameter("reason"))!}"</#if> size="60" maxlength="255"/></td>
     </tr>
     <tr>
         <td width="26%" align="right">${uiLabelMap.ManufacturingInstruction}</td>
         <td>&nbsp;</td>
-        <td width="74%"><input type="text" name="instruction" <#if useValues>value="${(productAssoc.instruction)?if_exists}"<#else>value="${(request.getParameter("instruction"))?if_exists}"</#if> size="60" maxlength="255"/></td>
+        <td width="74%"><input type="text" name="instruction" <#if useValues>value="${(productAssoc.instruction)!}"<#else>value="${(request.getParameter("instruction"))!}"</#if> size="60" maxlength="255"/></td>
     </tr>
     <tr>
         <td width="26%" align="right">${uiLabelMap.ManufacturingQuantity}</td>
         <td>&nbsp;</td>
-        <td width="74%"><input type="text" name="quantity" <#if useValues>value="${(productAssoc.quantity)?if_exists}"<#else>value="${(request.getParameter("quantity"))?if_exists}"</#if> size="10" maxlength="15"/></td>
+        <td width="74%"><input type="text" name="quantity" <#if useValues>value="${(productAssoc.quantity)!}"<#else>value="${(request.getParameter("quantity"))!}"</#if> size="10" maxlength="15"/></td>
     </tr>
     <tr>
         <td width="26%" align="right">${uiLabelMap.ManufacturingScrapFactor}</td>
         <td>&nbsp;</td>
-        <td width="74%"><input type="text" name="scrapFactor" <#if useValues>value="${(productAssoc.scrapFactor)?if_exists}"<#else>value="${(request.getParameter("scrapFactor"))?if_exists}"</#if> size="10" maxlength="15"/></td>
+        <td width="74%"><input type="text" name="scrapFactor" <#if useValues>value="${(productAssoc.scrapFactor)!}"<#else>value="${(request.getParameter("scrapFactor"))!}"</#if> size="10" maxlength="15"/></td>
     </tr>
     <tr>
         <td width="26%" align="right">${uiLabelMap.ManufacturingFormula}</td>
@@ -199,12 +199,12 @@
             <option value="">&nbsp;</option>
             <#assign selectedFormula = "">
             <#if useValues>
-                <#assign selectedFormula = (productAssoc.estimateCalcMethod)?if_exists>
+                <#assign selectedFormula = (productAssoc.estimateCalcMethod)!>
             <#else>
-                <#assign selectedFormula = (request.getParameter("estimateCalcMethod"))?if_exists>
+                <#assign selectedFormula = (request.getParameter("estimateCalcMethod"))!>
             </#if>
             <#list formulae as formula>
-                <option value="${formula.customMethodId}" <#if selectedFormula = formula.customMethodId>selected="selected"</#if>>${formula.get("description",locale)?if_exists}</option>
+                <option value="${formula.customMethodId}" <#if selectedFormula = formula.customMethodId>selected="selected"</#if>>${formula.get("description",locale)!}</option>
             </#list>
             </select>
         </td>
@@ -214,9 +214,9 @@
         <td>&nbsp;</td>
         <td width="74%">
           <#if useValues>
-            <#assign value = productAssoc.routingWorkEffortId?if_exists>
+            <#assign value = productAssoc.routingWorkEffortId!>
           <#else>
-            <#assign value = request.getParameter("routingWorkEffortId")?if_exists>
+            <#assign value = request.getParameter("routingWorkEffortId")!>
           </#if>
           <#if value?has_content>
             <@htmlTemplate.lookupField value="${value}" formName="editProductAssocForm" name="routingWorkEffortId" id="routingWorkEffortId" fieldFormName="LookupRoutingTask"/>
@@ -227,13 +227,13 @@
     </tr>
     <tr>
         <td colspan="2">&nbsp;</td>
-        <td><input type="submit" <#if !(productAssoc?exists)>value="${uiLabelMap.CommonAdd}"<#else>value="${uiLabelMap.CommonEdit}"</#if>/></td>
+        <td><input type="submit" <#if !(productAssoc??)>value="${uiLabelMap.CommonAdd}"<#else>value="${uiLabelMap.CommonEdit}"</#if>/></td>
     </tr>
     </table>
     </form>
   </div>
 </div>
-<#if productId?exists && product?exists>
+<#if productId?? && product??>
 <div class="screenlet">
   <div class="screenlet-title-bar">
     <ul>
@@ -258,26 +258,26 @@
         <td>&nbsp;</td>
       </tr>
     <#assign alt_row = false>
-    <#list assocFromProducts?if_exists as assocFromProduct>
+    <#list assocFromProducts! as assocFromProduct>
     <#assign listToProduct = assocFromProduct.getRelatedOne("AssocProduct", true)>
     <#assign curProductAssocType = assocFromProduct.getRelatedOne("ProductAssocType", true)>
       <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
-        <td><a href="<@ofbizUrl>EditProductBom?productId=${(assocFromProduct.productIdTo)?if_exists}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)?if_exists}#components</@ofbizUrl>" class="buttontext">${(assocFromProduct.productIdTo)?if_exists}</a></td>
-        <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProductBom?productId=${(assocFromProduct.productIdTo)?if_exists}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)?if_exists}#components</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if>&nbsp;</td>
-        <td<#if (assocFromProduct.getTimestamp("fromDate"))?exists && nowDate.before(assocFromProduct.getTimestamp("fromDate"))> class="alert"</#if>>
-        ${(assocFromProduct.fromDate)?if_exists}&nbsp;</td>
-        <td<#if (assocFromProduct.getTimestamp("thruDate"))?exists && nowDate.after(assocFromProduct.getTimestamp("thruDate"))> class="alert"</#if>>
-        ${(assocFromProduct.thruDate)?if_exists}&nbsp;</td>
-        <td>&nbsp;${(assocFromProduct.sequenceNum)?if_exists}</td>
-        <td>&nbsp;${(assocFromProduct.quantity)?if_exists}</td>
-        <td>&nbsp;${(assocFromProduct.scrapFactor)?if_exists}</td>
-        <td>&nbsp;${(assocFromProduct.estimateCalcMethod)?if_exists}</td>
-        <td>&nbsp;${(assocFromProduct.routingWorkEffortId)?if_exists}</td>
+        <td><a href="<@ofbizUrl>EditProductBom?productId=${(assocFromProduct.productIdTo)!}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)!}#components</@ofbizUrl>" class="buttontext">${(assocFromProduct.productIdTo)!}</a></td>
+        <td><#if listToProduct??><a href="<@ofbizUrl>EditProductBom?productId=${(assocFromProduct.productIdTo)!}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)!}#components</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)!}</a></#if>&nbsp;</td>
+        <td<#if (assocFromProduct.getTimestamp("fromDate"))?? && nowDate.before(assocFromProduct.getTimestamp("fromDate"))> class="alert"</#if>>
+        ${(assocFromProduct.fromDate)!}&nbsp;</td>
+        <td<#if (assocFromProduct.getTimestamp("thruDate"))?? && nowDate.after(assocFromProduct.getTimestamp("thruDate"))> class="alert"</#if>>
+        ${(assocFromProduct.thruDate)!}&nbsp;</td>
+        <td>&nbsp;${(assocFromProduct.sequenceNum)!}</td>
+        <td>&nbsp;${(assocFromProduct.quantity)!}</td>
+        <td>&nbsp;${(assocFromProduct.scrapFactor)!}</td>
+        <td>&nbsp;${(assocFromProduct.estimateCalcMethod)!}</td>
+        <td>&nbsp;${(assocFromProduct.routingWorkEffortId)!}</td>
         <td>
-        <a href="<@ofbizUrl>UpdateProductBom?UPDATE_MODE=DELETE&amp;productId=${productId}&amp;productIdTo=${(assocFromProduct.productIdTo)?if_exists}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)?if_exists}&amp;fromDate=${(assocFromProduct.fromDate)?if_exists}&amp;useValues=true</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>
+        <a href="<@ofbizUrl>UpdateProductBom?UPDATE_MODE=DELETE&amp;productId=${productId}&amp;productIdTo=${(assocFromProduct.productIdTo)!}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)!}&amp;fromDate=${(assocFromProduct.fromDate)!}&amp;useValues=true</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>
         </td>
         <td>
-        <a href="<@ofbizUrl>EditProductBom?productId=${productId}&amp;productIdTo=${(assocFromProduct.productIdTo)?if_exists}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)?if_exists}&amp;fromDate=${(assocFromProduct.fromDate)?if_exists}&amp;useValues=true</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a>
+        <a href="<@ofbizUrl>EditProductBom?productId=${productId}&amp;productIdTo=${(assocFromProduct.productIdTo)!}&amp;productAssocTypeId=${(assocFromProduct.productAssocTypeId)!}&amp;fromDate=${(assocFromProduct.fromDate)!}&amp;useValues=true</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a>
         </td>
       </tr>
       <#-- toggle the row color -->
@@ -304,18 +304,18 @@
             <td>&nbsp;</td>
         </tr>
         <#assign alt_row = false>
-        <#list assocToProducts?if_exists as assocToProduct>
+        <#list assocToProducts! as assocToProduct>
         <#assign listToProduct = assocToProduct.getRelatedOne("MainProduct", true)>
         <#assign curProductAssocType = assocToProduct.getRelatedOne("ProductAssocType", true)>
         <tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
-            <td><a href="<@ofbizUrl>EditProductBom?productId=${(assocToProduct.productId)?if_exists}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)?if_exists}#components</@ofbizUrl>" class="buttontext">${(assocToProduct.productId)?if_exists}</a></td>
-<!--                <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if></td> -->
-            <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProductBom?productId=${(assocToProduct.productId)?if_exists}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)?if_exists}#components</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if></td>
-            <td>${(assocToProduct.getTimestamp("fromDate"))?if_exists}&nbsp;</td>
-            <td>${(assocToProduct.getTimestamp("thruDate"))?if_exists}&nbsp;</td>
-            <td>${(assocToProduct.quantity)?if_exists}&nbsp;</td>
+            <td><a href="<@ofbizUrl>EditProductBom?productId=${(assocToProduct.productId)!}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)!}#components</@ofbizUrl>" class="buttontext">${(assocToProduct.productId)!}</a></td>
+<!--                <td><#if listToProduct??><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)!}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)!}</a></#if></td> -->
+            <td><#if listToProduct??><a href="<@ofbizUrl>EditProductBom?productId=${(assocToProduct.productId)!}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)!}#components</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)!}</a></#if></td>
+            <td>${(assocToProduct.getTimestamp("fromDate"))!}&nbsp;</td>
+            <td>${(assocToProduct.getTimestamp("thruDate"))!}&nbsp;</td>
+            <td>${(assocToProduct.quantity)!}&nbsp;</td>
             <td>
-                <a href="<@ofbizUrl>UpdateProductBom?UPDATE_MODE=DELETE&amp;productId=${(assocToProduct.productId)?if_exists}&amp;productIdTo=${(assocToProduct.productIdTo)?if_exists}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)?if_exists}&amp;fromDate=${Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(assocToProduct.getTimestamp("fromDate").toString())}&amp;useValues=true</@ofbizUrl>" class="buttontext">
+                <a href="<@ofbizUrl>UpdateProductBom?UPDATE_MODE=DELETE&amp;productId=${(assocToProduct.productId)!}&amp;productIdTo=${(assocToProduct.productIdTo)!}&amp;productAssocTypeId=${(assocToProduct.productAssocTypeId)!}&amp;fromDate=${Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(assocToProduct.getTimestamp("fromDate").toString())}&amp;useValues=true</@ofbizUrl>" class="buttontext">
                 ${uiLabelMap.CommonDelete}</a>
             </td>
         </tr>
Index: applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl	(working copy)
@@ -46,7 +46,7 @@
                   <#if requestParameters.hideFields?default("N") == "Y">
                     <a href="<@ofbizUrl>FindInventoryEventPlan?hideFields=N${paramList}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonShowLookupFields}</a>
                   <#else>
-                    <#if inventoryList?exists>
+                    <#if inventoryList??>
                         <a href="<@ofbizUrl>FindInventoryEventPlan?hideFields=Y${paramList}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonHideFields}</a>
                     </#if>
                   </#if>
@@ -64,7 +64,7 @@
                     <td width='5%'>&nbsp;</td>
                     <td>
                       <span>
-                        <@htmlTemplate.lookupField value='${requestParameters.productId?if_exists}' formName="lookupinventory" name="productId" id="productId" fieldFormName="LookupProduct"/>
+                        <@htmlTemplate.lookupField value='${requestParameters.productId!}' formName="lookupinventory" name="productId" id="productId" fieldFormName="LookupProduct"/>
                       </span>
                      </td>
                   </tr>
@@ -72,7 +72,7 @@
                     <td width='20%' align='right' class="label">${uiLabelMap.CommonFromDate}</td>
                     <td width='5%'>&nbsp;</td>
                     <td>
-                      <@htmlTemplate.renderDateTimeField name="eventDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.eventDate?if_exists}" size="25" maxlength="30" id="fromDate_2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                      <@htmlTemplate.renderDateTimeField name="eventDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.eventDate!}" size="25" maxlength="30" id="fromDate_2" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     </td>
                   </tr>
                   <tr>
@@ -103,7 +103,7 @@
 <table class="basic-table" cellspacing="0">
   <tr>
     <td width='100%'>
-      <#if inventoryList?exists>
+      <#if inventoryList??>
       <#if 0 < inventoryList?size>
        <#assign rowClass = "alternate-row">
          <table class="basic-table" cellspacing="0">
@@ -149,7 +149,7 @@
         <#assign productTmp = "">
         <#list inventoryList[lowIndex..highIndex-1] as inven>
             <#assign product = inven.getRelatedOne("Product", false)>
-            <#if facilityId?exists && facilityId?has_content>
+            <#if facilityId?? && facilityId?has_content>
             </#if>
             <#if ! product.equals( productTmp )>
                 <#assign quantityAvailableAtDate = 0>
@@ -166,28 +166,28 @@
                         <#assign quantityAvailableAtDate = initialQohEvent.quantity>
                     </#if>
                     <#if initialQohEvent.facilityId?has_content>
-                        <#assign productFacility = delegator.findOne("ProductFacility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", initialQohEvent.facilityId, "productId", inven.productId), false)?if_exists>
+                        <#assign productFacility = delegator.findOne("ProductFacility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", initialQohEvent.facilityId, "productId", inven.productId), false)!>
                     </#if>
                 <#else>
                     <#assign additionalErrorMessage = "No QOH information found, assuming 0.">
                 </#if>
                 <tr bgcolor="lightblue">
                   <th>
-                      <b>[${inven.productId}]</b>&nbsp;&nbsp;${product.internalName?if_exists}
+                      <b>[${inven.productId}]</b>&nbsp;&nbsp;${product.internalName!}
                   </th>
                   <td>
                     <#if productFacility?has_content>
                       <div>
-                      <b>${uiLabelMap.ProductFacility}:</b>&nbsp;${productFacility.facilityId?if_exists}
+                      <b>${uiLabelMap.ProductFacility}:</b>&nbsp;${productFacility.facilityId!}
                       </div>
                       <div>
-                      <b>${uiLabelMap.ProductMinimumStock}:</b>&nbsp;${productFacility.minimumStock?if_exists}
+                      <b>${uiLabelMap.ProductMinimumStock}:</b>&nbsp;${productFacility.minimumStock!}
                       </div>
                       <div>
-                      <b>${uiLabelMap.ProductReorderQuantity}:</b>&nbsp;${productFacility.reorderQuantity?if_exists}
+                      <b>${uiLabelMap.ProductReorderQuantity}:</b>&nbsp;${productFacility.reorderQuantity!}
                       </div>
                       <div>
-                      <b>${uiLabelMap.ProductDaysToShip}:</b>&nbsp;${productFacility.daysToShip?if_exists}
+                      <b>${uiLabelMap.ProductDaysToShip}:</b>&nbsp;${productFacility.daysToShip!}
                       </div>
                       </#if>
                   </td>
@@ -202,7 +202,7 @@
                 </#if>
                 <#list errorEvents as errorEvent>
                 <tr>
-                    <th colspan="7"><font color="red">${errorEvent.eventName?if_exists}</font></td>
+                    <th colspan="7"><font color="red">${errorEvent.eventName!}</font></td>
                 </tr>
                 </#list>
             </#if>
@@ -212,11 +212,11 @@
             <tr class="${rowClass}">
               <td>${MrpEventType.get("description",locale)}</td>
               <td>&nbsp;</td>
-              <td>${inven.eventName?if_exists}</td>
+              <td>${inven.eventName!}</td>
               <td><font <#if inven.isLate?default("N") == "Y">color='red'</#if>>${inven.getString("eventDate")}</font></td>
               <td>&nbsp;</td>
               <td align="right">${inven.getString("quantity")}</td>
-              <td align="right">${quantityAvailableAtDate?if_exists}</td>
+              <td align="right">${quantityAvailableAtDate!}</td>
             </tr>
             <#assign count=count+1>
            </#list>
Index: applications/manufacturing/webapp/manufacturing/reports/PRunsComponentsByFeature.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PRunsComponentsByFeature.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PRunsComponentsByFeature.fo.ftl	(working copy)
@@ -33,13 +33,13 @@
         <fo:static-content flow-name="xsl-region-before">
             <fo:block line-height="10pt" font-size="8pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
                 <#if showLocation == "Y">
-                    <#if mrpName?exists>
+                    <#if mrpName??>
                       Doc.F0
                     <#else>
                       Doc.F2
                     </#if>
                 <#else>
-                    <#if mrpName?exists>
+                    <#if mrpName??>
                       Doc.F1
                     <#else>
                       Doc.F3
@@ -68,7 +68,7 @@
                     <fo:table-row>
                         <fo:table-cell>
                             <fo:block line-height="13pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                              <#if mrpName?exists>
+                              <#if mrpName??>
                                 <fo:inline font-size="10pt">${uiLabelMap.ManufacturingPlan}:</fo:inline>
                                 <fo:inline font-weight="bold" font-size="10pt">${mrpName}</fo:inline>
                               <#else>
@@ -80,7 +80,7 @@
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
                                 <fo:inline font-size="10pt">${uiLabelMap.ProductProductCategory}:</fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt"><#if category?exists>${category.description?if_exists}</#if></fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt"><#if category??>${category.description!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
@@ -100,8 +100,8 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="13pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                                <fo:inline font-size="10pt"><#if featureType?exists>${featureType.get("description",locale)?if_exists}: </#if></fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt"><#if feature.productFeature?exists>${feature.productFeature.description?if_exists}</#if></fo:inline>
+                                <fo:inline font-size="10pt"><#if featureType??>${featureType.get("description",locale)!}: </#if></fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt"><#if feature.productFeature??>${feature.productFeature.description!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
@@ -115,12 +115,12 @@
                     <fo:table-row>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                              <#if mrpName?exists>
+                              <#if mrpName??>
                                 <fo:inline font-size="10pt">${uiLabelMap.ManufacturingPickingPeriod} :</fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt">${mrpName?if_exists}</fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt">${mrpName!}</fo:inline>
                               <#else>
                                 <fo:inline font-size="10pt">${uiLabelMap.ManufacturingPickingDate} :</fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt">${shipment.estimatedShipDate?if_exists}</fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt">${shipment.estimatedShipDate!}</fo:inline>
                               </#if>
                             </fo:block>
                         </fo:table-cell>
@@ -192,7 +192,7 @@
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
-                ${product.product.internalName?if_exists}
+                ${product.product.internalName!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
@@ -203,9 +203,9 @@
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
                 <#if showLocation == "Y">
-                ${product.panelQuantity?if_exists}
+                ${product.panelQuantity!}
                 <#else>
-                    ${product.Location?if_exists}
+                    ${product.Location!}
                 </#if>
             </fo:block>
         </fo:table-cell>
Index: applications/manufacturing/webapp/manufacturing/reports/PRunsProductsStacks.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PRunsProductsStacks.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PRunsProductsStacks.fo.ftl	(working copy)
@@ -254,7 +254,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="10pt"><#if productionRun.location?exists>${productionRun.location.locationSeqId?if_exists}</#if></fo:inline>
+                                <fo:inline font-size="10pt"><#if productionRun.location??>${productionRun.location.locationSeqId!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
@@ -266,7 +266,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="10pt"><#if productionRun.location?exists>${productionRun.location.locationSeqId?if_exists}</#if></fo:inline>
+                                <fo:inline font-size="10pt"><#if productionRun.location??>${productionRun.location.locationSeqId!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
Index: applications/manufacturing/webapp/manufacturing/reports/PackageContentsAndOrder.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PackageContentsAndOrder.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PackageContentsAndOrder.fo.ftl	(working copy)
@@ -288,7 +288,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="10pt">${component.orderItem.selectedAmount?if_exists}</fo:inline>
+                                <fo:inline font-size="10pt">${component.orderItem.selectedAmount!}</fo:inline>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
Index: applications/manufacturing/webapp/manufacturing/reports/PRunsProductsAndOrder.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PRunsProductsAndOrder.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PRunsProductsAndOrder.fo.ftl	(working copy)
@@ -228,7 +228,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="8pt" space-before.optimum="5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="8pt">${productionRun.product.brandName?if_exists}</fo:inline>
+                                <fo:inline font-size="8pt">${productionRun.product.brandName!}</fo:inline>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
@@ -259,7 +259,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="9pt">${productionRun.product.internalName?if_exists}</fo:inline>
+                                <fo:inline font-size="9pt">${productionRun.product.internalName!}</fo:inline>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
@@ -311,7 +311,7 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <fo:inline font-size="12pt">${productionRun.location?if_exists}</fo:inline>
+                                <fo:inline font-size="12pt">${productionRun.location!}</fo:inline>
                             </fo:block>
                         </fo:table-cell>
                         <fo:table-cell>
Index: applications/manufacturing/webapp/manufacturing/reports/PRunsInfoAndOrder.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PRunsInfoAndOrder.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PRunsInfoAndOrder.fo.ftl	(working copy)
@@ -27,7 +27,7 @@
         </fo:simple-page-master>
     </fo:layout-master-set>
 
-<#if productionRuns?exists>
+<#if productionRuns??>
 
 <#list productionRuns as productionRun>
     <#assign componentList = productionRun.componentList>
@@ -187,12 +187,12 @@
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
-                ${product.componentProduct.internalName?if_exists}
+                ${product.componentProduct.internalName!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                ${product.componentProduct.quantityUomId?if_exists}
+                ${product.componentProduct.quantityUomId!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
Index: applications/manufacturing/webapp/manufacturing/reports/PRunsProductsByFeature.fo.ftl
===================================================================
--- applications/manufacturing/webapp/manufacturing/reports/PRunsProductsByFeature.fo.ftl	(revision 1590602)
+++ applications/manufacturing/webapp/manufacturing/reports/PRunsProductsByFeature.fo.ftl	(working copy)
@@ -33,7 +33,7 @@
         <fo:static-content flow-name="xsl-region-before">
             <fo:block line-height="10pt" font-size="8pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
 
-                <#if shipment?exists>
+                <#if shipment??>
                     Doc.E1
                 <#else>
                     Doc.E0
@@ -62,7 +62,7 @@
                     <fo:table-row>
                         <fo:table-cell>
                             <fo:block line-height="13pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <#if shipment?exists>
+                                <#if shipment??>
                                 <fo:inline font-size="10pt">${uiLabelMap.ProductShipmentPlan}:</fo:inline>
                                 <fo:inline font-weight="bold" font-size="10pt">${shipment.shipmentId}</fo:inline>
                                 <#else>
@@ -74,7 +74,7 @@
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
                                 <fo:inline font-size="10pt">${uiLabelMap.ProductProductCategory}:</fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt"><#if category?exists>${category.description?if_exists}</#if></fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt"><#if category??>${category.description!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
@@ -94,8 +94,8 @@
                         </fo:table-cell>
                         <fo:table-cell>
                             <fo:block line-height="13pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                                <fo:inline font-size="10pt"><#if featureType?exists>${featureType.get("description",locale)?if_exists}: </#if></fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt"><#if feature.productFeature?exists>${feature.productFeature.description?if_exists}</#if></fo:inline>
+                                <fo:inline font-size="10pt"><#if featureType??>${featureType.get("description",locale)!}: </#if></fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt"><#if feature.productFeature??>${feature.productFeature.description!}</#if></fo:inline>
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
@@ -109,9 +109,9 @@
                     <fo:table-row>
                         <fo:table-cell>
                             <fo:block line-height="12pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="start">
-                                <#if shipment?exists>
+                                <#if shipment??>
                                 <fo:inline font-size="10pt">${uiLabelMap.ManufacturingEstimatedShipDate} :</fo:inline>
-                                <fo:inline font-weight="bold" font-size="10pt">${shipment.estimatedShipDate?if_exists}</fo:inline>
+                                <fo:inline font-weight="bold" font-size="10pt">${shipment.estimatedShipDate!}</fo:inline>
                                 <#else>
                                 <fo:inline font-size="10pt">${uiLabelMap.ManufacturingPickingPeriod} :</fo:inline>
                                 <fo:inline font-weight="bold" font-size="10pt">${mrpName}</fo:inline>
@@ -201,27 +201,27 @@
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                ${productionRun.product.productHeight?if_exists}
+                ${productionRun.product.productHeight!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                ${productionRun.product.productWidth?if_exists}
+                ${productionRun.product.productWidth!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
-                ${productionRun.product.internalName?if_exists}
+                ${productionRun.product.internalName!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-align="end">
-                ${productionRun.productionRun.quantityToProduce?if_exists}
+                ${productionRun.productionRun.quantityToProduce!}
             </fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-color="black" border-width="1pt">
             <fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always">
-                ${productionRun.product.brandName?if_exists}
+                ${productionRun.product.brandName!}
             </fo:block>
         </fo:table-cell>
     </fo:table-row>
Index: applications/workeffort/webapp/workeffort/find/WorkEffortSearchResults.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/find/WorkEffortSearchResults.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/find/WorkEffortSearchResults.ftl	(working copy)
@@ -58,7 +58,7 @@
           <#assign workEffort = delegator.findOne("WorkEffort", Static["org.ofbiz.base.util.UtilMisc"].toMap("workEffortId", workEffortId), false)>
           <tr>
             <td>
-              <a href="<@ofbizUrl>EditWorkEffort?workEffortId=${workEffortId}</@ofbizUrl>" class="buttontext">${workEffortId} ${(workEffort.workEffortName)?if_exists}</a>
+              <a href="<@ofbizUrl>EditWorkEffort?workEffortId=${workEffortId}</@ofbizUrl>" class="buttontext">${workEffortId} ${(workEffort.workEffortName)!}</a>
             </td>
           </tr>
         </#list>
Index: applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl	(working copy)
@@ -28,7 +28,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.WorkEffortKeywords}</td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}"/>&nbsp;
               ${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if>/>
               ${uiLabelMap.CommonAll}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if>/>
             </div>
@@ -38,7 +38,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.WorkEffortReviews}</td>
           <td valign="middle">
             <div>
-              <input type="text" name="SEARCH_STRING_REVIEW_TEXT" size="40" value="${requestParameters.SEARCH_STRING_REVIEW_TEXT?if_exists}"/>&nbsp;
+              <input type="text" name="SEARCH_STRING_REVIEW_TEXT" size="40" value="${requestParameters.SEARCH_STRING_REVIEW_TEXT!}"/>&nbsp;
             </div>
           </td>
         </tr>
@@ -46,7 +46,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.FormFieldTitle_workEffortId}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.SEARCH_WORK_EFFORT_ID?if_exists}" formName="advToKeyWordSearchForm" name="SEARCH_WORK_EFFORT_ID" id="SEARCH_WORK_EFFORT_ID" fieldFormName="LookupWorkEffort"/>
+              <@htmlTemplate.lookupField value="${requestParameters.SEARCH_WORK_EFFORT_ID!}" formName="advToKeyWordSearchForm" name="SEARCH_WORK_EFFORT_ID" id="SEARCH_WORK_EFFORT_ID" fieldFormName="LookupWorkEffort"/>
             </div>
           </td>
         </tr>
@@ -70,7 +70,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.PartyPartyId}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.partyId?if_exists}" formName="advToKeyWordSearchForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
+              <@htmlTemplate.lookupField value="${requestParameters.partyId!}" formName="advToKeyWordSearchForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
             </div>
           </td>
         </tr>
@@ -91,7 +91,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.WorkEffortProductId1}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.productId_1?if_exists}" formName="advToKeyWordSearchForm" name="productId_1" id="productId_1" fieldFormName="LookupProduct"/>
+              <@htmlTemplate.lookupField value="${requestParameters.productId_1!}" formName="advToKeyWordSearchForm" name="productId_1" id="productId_1" fieldFormName="LookupProduct"/>
             </div>
           </td>
         </tr>
@@ -99,7 +99,7 @@
           <td align="right" valign="middle" class="label">${uiLabelMap.WorkEffortProductId2}</td>
           <td valign="middle">
             <div>
-              <@htmlTemplate.lookupField value="${requestParameters.productId_2?if_exists}" formName="advToKeyWordSearchForm" name="productId_2" id="productId_2" fieldFormName="LookupProduct"/>
+              <@htmlTemplate.lookupField value="${requestParameters.productId_2!}" formName="advToKeyWordSearchForm" name="productId_2" id="productId_2" fieldFormName="LookupProduct"/>
             </div>
           </td>
         </tr>
@@ -109,13 +109,13 @@
             <table class="basic-table" cellspacing="0">
                <tr>
                   <td nowrap="nowrap">
-                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.fromDate?if_exists}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.fromDate!}" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <span>${uiLabelMap.CommonFrom}</span>
                   </td>
                </tr>
                <tr>
                   <td nowrap="nowrap">
-                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.thruDate?if_exists}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                    <@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${requestParameters.thruDate!}" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                     <span>${uiLabelMap.CommonThru}</span>
                   </td>
                </tr>
Index: applications/workeffort/webapp/workeffort/task/mytasks.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/task/mytasks.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/task/mytasks.ftl	(working copy)
@@ -32,10 +32,10 @@
     <#assign alt_row = false>
     <#list tasks as workEffort>
       <tr<#if alt_row> class="alternate-row"</#if>>
-        <td>${(workEffort.estimatedStartDate)?if_exists}</td>
+        <td>${(workEffort.estimatedStartDate)!}</td>
         <td><a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
-        <td>${workEffort.priority?if_exists}</td>
-        <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
+        <td>${workEffort.priority!}</td>
+        <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
       </tr>
       <#assign alt_row = !alt_row>
     </#list>
@@ -57,10 +57,10 @@
       <#assign alt_row = false>
       <#list activities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate)?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate)!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <#-- <td>${workEffort.partyId}</td> -->
           <td>${workEffort.roleTypeId}</td>
           <td><a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
@@ -87,10 +87,10 @@
       <#assign alt_row = false>
       <#list roleActivities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate)?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate)!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <#-- <td>${workEffort.partyId}</td> -->
           <td>${workEffort.roleTypeId}</td>
           <td><a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
@@ -117,10 +117,10 @@
       <#assign alt_row = false>
       <#list groupActivities as workEffort>
         <tr<#if alt_row> class="alternate-row"</#if>>
-          <td>${(workEffort.estimatedStartDate)?if_exists}</td>
-          <td>${workEffort.priority?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists}</td>
-          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))?if_exists}</td>
+          <td>${(workEffort.estimatedStartDate)!}</td>
+          <td>${workEffort.priority!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))!}</td>
+          <td>${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("statusId")), true).get("description",locale))!}</td>
           <td>${workEffort.groupPartyId}</td>
           <#-- <td>${workEffort.roleTypeId}</td> -->
           <td><a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${workEffort.workEffortId}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
Index: applications/workeffort/webapp/workeffort/main.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/main.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/main.ftl	(working copy)
@@ -16,7 +16,7 @@
 specific language governing permissions and limitations
 under the License.
 -->
-<#if (requestAttributes.uiLabelMap)?exists>
+<#if (requestAttributes.uiLabelMap)??>
     <#assign uiLabelMap = requestAttributes.uiLabelMap>
 </#if>
 
Index: applications/workeffort/webapp/workeffort/workeffort/EditWorkEffortDupForm.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/workeffort/EditWorkEffortDupForm.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/workeffort/EditWorkEffortDupForm.ftl	(working copy)
@@ -17,7 +17,7 @@
 under the License.
 -->
         <form action="<@ofbizUrl>DuplicateWorkEffort</@ofbizUrl>" method="post">
-            <input type="hidden" name="oldWorkEffortId" value="${workEffortId?if_exists}"/>
+            <input type="hidden" name="oldWorkEffortId" value="${workEffortId!}"/>
             <div>
                 <span class="label">${uiLabelMap.ProductDuplicateRemoveSelectedWithNewId}</span>
                 <input type="text" size="20" maxlength="20" name="workEffortId"/>&nbsp;<input type="submit" class="smallSubmit" value="${uiLabelMap.CommonDuplicate}!"/>
Index: applications/workeffort/webapp/workeffort/workeffort/EventReminderEmail.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/workeffort/EventReminderEmail.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/workeffort/EventReminderEmail.ftl	(working copy)
@@ -63,7 +63,7 @@
         <tbody>
           <#list partyAssignments as wepa>
             <tr>
-              <td>${wepa.groupName?if_exists}${wepa.firstName?if_exists} ${wepa.lastName?if_exists}</td>
+              <td>${wepa.groupName!}${wepa.firstName!} ${wepa.lastName!}</td>
               <td>${(wepa.getRelatedOne("RoleType", false).description)?default("&nbsp;")}</td>
               <td>${wepa.fromDate?default("&nbsp;")}</td>
               <td>${wepa.thruDate?default("&nbsp;")}</td>
Index: applications/workeffort/webapp/workeffort/calendar/week.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/calendar/week.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/calendar/week.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 <#if periods?has_content>
   <#-- Allow containing screens to specify the URL for creating a new event -->
-  <#if !newCalEventUrl?exists>
+  <#if !newCalEventUrl??>
     <#assign newCalEventUrl = parameters._LAST_VIEW_NAME_>
   </#if>
   <#if (maxConcurrentEntries < 2)>
@@ -36,20 +36,20 @@
     <#if (nowTimestamp >= period.start) && (nowTimestamp <= period.end)><#assign currentPeriod = true/></#if>
   <tr<#if currentPeriod> class="current-period"<#else><#if (period.calendarEntries?size > 0)> class="active-period"</#if></#if>>
     <td class="centered" width="1%">
-      <a href="<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=day&amp;start=${period.start.time?string("#")}${urlParam?if_exists}${addlParam?if_exists}</@ofbizUrl>">${period.start?date?string("EEEE")?cap_first}&nbsp;${period.start?date?string.short}</a><br />
-      <a href="<@ofbizUrl>${newCalEventUrl}?period=week&amp;form=edit&amp;start=${parameters.start?if_exists}&amp;parentTypeId=${parentTypeId?if_exists}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${addlParam?if_exists}${urlParam?if_exists}</@ofbizUrl>">${uiLabelMap.CommonAddNew}</a>
+      <a href="<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=day&amp;start=${period.start.time?string("#")}${urlParam!}${addlParam!}</@ofbizUrl>">${period.start?date?string("EEEE")?cap_first}&nbsp;${period.start?date?string.short}</a><br />
+      <a href="<@ofbizUrl>${newCalEventUrl}?period=week&amp;form=edit&amp;start=${parameters.start!}&amp;parentTypeId=${parentTypeId!}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${addlParam!}${urlParam!}</@ofbizUrl>">${uiLabelMap.CommonAddNew}</a>
     </td>
     <#list period.calendarEntries as calEntry>
-        <#if calEntry.workEffort.actualStartDate?exists>
+        <#if calEntry.workEffort.actualStartDate??>
             <#assign startDate = calEntry.workEffort.actualStartDate>
           <#else>
-            <#assign startDate = calEntry.workEffort.estimatedStartDate?if_exists>
+            <#assign startDate = calEntry.workEffort.estimatedStartDate!>
         </#if>
 
-        <#if calEntry.workEffort.actualCompletionDate?exists>
+        <#if calEntry.workEffort.actualCompletionDate??>
             <#assign completionDate = calEntry.workEffort.actualCompletionDate>
           <#else>
-            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate?if_exists>
+            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate!>
         </#if>
 
         <#if !completionDate?has_content && calEntry.workEffort.actualMilliSeconds?has_content>
Index: applications/workeffort/webapp/workeffort/calendar/day.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/calendar/day.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/calendar/day.ftl	(working copy)
@@ -18,7 +18,7 @@
 -->
 <#if periods?has_content>
   <#-- Allow containing screens to specify the URL for creating a new event -->
-  <#if !newCalEventUrl?exists>
+  <#if !newCalEventUrl??>
     <#assign newCalEventUrl = parameters._LAST_VIEW_NAME_>
   </#if>
   <#if (maxConcurrentEntries < 2)>
@@ -37,19 +37,19 @@
   <tr<#if currentPeriod> class="current-period"<#else><#if (period.calendarEntries?size > 0)> class="active-period"</#if></#if>>
     <td class="label">
       ${period.start?time?string.short}<br />
-      <a href="<@ofbizUrl>${newCalEventUrl}?period=day&amp;form=edit&amp;parentTypeId=${parentTypeId?if_exists}&amp;start=${parameters.start?if_exists}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${urlParam?if_exists}${addlParam?if_exists}</@ofbizUrl>">${uiLabelMap.CommonAddNew}</a>
+      <a href="<@ofbizUrl>${newCalEventUrl}?period=day&amp;form=edit&amp;parentTypeId=${parentTypeId!}&amp;start=${parameters.start!}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${urlParam!}${addlParam!}</@ofbizUrl>">${uiLabelMap.CommonAddNew}</a>
     </td>
       <#list period.calendarEntries as calEntry>
-        <#if calEntry.workEffort.actualStartDate?exists>
+        <#if calEntry.workEffort.actualStartDate??>
             <#assign startDate = calEntry.workEffort.actualStartDate>
           <#else>
-            <#assign startDate = calEntry.workEffort.estimatedStartDate?if_exists>
+            <#assign startDate = calEntry.workEffort.estimatedStartDate!>
         </#if>
 
-        <#if calEntry.workEffort.actualCompletionDate?exists>
+        <#if calEntry.workEffort.actualCompletionDate??>
             <#assign completionDate = calEntry.workEffort.actualCompletionDate>
           <#else>
-            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate?if_exists>
+            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate!>
         </#if>
 
         <#if !completionDate?has_content && calEntry.workEffort.actualMilliSeconds?has_content>
Index: applications/workeffort/webapp/workeffort/calendar/upcoming.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/calendar/upcoming.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/calendar/upcoming.ftl	(working copy)
@@ -33,10 +33,10 @@
           <#list workEfforts as calendarEntry>
             <#assign workEffort = calendarEntry.workEffort>
             <tr<#if alt_row> class="alternate-row"</#if>>
-              <td><#if workEffort.actualStartDate?exists>${workEffort.actualStartDate}<#else>${workEffort.estimatedStartDate}</#if></td>
-              <td><#if workEffort.actualCompletionDate?exists>${workEffort.actualCompletionDate}<#else>${workEffort.estimatedCompletionDate}</#if></td>
+              <td><#if workEffort.actualStartDate??>${workEffort.actualStartDate}<#else>${workEffort.estimatedStartDate}</#if></td>
+              <td><#if workEffort.actualCompletionDate??>${workEffort.actualCompletionDate}<#else>${workEffort.estimatedCompletionDate}</#if></td>
               <td>${workEffort.getRelatedOne("WorkEffortType", false).get("description",locale)}</td>
-              <td class="button-col"><a href="<@ofbizUrl>EditWorkEffort?workEffortId=${workEffort.workEffortId}${addlParam?if_exists}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
+              <td class="button-col"><a href="<@ofbizUrl>EditWorkEffort?workEffortId=${workEffort.workEffortId}${addlParam!}</@ofbizUrl>">${workEffort.workEffortName}</a></td>
             </tr>
             <#assign alt_row = !alt_row>
           </#list>
Index: applications/workeffort/webapp/workeffort/calendar/month.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/calendar/month.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/calendar/month.ftl	(working copy)
@@ -21,7 +21,7 @@
   
 <#if periods?has_content>
   <#-- Allow containing screens to specify the URL for creating a new event -->
-  <#if !newCalEventUrl?exists>
+  <#if !newCalEventUrl??>
     <#assign newCalEventUrl = parameters._LAST_VIEW_NAME_>
   </#if>
 <table cellspacing="0" class="basic-table calendar">
@@ -39,12 +39,12 @@
     <#if indexMod7 = 0>
       <tr>
         <td class="label" ${styleTd}>
-          <a href='<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=week&amp;start=${period.start.time?string("#")}${urlParam?if_exists}${addlParam?if_exists}</@ofbizUrl>'>${uiLabelMap.CommonWeek} ${period.start?date?string("w")}</a>
+          <a href='<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=week&amp;start=${period.start.time?string("#")}${urlParam!}${addlParam!}</@ofbizUrl>'>${uiLabelMap.CommonWeek} ${period.start?date?string("w")}</a>
         </td>
     </#if>
     <td ${styleTd} <#if currentPeriod> class="current-period"<#else><#if (period.calendarEntries?size > 0)> class="active-period"</#if></#if>>
-      <span class="h1"><a href='<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=day&amp;start=${period.start.time?string("#")}${urlParam?if_exists}${addlParam?if_exists}</@ofbizUrl>'>${period.start?date?string("d")?cap_first}</a></span>
-      <a class="add-new" href='<@ofbizUrl>${newCalEventUrl}?period=month&amp;form=edit&amp;start=${parameters.start?if_exists}&amp;parentTypeId=${parentTypeId?if_exists}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${urlParam?if_exists}${addlParam?if_exists}</@ofbizUrl>'>${uiLabelMap.CommonAddNew}</a>
+      <span class="h1"><a href='<@ofbizUrl>${parameters._LAST_VIEW_NAME_}?period=day&amp;start=${period.start.time?string("#")}${urlParam!}${addlParam!}</@ofbizUrl>'>${period.start?date?string("d")?cap_first}</a></span>
+      <a class="add-new" href='<@ofbizUrl>${newCalEventUrl}?period=month&amp;form=edit&amp;start=${parameters.start!}&amp;parentTypeId=${parentTypeId!}&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${urlParam!}${addlParam!}</@ofbizUrl>'>${uiLabelMap.CommonAddNew}</a>
       <br class="clear"/>
 
       <#assign maxNumberOfPersons = 0/>
@@ -71,16 +71,16 @@
       </#if>
       <#if parameters.hideEvents?default("") != "Y">
       <#list period.calendarEntries as calEntry>
-        <#if calEntry.workEffort.actualStartDate?exists>
+        <#if calEntry.workEffort.actualStartDate??>
             <#assign startDate = calEntry.workEffort.actualStartDate>
           <#else>
-            <#assign startDate = calEntry.workEffort.estimatedStartDate?if_exists>
+            <#assign startDate = calEntry.workEffort.estimatedStartDate!>
         </#if>
 
-        <#if calEntry.workEffort.actualCompletionDate?exists>
+        <#if calEntry.workEffort.actualCompletionDate??>
             <#assign completionDate = calEntry.workEffort.actualCompletionDate>
           <#else>
-            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate?if_exists>
+            <#assign completionDate = calEntry.workEffort.estimatedCompletionDate!>
         </#if>
 
         <#if !completionDate?has_content && calEntry.workEffort.actualMilliSeconds?has_content>
@@ -114,8 +114,8 @@
     <td valign="top">
       <table width="100%" cellspacing="0" cellpadding="0" border="0">
         <tr>
-          <td nowrap="nowrap" class="monthdaynumber"><a href='<@ofbizUrl>day?start=${period.start.time?string("#")}<#if eventsParam?has_content>&amp;${eventsParam}</#if>${addlParam?if_exists}</@ofbizUrl>' class="monthdaynumber">${period.start?date?string("d")?cap_first}</a></td>
-          <td align="right"><a href='<@ofbizUrl>EditWorkEffort?workEffortTypeId=EVENT&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${addlParam?if_exists}</@ofbizUrl>' class="add">${uiLabelMap.CommonAddNew}</a>&nbsp;&nbsp;</td>
+          <td nowrap="nowrap" class="monthdaynumber"><a href='<@ofbizUrl>day?start=${period.start.time?string("#")}<#if eventsParam?has_content>&amp;${eventsParam}</#if>${addlParam!}</@ofbizUrl>' class="monthdaynumber">${period.start?date?string("d")?cap_first}</a></td>
+          <td align="right"><a href='<@ofbizUrl>EditWorkEffort?workEffortTypeId=EVENT&amp;currentStatusId=CAL_TENTATIVE&amp;estimatedStartDate=${period.start?string("yyyy-MM-dd HH:mm:ss")}&amp;estimatedCompletionDate=${period.end?string("yyyy-MM-dd HH:mm:ss")}${addlParam!}</@ofbizUrl>' class="add">${uiLabelMap.CommonAddNew}</a>&nbsp;&nbsp;</td>
         </tr>
       </table>
       <#list period.calendarEntries as calEntry>
@@ -132,7 +132,7 @@
               ${calEntry.workEffort.estimatedStartDate?time?string.short}-${calEntry.workEffort.estimatedCompletionDate?time?string.short}
             </#if>
             <br />
-            <a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${calEntry.workEffort.workEffortId}${addlParam?if_exists}</@ofbizUrl>" class="event">${calEntry.workEffort.workEffortName?default("Undefined")}</a>&nbsp;
+            <a href="<@ofbizUrl>WorkEffortSummary?workEffortId=${calEntry.workEffort.workEffortId}${addlParam!}</@ofbizUrl>" class="event">${calEntry.workEffort.workEffortName?default("Undefined")}</a>&nbsp;
           </td>
         </tr>
       </table>
Index: applications/workeffort/webapp/workeffort/calendar/calendarEventContent.ftl
===================================================================
--- applications/workeffort/webapp/workeffort/calendar/calendarEventContent.ftl	(revision 1590602)
+++ applications/workeffort/webapp/workeffort/calendar/calendarEventContent.ftl	(working copy)
@@ -25,7 +25,7 @@
   <#if workOrderItemFulfillments?has_content>
     <#list workOrderItemFulfillments as workOrderItemFulfillment>
       <br/>${uiLabelMap.OrderOrderId}: <a href="/ordermgr/control/orderview?orderId=${workOrderItemFulfillment.orderId}" class="event">${workOrderItemFulfillment.orderId} / ${workOrderItemFulfillment.orderItemSeqId}</a>
-      <#assign orderItemAndShipGroupAssocs = delegator.findByAnd("OrderHeaderItemAndShipGroup", {"orderId", workOrderItemFulfillment.orderId, "orderItemSeqId", workOrderItemFulfillment.orderItemSeqId}, null, false)?if_exists/>
+      <#assign orderItemAndShipGroupAssocs = delegator.findByAnd("OrderHeaderItemAndShipGroup", {"orderId", workOrderItemFulfillment.orderId, "orderItemSeqId", workOrderItemFulfillment.orderItemSeqId}, null, false)!/>
       <#list orderItemAndShipGroupAssocs as orderItemAndShipGroupAssoc>
         <#if orderItemAndShipGroupAssoc.shipByDate?has_content>
           ${uiLabelMap.OrderShipBeforeDate}: ${orderItemAndShipGroupAssoc.shipByDate}
@@ -37,11 +37,11 @@
   <a href="/manufacturing/control/ShowProductionRun?productionRunId=${workEffort.workEffortParentId}" class="event">
     ${workEffort.workEffortParentId} / ${workEffort.workEffortId}
   </a>
-  &nbsp;${workEffort.workEffortName?default("Undefined")}<#if workEffort.reservPersons?exists>&nbsp;Persons:${workEffort.reservPersons}</#if>
+  &nbsp;${workEffort.workEffortName?default("Undefined")}<#if workEffort.reservPersons??>&nbsp;Persons:${workEffort.reservPersons}</#if>
   <#if parentWorkOrderItemFulfillments?has_content>
     <#list parentWorkOrderItemFulfillments as parentWorkOrderItemFulfillment>
       <br/>${uiLabelMap.OrderOrderId}: <a href="/ordermgr/control/orderview?orderId=${parentWorkOrderItemFulfillment.orderId}" class="event">${parentWorkOrderItemFulfillment.orderId} / ${parentWorkOrderItemFulfillment.orderItemSeqId}</a>
-      <#assign orderItemAndShipGroupAssocs = delegator.findByAnd("OrderHeaderItemAndShipGroup", {"orderId", parentWorkOrderItemFulfillment.orderId, "orderItemSeqId", parentWorkOrderItemFulfillment.orderItemSeqId}, null, false)?if_exists/>
+      <#assign orderItemAndShipGroupAssocs = delegator.findByAnd("OrderHeaderItemAndShipGroup", {"orderId", parentWorkOrderItemFulfillment.orderId, "orderItemSeqId", parentWorkOrderItemFulfillment.orderItemSeqId}, null, false)!/>
       <#list orderItemAndShipGroupAssocs as orderItemAndShipGroupAssoc>
         <#if orderItemAndShipGroupAssoc.shipByDate?has_content>
           ${uiLabelMap.OrderShipBeforeDate}: ${orderItemAndShipGroupAssoc.shipByDate}
@@ -51,10 +51,10 @@
   </#if>
 <#else>
   <#-- Allow containing screens to specify the URL for editing an event -->
-  <#if !editCalEventUrl?exists>
+  <#if !editCalEventUrl??>
     <#assign editCalEventUrl = parameters._LAST_VIEW_NAME_>
   </#if>
-  <a href="<@ofbizUrl>${editCalEventUrl}?form=edit&amp;parentTypeId=${parentTypeId?if_exists}&amp;period=${periodType?if_exists}&amp;start=${parameters.start?if_exists}&amp;workEffortId=${workEffort.workEffortId}${addlParam?if_exists}${urlParam?if_exists}</@ofbizUrl>" class="event">
+  <a href="<@ofbizUrl>${editCalEventUrl}?form=edit&amp;parentTypeId=${parentTypeId!}&amp;period=${periodType!}&amp;start=${parameters.start!}&amp;workEffortId=${workEffort.workEffortId}${addlParam!}${urlParam!}</@ofbizUrl>" class="event">
     ${workEffort.workEffortId}
   </a>
   &nbsp;${workEffort.workEffortName?default("")}
Index: applications/commonext/webapp/ofbizsetup/organization/viewcontact.ftl
===================================================================
--- applications/commonext/webapp/ofbizsetup/organization/viewcontact.ftl	(revision 1590602)
+++ applications/commonext/webapp/ofbizsetup/organization/viewcontact.ftl	(working copy)
@@ -62,14 +62,14 @@
                   <div>
                     <#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br /></#if>
                     <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br /></#if>
-                    ${postalAddress.address1?if_exists}<br />
+                    ${postalAddress.address1!}<br />
                     <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if>
-                    ${postalAddress.city?if_exists},
+                    ${postalAddress.city!},
                     <#if postalAddress.stateProvinceGeoId?has_content>
                       <#assign stateProvince = postalAddress.getRelatedOne("StateProvinceGeo", true)>
                       ${stateProvince.abbreviation?default(stateProvince.geoId)}
                     </#if>
-                    ${postalAddress.postalCode?if_exists}
+                    ${postalAddress.postalCode!}
                     <#if postalAddress.countryGeoId?has_content><br />
                       <#assign country = postalAddress.getRelatedOne("CountryGeo", true)>
                       ${country.geoName?default(country.geoId)}
@@ -77,7 +77,7 @@
                   </div>
                   </#if>
                   <#if (postalAddress?has_content && !postalAddress.countryGeoId?has_content) || postalAddress.countryGeoId = "USA">
-                    <#assign addr1 = postalAddress.address1?if_exists>
+                    <#assign addr1 = postalAddress.address1!>
                     <#if addr1?has_content && (addr1.indexOf(" ") > 0)>
                       <#assign addressNum = addr1.substring(0, addr1.indexOf(" "))>
                       <#assign addressOther = addr1.substring(addr1.indexOf(" ")+1)>
@@ -88,12 +88,12 @@
                     <#if contactMechPurposeType?has_content>
                       <#assign popUptitle = contactMechPurposeType.get("description",locale) + uiLabelMap.CommonGeoLocation>
                     </#if>
-                    <a href="javascript:popUp('<@ofbizUrl>geoLocation?geoPointId=${postalAddress.geoPointId}</@ofbizUrl>', '${popUptitle?if_exists}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
+                    <a href="javascript:popUp('<@ofbizUrl>geoLocation?geoPointId=${postalAddress.geoPointId}</@ofbizUrl>', '${popUptitle!}', '450', '550')" class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
                   </#if>
                 <#elseif "TELECOM_NUMBER" = contactMech.contactMechTypeId>
                   <#assign telecomNumber = contactMechMap.telecomNumber>
                   <div>
-                    ${telecomNumber.countryCode?if_exists}
+                    ${telecomNumber.countryCode!}
                     <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if>${telecomNumber.contactNumber?default("000-0000")}
                     <#if partyContactMech.extension?has_content>${uiLabelMap.PartyContactExt}&nbsp;${partyContactMech.extension}</#if>
                     <#if (telecomNumber?has_content && !telecomNumber.countryCode?has_content) || telecomNumber.countryCode = "011">
@@ -103,23 +103,23 @@
                   </div>
                 <#elseif "EMAIL_ADDRESS" = contactMech.contactMechTypeId>
                   <div>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
                     <#--a href="<@ofbizUrl>EditCommunicationEvent?partyIdFrom=${userLogin.partyId}&amp;partyIdTo=${partyId}&amp;communicationEventTypeId=EMAIL_COMMUNICATION&amp;contactMechIdTo=${contactMech.contactMechId}&amp;contactMechTypeId=EMAIL_ADDRESS<#if thisUserPrimaryEmail?has_content>&amp;contactMechIdFrom=${thisUserPrimaryEmail.contactMechId}</#if></@ofbizUrl>" class="buttontext">${uiLabelMap.CommonSendEmail}</a-->
                   </div>
                 <#elseif "WEB_ADDRESS" = contactMech.contactMechTypeId>
                   <div>
-                    ${contactMech.infoString?if_exists}
+                    ${contactMech.infoString!}
                     <#assign openAddress = contactMech.infoString?default("")>
                     <#if !openAddress?starts_with("http") && !openAddress?starts_with("HTTP")><#assign openAddress = "http://" + openAddress></#if>
                     <a target="_blank" href="${openAddress}" class="buttontext">${uiLabelMap.CommonOpenPageNewWindow}</a>
                   </div>
                 <#else>
-                  <div>${contactMech.infoString?if_exists}</div>
+                  <div>${contactMech.infoString!}</div>
                 </#if>
                 <div>(${uiLabelMap.CommonUpdated}:&nbsp;${partyContactMech.fromDate})</div>
                 <#if partyContactMech.thruDate?has_content><div><b>${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${partyContactMech.thruDate}</b></div></#if>
                 <#-- create cust request -->
-                <#if custRequestTypes?exists>
+                <#if custRequestTypes??>
                   <form name="createCustRequestForm" action="<@ofbizUrl>createCustRequest</@ofbizUrl>" method="post" onsubmit="javascript:submitFormDisableSubmits(this)">
                     <input type="hidden" name="partyId" value="${partyId}"/>
                     <input type="hidden" name="fromPartyId" value="${partyId}"/>
@@ -133,7 +133,7 @@
                   </form>
                 </#if>
               </td>
-              <td valign="top"><b>(${partyContactMech.allowSolicitation?if_exists})</b></td>
+              <td valign="top"><b>(${partyContactMech.allowSolicitation!})</b></td>
               <td class="button-col">
                 <#--if security.hasEntityPermission("PARTYMGR", "_UPDATE", session) || userLogin.partyId == partyId>
                   <a href="<@ofbizUrl>editcontactmech?partyId=${partyId}&amp;contactMechId=${contactMech.contactMechId}</@ofbizUrl>">${uiLabelMap.CommonUpdate}</a>
